Build Information
Failed to build swift-openapi-urlsession, reference main (576a65), with Swift 6.3 for Wasm on 20 Apr 2026 10:51:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-openapi-urlsession.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/apple/swift-openapi-urlsession
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 576a65b Disable default `OpenAPIRuntime` traits (#87)
Cloned https://github.com/apple/swift-openapi-urlsession.git
Revision (git rev-parse @):
576a65b4ffb8c12ddad4950dc21eea2ef071bec2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-openapi-urlsession.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/swift-openapi-urlsession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-openapi-runtime
[1/6602] Fetching swift-openapi-runtime
[1256/7645] Fetching swift-openapi-runtime, swift-http-types
[1816/31221] Fetching swift-openapi-runtime, swift-http-types, swift-collections
Fetched https://github.com/apple/swift-http-types from cache (1.30s)
[7989/30178] Fetching swift-openapi-runtime, swift-collections
Fetched https://github.com/apple/swift-openapi-runtime from cache (1.59s)
[1652/106754] Fetching swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections from cache (12.59s)
Fetched https://github.com/apple/swift-nio from cache (12.72s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.11.0 (13.60s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.83s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.08s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.98.0 (1.32s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[620/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.88s)
Fetched https://github.com/apple/swift-system.git from cache (1.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.81s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.84s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.11.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.98.0
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/34] Emitting module InternalCollectionsUtilities
[9/36] Compiling InternalCollectionsUtilities _SortedCollection.swift
[10/36] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[11/36] Compiling InternalCollectionsUtilities String+Padding.swift
[12/36] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[13/36] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[14/36] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[15/36] Emitting module HTTPTypes
[16/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[17/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[19/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[20/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[21/37] Compiling InternalCollectionsUtilities Debugging.swift
[22/37] Compiling InternalCollectionsUtilities Descriptions.swift
[23/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[24/37] Compiling InternalCollectionsUtilities Integer rank.swift
[25/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[26/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[27/37] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/37] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[30/38] Compiling HTTPTypes ISOLatin1String.swift
[31/39] Compiling HTTPTypes HTTPResponse.swift
[32/39] Compiling HTTPTypes HTTPRequest.swift
[33/44] Emitting module ContainersPreview
[34/75] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[35/75] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[36/75] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[37/75] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[38/75] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[39/75] Compiling ContainersPreview RandomAccessContainer.swift
[40/75] Compiling ContainersPreview RangeExpression2.swift
[41/75] Compiling ContainersPreview RangeReplaceableContainer.swift
[42/75] Compiling ContainersPreview Drain+Map.swift
[43/75] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[44/75] Compiling ContainersPreview BorrowingSequence.swift
[45/75] Compiling ContainersPreview BidirectionalContainer.swift
[46/75] Compiling ContainersPreview Container+Filter.swift
[47/75] Compiling ContainersPreview Container+SpanwiseZip.swift
[48/75] Compiling ContainersPreview Container.swift
[49/75] Compiling ContainersPreview ContainerIterator.swift
[50/75] Compiling ContainersPreview DynamicContainer.swift
[51/75] Compiling ContainersPreview MutableContainer.swift
[52/75] Compiling ContainersPreview PermutableContainer.swift
[53/75] Compiling ContainersPreview Drain+Reduce.swift
[54/75] Compiling ContainersPreview Drain.swift
[55/75] Compiling ContainersPreview Producer+Collect.swift
[56/75] Compiling ContainersPreview Producer+Filter.swift
[57/75] Compiling ContainersPreview Producer+Map.swift
[58/75] Compiling ContainersPreview Producer+Reduce.swift
[59/75] Compiling ContainersPreview Producer.swift
[60/75] Compiling ContainersPreview Borrow.swift
[61/75] Compiling ContainersPreview Box.swift
[62/75] Compiling ContainersPreview Inout.swift
[63/75] Compiling ContainersPreview InputSpan.swift
[64/75] Compiling ContainersPreview Shared.swift
[65/75] Compiling ContainersPreview OutputSpan+Extras.swift
[66/75] Compiling ContainersPreview TemporaryAllocation.swift
[67/75] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[68/75] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[69/75] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[71/116] Compiling DequeModule UniqueDeque+Consumption.swift
[72/116] Compiling DequeModule UniqueDeque+Container.swift
[73/116] Compiling DequeModule UniqueDeque+Descriptions.swift
[74/116] Compiling DequeModule UniqueDeque+Equatable.swift
[75/116] Compiling DequeModule UniqueDeque+Experimental.swift
[76/121] Compiling HTTPTypes NIOLock.swift
[77/121] Compiling HTTPTypes HTTPRequest+URL.swift
[78/121] Compiling HTTPTypes HTTPParsedFields.swift
[79/121] Compiling DequeModule _DequeBuffer.swift
[80/121] Compiling DequeModule _DequeBufferHeader.swift
[81/121] Compiling DequeModule RigidDeque+Append.swift
[82/121] Compiling DequeModule RigidDeque+Consumption.swift
[83/121] Compiling DequeModule RigidDeque+Container.swift
[84/121] Compiling DequeModule RigidDeque+Descriptions.swift
[85/121] Compiling DequeModule RigidDeque+Equatable.swift
[86/121] Compiling DequeModule RigidDeque+Experimental.swift
[87/121] Compiling DequeModule RigidDeque+Hashable.swift
[88/121] Compiling DequeModule RigidDeque+Initializers.swift
[89/121] Compiling DequeModule RigidDeque+Insertions.swift
[90/121] Compiling DequeModule RigidDeque+Prepend.swift
[91/121] Compiling DequeModule UniqueDeque+Hashable.swift
[92/121] Compiling DequeModule UniqueDeque+Initializers.swift
[93/121] Compiling DequeModule UniqueDeque+Insertions.swift
[94/121] Compiling DequeModule UniqueDeque+Prepend.swift
[95/121] Compiling DequeModule UniqueDeque+Removals.swift
[96/121] Compiling DequeModule RigidDeque+Removals.swift
[97/121] Compiling DequeModule RigidDeque+Replacements.swift
[98/121] Compiling DequeModule RigidDeque+Testing.swift
[99/121] Compiling DequeModule RigidDeque.swift
[100/121] Compiling DequeModule UniqueDeque+Append.swift
[101/121] Compiling DequeModule Deque+Extras.swift
[102/121] Compiling DequeModule Deque+Hashable.swift
[103/121] Compiling DequeModule Deque+Testing.swift
[104/121] Compiling DequeModule Deque._Storage.swift
[105/121] Compiling DequeModule Deque._UnsafeHandle.swift
[106/121] Compiling DequeModule Deque.swift
[107/121] Compiling DequeModule Deque+Codable.swift
[108/121] Compiling DequeModule Deque+Collection.swift
[109/121] Compiling DequeModule Deque+CustomReflectable.swift
[110/121] Compiling DequeModule Deque+Descriptions.swift
[111/121] Compiling DequeModule Deque+Equatable.swift
[112/121] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[115/121] Compiling HTTPTypes HTTPFields.swift
[117/185] Emitting module DequeModule
[118/185] Compiling OpenAPIRuntime URIParsedTypes.swift
[119/185] Compiling OpenAPIRuntime URIDecoder.swift
[120/185] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[121/185] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[122/185] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[124/186] Emitting module OpenAPIRuntime
[125/186] Compiling OpenAPIRuntime ErrorExtensions.swift
[126/186] Compiling OpenAPIRuntime FoundationExtensions.swift
[127/186] Compiling OpenAPIRuntime ParameterStyles.swift
[128/186] Compiling OpenAPIRuntime ServerVariable.swift
[129/186] Compiling OpenAPIRuntime URLExtensions.swift
[130/186] Compiling OpenAPIRuntime Deprecated.swift
[131/186] Compiling OpenAPIRuntime ClientError.swift
[132/186] Compiling OpenAPIRuntime CodingErrors.swift
[133/186] Compiling OpenAPIRuntime RuntimeError.swift
[134/194] Compiling OpenAPIRuntime ClientTransport.swift
[135/194] Compiling OpenAPIRuntime CurrencyTypes.swift
[136/194] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[137/194] Compiling OpenAPIRuntime HTTPBody.swift
[138/194] Compiling OpenAPIRuntime SendableMetatype.swift
[139/194] Compiling OpenAPIRuntime ServerTransport.swift
[140/194] Compiling OpenAPIRuntime UniversalClient.swift
[141/194] Compiling OpenAPIRuntime UniversalServer.swift
[142/194] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[143/194] Compiling OpenAPIRuntime Acceptable.swift
[144/194] Compiling OpenAPIRuntime Base64EncodedData.swift
[145/194] Compiling OpenAPIRuntime ByteUtilities.swift
[146/194] Compiling OpenAPIRuntime ContentDisposition.swift
[147/194] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[148/194] Compiling OpenAPIRuntime Lock.swift
[149/194] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[150/194] Compiling OpenAPIRuntime OpenAPIValue.swift
[151/194] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[152/194] Compiling OpenAPIRuntime UndocumentedPayload.swift
[153/194] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[154/194] Compiling OpenAPIRuntime CodableExtensions.swift
[155/194] Compiling OpenAPIRuntime Configuration.swift
[156/194] Compiling OpenAPIRuntime Converter+Client.swift
[157/194] Compiling OpenAPIRuntime Converter+Common.swift
[158/194] Compiling OpenAPIRuntime Converter+Server.swift
[159/194] Compiling OpenAPIRuntime Converter.swift
[160/194] Compiling OpenAPIRuntime CurrencyExtensions.swift
[161/194] Compiling OpenAPIRuntime ServerError.swift
[162/194] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[163/194] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[164/194] Compiling OpenAPIRuntime JSONSequenceDecoding.swift
[165/194] Compiling OpenAPIRuntime JSONSequenceEncoding.swift
[166/194] Compiling OpenAPIRuntime ServerSentEvents.swift
[167/194] Compiling OpenAPIRuntime ServerSentEventsDecoding.swift
[168/194] Compiling OpenAPIRuntime ServerSentEventsEncoding.swift
[169/194] Compiling OpenAPIRuntime AsyncSequenceCommon.swift
[170/194] Compiling OpenAPIRuntime URICodeCodingKey.swift
[171/194] Compiling OpenAPIRuntime URICoderConfiguration.swift
[172/194] Compiling OpenAPIRuntime URIEncodedNode.swift
[178/194] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[179/194] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[180/194] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[181/194] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[182/194] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[183/194] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[184/194] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[185/194] Compiling OpenAPIRuntime MultipartValidation.swift
[186/194] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[187/194] Compiling OpenAPIRuntime URIValueFromNodeDecoder.swift
[188/194] Compiling OpenAPIRuntime URIEncoder.swift
[189/194] Compiling OpenAPIRuntime URIValueToNodeEncoder+Keyed.swift
[190/194] Compiling OpenAPIRuntime URIValueToNodeEncoder+Single.swift
[191/194] Compiling OpenAPIRuntime URIValueToNodeEncoder+Unkeyed.swift
[192/194] Compiling OpenAPIRuntime URIValueToNodeEncoder.swift
[193/194] Compiling OpenAPIRuntime URIParser.swift
[194/194] Compiling OpenAPIRuntime URISerializer.swift
[196/202] Compiling OpenAPIURLSession Lock.swift
[197/202] Compiling OpenAPIURLSession URLSession+Extensions.swift
[198/202] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[199/202] Compiling OpenAPIURLSession BidirectionalStreamingURLSessionDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[200/202] Emitting module OpenAPIURLSession
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:67:29: error: cannot find type 'URLSession' in scope
65 |
66 | /// The URLSession used for performing HTTP operations.
67 | public var session: URLSession
| `- error: cannot find type 'URLSession' in scope
68 |
69 | /// Creates a new configuration with the provided session.
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:74:30: error: cannot find type 'URLSession' in scope
72 | /// If none is provided, the system uses the shared URLSession.
73 | /// - httpBodyProcessingMode: The mode used to process HTTP request and response bodies.
74 | public init(session: URLSession = .shared, httpBodyProcessingMode: HTTPBodyProcessingMode = .platformDefault) {
| `- error: cannot find type 'URLSession' in scope
75 | let implementation = httpBodyProcessingMode.implementation
76 | self.init(session: session, implementation: implementation)
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:81:30: error: cannot find type 'URLSession' in scope
79 | /// - Parameter session: The URLSession used for performing HTTP operations.
80 | /// If none is provided, the system uses the shared URLSession.
81 | public init(session: URLSession = .shared) { self.init(session: session, implementation: .platformDefault) }
| `- error: cannot find type 'URLSession' in scope
82 | /// Specifies the mode in which HTTP request and response bodies are processed.
83 | public struct HTTPBodyProcessingMode: Sendable {
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:103:23: error: cannot find type 'URLSession' in scope
101 | var implementation: Implementation
102 |
103 | init(session: URLSession = .shared, implementation: Implementation = .platformDefault) {
| `- error: cannot find type 'URLSession' in scope
104 | self.session = session
105 | if case .streaming = implementation {
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:157:28: error: cannot find type 'URLResponse' in scope
155 |
156 | extension HTTPBody.Length {
157 | init(from urlResponse: URLResponse) {
| `- error: cannot find type 'URLResponse' in scope
158 | if urlResponse.expectedContentLength == -1 {
159 | self = .unknown
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:173:26: error: cannot find type 'URLResponse' in scope
171 |
172 | /// Returned `URLResponse` could not be converted to `HTTPURLResponse`.
173 | case notHTTPResponse(URLResponse)
| `- error: cannot find type 'URLResponse' in scope
174 |
175 | /// Returned `HTTPURLResponse` has an invalid status code
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:176:36: error: cannot find type 'HTTPURLResponse' in scope
174 |
175 | /// Returned `HTTPURLResponse` has an invalid status code
176 | case invalidResponseStatusCode(HTTPURLResponse)
| `- error: cannot find type 'HTTPURLResponse' in scope
177 |
178 | /// Returned `URLResponse` was nil
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:186:25: error: cannot find type 'URLResponse' in scope
184 |
185 | extension HTTPResponse {
186 | init(_ urlResponse: URLResponse) throws {
| `- error: cannot find type 'URLResponse' in scope
187 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
188 | throw URLSessionTransportError.notHTTPResponse(urlResponse)
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:205:11: error: cannot find type 'URLRequest' in scope
203 | }
204 |
205 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
206 | init(_ request: HTTPRequest, baseURL: URL) throws {
207 | guard var baseUrlComponents = URLComponents(string: baseURL.absoluteString),
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:315:11: error: cannot find type 'URLSession' in scope
313 | }
314 |
315 | extension URLSession {
| `- error: cannot find type 'URLSession' in scope
316 | func bufferedRequest(for request: HTTPRequest, baseURL: URL, requestBody: HTTPBody?) async throws -> (
317 | HTTPResponse, HTTPBody?
[201/202] Compiling OpenAPIURLSession URLSessionTransport.swift
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:67:29: error: cannot find type 'URLSession' in scope
65 |
66 | /// The URLSession used for performing HTTP operations.
67 | public var session: URLSession
| `- error: cannot find type 'URLSession' in scope
68 |
69 | /// Creates a new configuration with the provided session.
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:74:30: error: cannot find type 'URLSession' in scope
72 | /// If none is provided, the system uses the shared URLSession.
73 | /// - httpBodyProcessingMode: The mode used to process HTTP request and response bodies.
74 | public init(session: URLSession = .shared, httpBodyProcessingMode: HTTPBodyProcessingMode = .platformDefault) {
| `- error: cannot find type 'URLSession' in scope
75 | let implementation = httpBodyProcessingMode.implementation
76 | self.init(session: session, implementation: implementation)
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:81:30: error: cannot find type 'URLSession' in scope
79 | /// - Parameter session: The URLSession used for performing HTTP operations.
80 | /// If none is provided, the system uses the shared URLSession.
81 | public init(session: URLSession = .shared) { self.init(session: session, implementation: .platformDefault) }
| `- error: cannot find type 'URLSession' in scope
82 | /// Specifies the mode in which HTTP request and response bodies are processed.
83 | public struct HTTPBodyProcessingMode: Sendable {
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:103:23: error: cannot find type 'URLSession' in scope
101 | var implementation: Implementation
102 |
103 | init(session: URLSession = .shared, implementation: Implementation = .platformDefault) {
| `- error: cannot find type 'URLSession' in scope
104 | self.session = session
105 | if case .streaming = implementation {
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:157:28: error: cannot find type 'URLResponse' in scope
155 |
156 | extension HTTPBody.Length {
157 | init(from urlResponse: URLResponse) {
| `- error: cannot find type 'URLResponse' in scope
158 | if urlResponse.expectedContentLength == -1 {
159 | self = .unknown
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:173:26: error: cannot find type 'URLResponse' in scope
171 |
172 | /// Returned `URLResponse` could not be converted to `HTTPURLResponse`.
173 | case notHTTPResponse(URLResponse)
| `- error: cannot find type 'URLResponse' in scope
174 |
175 | /// Returned `HTTPURLResponse` has an invalid status code
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:176:36: error: cannot find type 'HTTPURLResponse' in scope
174 |
175 | /// Returned `HTTPURLResponse` has an invalid status code
176 | case invalidResponseStatusCode(HTTPURLResponse)
| `- error: cannot find type 'HTTPURLResponse' in scope
177 |
178 | /// Returned `URLResponse` was nil
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:186:25: error: cannot find type 'URLResponse' in scope
184 |
185 | extension HTTPResponse {
186 | init(_ urlResponse: URLResponse) throws {
| `- error: cannot find type 'URLResponse' in scope
187 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
188 | throw URLSessionTransportError.notHTTPResponse(urlResponse)
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:205:11: error: cannot find type 'URLRequest' in scope
203 | }
204 |
205 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
206 | init(_ request: HTTPRequest, baseURL: URL) throws {
207 | guard var baseUrlComponents = URLComponents(string: baseURL.absoluteString),
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:315:11: error: cannot find type 'URLSession' in scope
313 | }
314 |
315 | extension URLSession {
| `- error: cannot find type 'URLSession' in scope
316 | func bufferedRequest(for request: HTTPRequest, baseURL: URL, requestBody: HTTPBody?) async throws -> (
317 | HTTPResponse, HTTPBody?
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:81:99: error: cannot infer contextual base in reference to member 'platformDefault'
79 | /// - Parameter session: The URLSession used for performing HTTP operations.
80 | /// If none is provided, the system uses the shared URLSession.
81 | public init(session: URLSession = .shared) { self.init(session: session, implementation: .platformDefault) }
| `- error: cannot infer contextual base in reference to member 'platformDefault'
82 | /// Specifies the mode in which HTTP request and response bodies are processed.
83 | public struct HTTPBodyProcessingMode: Sendable {
/host/spi-builder-workspace/Sources/OpenAPIURLSession/URLSessionTransport.swift:187:50: error: cannot find type 'HTTPURLResponse' in scope
185 | extension HTTPResponse {
186 | init(_ urlResponse: URLResponse) throws {
187 | guard let httpResponse = urlResponse as? HTTPURLResponse else {
| `- error: cannot find type 'HTTPURLResponse' in scope
188 | throw URLSessionTransportError.notHTTPResponse(urlResponse)
189 | }
[202/202] Compiling OpenAPIURLSession BufferedStream.swift
BUILD FAILURE 6.3 wasm