The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-openapi-urlsession, reference 1.3.0 (576a65), with Swift 6.2 for Wasm on 20 Apr 2026 10:52:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-openapi-urlsession.git
Reference: 1.3.0
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
 * tag               1.3.0      -> FETCH_HEAD
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 1.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-openapi-urlsession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-nio
[1/23576] Fetching swift-collections
[473/24619] Fetching swift-collections, swift-http-types
[2257/31221] Fetching swift-collections, swift-http-types, swift-openapi-runtime
[9297/114399] Fetching swift-collections, swift-http-types, swift-openapi-runtime, swift-nio
Fetched https://github.com/apple/swift-http-types from cache (3.01s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (3.02s)
Fetched https://github.com/apple/swift-collections from cache (3.11s)
[36599/83178] Fetching swift-nio
Fetched https://github.com/apple/swift-nio from cache (11.82s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.11.0 (12.69s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.80s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.24s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.98.0 (1.55s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1257/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.84s)
Fetched https://github.com/apple/swift-system.git from cache (0.93s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.81s)
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-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-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-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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
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] Compiling HTTPTypes ISOLatin1String.swift
[9/35] Compiling HTTPTypes HTTPResponse.swift
[10/35] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[11/35] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[12/35] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/35] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/37] Compiling InternalCollectionsUtilities String+Padding.swift
[15/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[16/37] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[17/37] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[18/37] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[19/37] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[20/37] Compiling InternalCollectionsUtilities Span+Extras.swift
[21/37] Compiling InternalCollectionsUtilities Integer rank.swift
[22/37] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/37] Compiling InternalCollectionsUtilities UInt+reversed.swift
[24/37] Emitting module InternalCollectionsUtilities
[25/37] Compiling HTTPTypes HTTPField.swift
[26/37] Compiling HTTPTypes HTTPFieldName.swift
[27/37] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[28/37] Emitting module HTTPTypes
[31/37] Compiling HTTPTypes HTTPRequest.swift
[32/37] Compiling InternalCollectionsUtilities _SortedCollection.swift
[33/37] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[35/38] Compiling HTTPTypes HTTPParsedFields.swift
[36/38] Compiling HTTPTypes HTTPRequest+URL.swift
[37/38] Compiling HTTPTypes NIOLock.swift
[38/71] Compiling ContainersPreview Drain+Reduce.swift
[39/71] Compiling ContainersPreview Drain.swift
[40/71] Compiling ContainersPreview Producer+Collect.swift
[41/71] Compiling ContainersPreview Producer+Filter.swift
[42/71] Compiling ContainersPreview RandomAccessContainer.swift
[43/71] Compiling ContainersPreview RangeExpression2.swift
[44/71] Compiling ContainersPreview RangeReplaceableContainer.swift
[45/71] Compiling ContainersPreview Drain+Map.swift
[46/75] Compiling ContainersPreview BorrowingSequence+Utilities.swift
[47/75] Compiling ContainersPreview BorrowingSequence.swift
[48/75] Compiling ContainersPreview BidirectionalContainer.swift
[49/75] Compiling ContainersPreview Container+Filter.swift
[50/75] Compiling ContainersPreview Container+SpanwiseZip.swift
[51/75] Compiling ContainersPreview Container.swift
[52/75] Compiling ContainersPreview ContainerIterator.swift
[53/75] Compiling ContainersPreview DynamicContainer.swift
[54/75] Compiling ContainersPreview MutableContainer.swift
[55/75] Compiling ContainersPreview PermutableContainer.swift
[56/75] Compiling ContainersPreview Producer+Map.swift
[57/75] Compiling ContainersPreview Producer+Reduce.swift
[58/75] Compiling ContainersPreview Producer.swift
[59/75] Compiling ContainersPreview Borrow.swift
[60/75] Emitting module ContainersPreview
[61/75] Compiling ContainersPreview BorrowingIteratorProtocol+Map.swift
[62/75] Compiling ContainersPreview BorrowingIteratorProtocol+Reduce.swift
[63/75] Compiling ContainersPreview BorrowingIteratorProtocol+SpanwiseZip.swift
[64/75] Compiling ContainersPreview BorrowingIteratorProtocol.swift
[65/75] Compiling ContainersPreview BorrowingSequence+Standard Conformances.swift
[66/75] Compiling ContainersPreview OutputSpan+Extras.swift
[67/75] Compiling ContainersPreview TemporaryAllocation.swift
[68/75] Compiling ContainersPreview BorrowingIteratorProtocol+Copy.swift
[69/75] Compiling ContainersPreview BorrowingIteratorProtocol+ElementsEqual.swift
[70/75] Compiling ContainersPreview BorrowingIteratorProtocol+Filter.swift
[71/75] Compiling ContainersPreview Box.swift
[72/75] Compiling ContainersPreview Inout.swift
[73/75] Compiling ContainersPreview InputSpan.swift
[74/75] Compiling ContainersPreview Shared.swift
[76/76] Compiling HTTPTypes HTTPFields.swift
[78/180] Compiling OpenAPIRuntime CurrencyTypes.swift
[79/180] Compiling OpenAPIRuntime ErrorHandlingMiddleware.swift
[80/180] Compiling OpenAPIRuntime HTTPBody.swift
[81/180] Compiling OpenAPIRuntime SendableMetatype.swift
[82/180] Compiling OpenAPIRuntime ServerTransport.swift
[83/180] Compiling OpenAPIRuntime ErrorExtensions.swift
[84/180] Compiling OpenAPIRuntime FoundationExtensions.swift
[85/180] Compiling OpenAPIRuntime ParameterStyles.swift
[86/180] Compiling OpenAPIRuntime ServerVariable.swift
[87/180] Compiling OpenAPIRuntime URLExtensions.swift
[88/180] Compiling OpenAPIRuntime UniversalClient.swift
[89/180] Compiling OpenAPIRuntime UniversalServer.swift
[90/180] Compiling OpenAPIRuntime MultipartBoundaryGenerator.swift
[91/180] Compiling OpenAPIRuntime ServerError.swift
[92/180] Compiling OpenAPIRuntime JSONLinesDecoding.swift
[93/180] Compiling OpenAPIRuntime JSONLinesEncoding.swift
[94/185] Compiling OpenAPIRuntime OpenAPIMIMEType.swift
[95/185] Compiling OpenAPIRuntime OpenAPIValue.swift
[96/185] Compiling OpenAPIRuntime PrettyStringConvertible.swift
[97/185] Compiling OpenAPIRuntime UndocumentedPayload.swift
[98/185] Compiling OpenAPIRuntime WarningSuppressingAnnotations.swift
[99/185] Compiling OpenAPIRuntime CodableExtensions.swift
[100/185] Compiling OpenAPIRuntime Acceptable.swift
[101/185] Compiling OpenAPIRuntime Base64EncodedData.swift
[102/185] Compiling OpenAPIRuntime ByteUtilities.swift
[103/185] Compiling OpenAPIRuntime ContentDisposition.swift
[104/185] Compiling OpenAPIRuntime CopyOnWriteBox.swift
[105/185] Compiling OpenAPIRuntime Lock.swift
[106/185] Compiling OpenAPIRuntime Deprecated.swift
[107/185] Compiling OpenAPIRuntime ClientError.swift
[108/185] Compiling OpenAPIRuntime CodingErrors.swift
[109/185] Compiling OpenAPIRuntime RuntimeError.swift
[110/185] Compiling OpenAPIRuntime ClientTransport.swift
[111/185] Compiling OpenAPIRuntime Configuration.swift
[112/185] Compiling OpenAPIRuntime Converter+Client.swift
[113/185] Compiling OpenAPIRuntime Converter+Common.swift
[114/185] Compiling OpenAPIRuntime Converter+Server.swift
[115/185] Compiling OpenAPIRuntime Converter.swift
[116/185] Compiling OpenAPIRuntime CurrencyExtensions.swift
[117/185] Emitting module DequeModule
[127/193] Compiling OpenAPIRuntime URICodeCodingKey.swift
[128/193] Compiling OpenAPIRuntime URICoderConfiguration.swift
[129/193] Compiling OpenAPIRuntime URIEncodedNode.swift
[130/193] Compiling OpenAPIRuntime URIParsedTypes.swift
[131/193] Compiling OpenAPIRuntime URIDecoder.swift
[132/193] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Keyed.swift
[133/193] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Single.swift
[134/193] Compiling OpenAPIRuntime URIValueFromNodeDecoder+Unkeyed.swift
[135/193] Emitting module OpenAPIRuntime
[154/193] Compiling OpenAPIRuntime MultipartBytesToFramesSequence.swift
[155/193] Compiling OpenAPIRuntime MultipartFramesToBytesSequence.swift
[156/193] Compiling OpenAPIRuntime MultipartFramesToRawPartsSequence.swift
[157/193] Compiling OpenAPIRuntime MultipartInternalTypes.swift
[158/193] Compiling OpenAPIRuntime MultipartPublicTypes.swift
[159/193] Compiling OpenAPIRuntime MultipartPublicTypesExtensions.swift
[160/193] Compiling OpenAPIRuntime MultipartRawPartsToFramesSequence.swift
[161/193] Compiling OpenAPIRuntime MultipartValidation.swift
[162/193] Compiling OpenAPIRuntime OpenAPIMIMEType+Multipart.swift
[175/193] Compiling DequeModule UniqueDeque+Replacements.swift
[176/193] Compiling DequeModule UniqueDeque.swift
[177/193] Compiling DequeModule _DequeSlot.swift
[178/193] Compiling DequeModule _UnsafeDequeHandle.swift
[179/193] Compiling DequeModule _UnsafeDequeSegments.swift
[180/193] Compiling OpenAPIRuntime AsyncSequenceCommon.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 BidirectionalStreamingURLSessionDelegate.swift
[197/202] Compiling OpenAPIURLSession Lock.swift
[198/202] Compiling OpenAPIURLSession URLSession+Extensions.swift
[199/202] Compiling OpenAPIURLSession HTTPBodyOutputStreamBridge.swift
[200/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 |         }
[201/202] Compiling OpenAPIURLSession BufferedStream.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[202/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?
BUILD FAILURE 6.2 wasm