@@ -28,7 +28,6 @@ public protocol OutputProtocol: Sendable, ~Copyable {
2828
2929 #if SubprocessSpan
3030 /// Convert the output from span to expected output type
31- @available ( SubprocessSpan, * )
3231 func output( from span: RawSpan ) throws -> OutputType
3332 #endif
3433
@@ -113,7 +112,6 @@ public struct StringOutput<Encoding: Unicode.Encoding>: OutputProtocol {
113112 public let maxSize : Int
114113
115114 #if SubprocessSpan
116- @available ( SubprocessSpan, * )
117115 public func output( from span: RawSpan ) throws -> String ? {
118116 // FIXME: Span to String
119117 var array : [ UInt8 ] = [ ]
@@ -153,7 +151,6 @@ public struct BytesOutput: OutputProtocol {
153151 }
154152
155153 #if SubprocessSpan
156- @available ( SubprocessSpan, * )
157154 public func output( from span: RawSpan ) throws -> [ UInt8 ] {
158155 fatalError ( " Not implemented " )
159156 }
@@ -227,7 +224,6 @@ extension OutputProtocol where Self == BytesOutput {
227224
228225// MARK: - Span Default Implementations
229226#if SubprocessSpan
230- @available ( SubprocessSpan, * )
231227extension OutputProtocol {
232228 public func output( from buffer: some Sequence < UInt8 > ) throws -> OutputType {
233229 guard let rawBytes: UnsafeRawBufferPointer = buffer as? UnsafeRawBufferPointer else {
@@ -281,7 +277,6 @@ extension OutputProtocol where OutputType == Void {
281277
282278 #if SubprocessSpan
283279 /// Convert the output from Data to expected output type
284- @available ( SubprocessSpan, * )
285280 public func output( from span: RawSpan ) throws {
286281 // noop
287282 }
@@ -293,7 +288,6 @@ extension OutputProtocol where OutputType == Void {
293288}
294289
295290#if SubprocessSpan
296- @available ( SubprocessSpan, * )
297291extension OutputProtocol {
298292 #if os(Windows)
299293 internal func output( from data: [ UInt8 ] ) throws -> OutputType {
0 commit comments