The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RequestSpec, reference 0.2.0 (f3727f), with Swift 6.2 for Wasm on 16 Nov 2025 00:46:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ibrahimcetin/RequestSpec.git
Reference: 0.2.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/ibrahimcetin/RequestSpec
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at f3727f1 Update README
Cloned https://github.com/ibrahimcetin/RequestSpec.git
Revision (git rev-parse @):
f3727f191a751f430f4cae64a0c642686955a859
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ibrahimcetin/RequestSpec.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ibrahimcetin/RequestSpec.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/23] Emitting module RequestSpec
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:62:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |     ///   - body: The decoded response body
 61 |     ///   - originalResponse: The original `HTTPURLResponse` from the network request
 62 |     public init(body: Body, originalResponse: HTTPURLResponse) {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |         self.body = body
 64 |         self.originalResponse = originalResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:16: error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                `- error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:91:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     /// A default implementation is provided that uses `URLSession.shared`. Override this
 90 |     /// to customize session configuration, add delegates, or modify networking behavior.
 91 |     var session: URLSession { get }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |     /// The decoder used to decode response bodies.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:127:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 |     ///
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |         URLSession.shared
129 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:147:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |     /// - Returns: A tuple containing the response data and the `URLResponse`
146 |     /// - Throws: Errors from URL construction or network execution
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request+Modifiers.swift:216:39: error: cannot find type 'URLRequest' in scope
214 |     ///
215 |     /// - Note: This method returns a copy of the request, allowing for method chaining.
216 |     public func cachePolicy(_ policy: URLRequest.CachePolicy) -> Self {
    |                                       `- error: cannot find type 'URLRequest' in scope
217 |         var copy = self
218 |         copy.components.cachePolicy = policy
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestSpec.swift:102:70: error: cannot find type 'URLRequest' in scope
100 |     ///
101 |     /// - Note: This is a shortcut for ``Request/urlRequest(baseURL:)`` method.
102 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
103 |         try self.request.urlRequest(baseURL: baseURL)
104 |     }
[4/23] Compiling RequestSpec RequestSpec.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestSpec.swift:102:70: error: cannot find type 'URLRequest' in scope
100 |     ///
101 |     /// - Note: This is a shortcut for ``Request/urlRequest(baseURL:)`` method.
102 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
103 |         try self.request.urlRequest(baseURL: baseURL)
104 |     }
[5/23] Compiling RequestSpec BodyBuilder.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestSpec.swift:102:70: error: cannot find type 'URLRequest' in scope
100 |     ///
101 |     /// - Note: This is a shortcut for ``Request/urlRequest(baseURL:)`` method.
102 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
103 |         try self.request.urlRequest(baseURL: baseURL)
104 |     }
[6/23] Compiling RequestSpec HeadersBuilder.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestSpec.swift:102:70: error: cannot find type 'URLRequest' in scope
100 |     ///
101 |     /// - Note: This is a shortcut for ``Request/urlRequest(baseURL:)`` method.
102 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
103 |         try self.request.urlRequest(baseURL: baseURL)
104 |     }
[7/25] Compiling RequestSpec Put.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[8/25] Compiling RequestSpec Decoder.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[9/25] Compiling RequestSpec Options.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[10/25] Compiling RequestSpec Patch.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[11/25] Compiling RequestSpec Post.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[12/25] Compiling RequestSpec Delete.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[13/25] Compiling RequestSpec Get.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[14/25] Compiling RequestSpec Head.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[15/25] Compiling RequestSpec HTTPMethod.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:62:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |     ///   - body: The decoded response body
 61 |     ///   - originalResponse: The original `HTTPURLResponse` from the network request
 62 |     public init(body: Body, originalResponse: HTTPURLResponse) {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |         self.body = body
 64 |         self.originalResponse = originalResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:16: error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                `- error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:69:26: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |     /// The HTTP status code of the response (e.g., 200, 404, 500).
 68 |     public var statusCode: Int {
 69 |         originalResponse.statusCode
    |                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |     }
 71 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:77:26: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 75 |     /// filtering to include only string key-value pairs.
 76 |     public var headers: [String: String] {
 77 |         originalResponse.allHeaderFields.reduce(into: [:]) { result, pair in
    |                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 78 |             if let key = pair.key as? String, let value = pair.value as? String {
 79 |                 result[key] = value
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:91:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     /// A default implementation is provided that uses `URLSession.shared`. Override this
 90 |     /// to customize session configuration, add delegates, or modify networking behavior.
 91 |     var session: URLSession { get }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |     /// The decoder used to decode response bodies.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:127:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 |     ///
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |         URLSession.shared
129 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:147:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |     /// - Returns: A tuple containing the response data and the `URLResponse`
146 |     /// - Throws: Errors from URL construction or network execution
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:128:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
128 |         URLSession.shared
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
129 |     }
130 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:128:20: error: return expression of type '_' expected to be an instance of a class or class-constrained type
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
128 |         URLSession.shared
    |                    `- error: return expression of type '_' expected to be an instance of a class or class-constrained type
129 |     }
130 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:149:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
150 |     }
151 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:179:40: warning: forced cast of 'HTTPURLResponse' (aka 'AnyObject') to same type has no effect
177 |     public func send<R: Request>(_ request: R) async throws -> HTTPResponse<R.ResponseBody> {
178 |         let (data, response) = try await data(for: request)
179 |         let httpURLResponse = response as! HTTPURLResponse
    |                                        `- warning: forced cast of 'HTTPURLResponse' (aka 'AnyObject') to same type has no effect
180 |
181 |         do {
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:179:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 |     public func send<R: Request>(_ request: R) async throws -> HTTPResponse<R.ResponseBody> {
178 |         let (data, response) = try await data(for: request)
179 |         let httpURLResponse = response as! HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |
181 |         do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[16/25] Compiling RequestSpec HTTPResponse.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:62:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |     ///   - body: The decoded response body
 61 |     ///   - originalResponse: The original `HTTPURLResponse` from the network request
 62 |     public init(body: Body, originalResponse: HTTPURLResponse) {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |         self.body = body
 64 |         self.originalResponse = originalResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:16: error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                `- error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:69:26: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |     /// The HTTP status code of the response (e.g., 200, 404, 500).
 68 |     public var statusCode: Int {
 69 |         originalResponse.statusCode
    |                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |     }
 71 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:77:26: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 75 |     /// filtering to include only string key-value pairs.
 76 |     public var headers: [String: String] {
 77 |         originalResponse.allHeaderFields.reduce(into: [:]) { result, pair in
    |                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 78 |             if let key = pair.key as? String, let value = pair.value as? String {
 79 |                 result[key] = value
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:91:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     /// A default implementation is provided that uses `URLSession.shared`. Override this
 90 |     /// to customize session configuration, add delegates, or modify networking behavior.
 91 |     var session: URLSession { get }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |     /// The decoder used to decode response bodies.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:127:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 |     ///
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |         URLSession.shared
129 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:147:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |     /// - Returns: A tuple containing the response data and the `URLResponse`
146 |     /// - Throws: Errors from URL construction or network execution
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:128:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
128 |         URLSession.shared
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
129 |     }
130 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:128:20: error: return expression of type '_' expected to be an instance of a class or class-constrained type
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
128 |         URLSession.shared
    |                    `- error: return expression of type '_' expected to be an instance of a class or class-constrained type
129 |     }
130 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:149:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
150 |     }
151 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:179:40: warning: forced cast of 'HTTPURLResponse' (aka 'AnyObject') to same type has no effect
177 |     public func send<R: Request>(_ request: R) async throws -> HTTPResponse<R.ResponseBody> {
178 |         let (data, response) = try await data(for: request)
179 |         let httpURLResponse = response as! HTTPURLResponse
    |                                        `- warning: forced cast of 'HTTPURLResponse' (aka 'AnyObject') to same type has no effect
180 |
181 |         do {
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:179:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 |     public func send<R: Request>(_ request: R) async throws -> HTTPResponse<R.ResponseBody> {
178 |         let (data, response) = try await data(for: request)
179 |         let httpURLResponse = response as! HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |
181 |         do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[17/25] Compiling RequestSpec NetworkService.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:34: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:62:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |     ///   - body: The decoded response body
 61 |     ///   - originalResponse: The original `HTTPURLResponse` from the network request
 62 |     public init(body: Body, originalResponse: HTTPURLResponse) {
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |         self.body = body
 64 |         self.originalResponse = originalResponse
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:55:16: error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 53 |     ///
 54 |     /// Use this property to access additional HTTP response information not exposed by other properties.
 55 |     public let originalResponse: HTTPURLResponse
    |                `- error: stored property 'originalResponse' of 'Sendable'-conforming generic struct 'HTTPResponse' has non-Sendable type 'HTTPURLResponse' (aka 'AnyObject')
 56 |
 57 |     /// Creates an HTTP response with the decoded body and original HTTP response.
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:69:26: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 67 |     /// The HTTP status code of the response (e.g., 200, 404, 500).
 68 |     public var statusCode: Int {
 69 |         originalResponse.statusCode
    |                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 70 |     }
 71 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/HTTPResponse.swift:77:26: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 75 |     /// filtering to include only string key-value pairs.
 76 |     public var headers: [String: String] {
 77 |         originalResponse.allHeaderFields.reduce(into: [:]) { result, pair in
    |                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 78 |             if let key = pair.key as? String, let value = pair.value as? String {
 79 |                 result[key] = value
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:91:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |     /// A default implementation is provided that uses `URLSession.shared`. Override this
 90 |     /// to customize session configuration, add delegates, or modify networking behavior.
 91 |     var session: URLSession { get }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |
 93 |     /// The decoder used to decode response bodies.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:127:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 |     ///
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |         URLSession.shared
129 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:147:66: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
145 |     /// - Returns: A tuple containing the response data and the `URLResponse`
146 |     /// - Throws: Errors from URL construction or network execution
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
    |                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:128:20: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
128 |         URLSession.shared
    |                    `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
129 |     }
130 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:128:20: error: return expression of type '_' expected to be an instance of a class or class-constrained type
126 |     /// Override this property in your conforming type to provide a custom session configuration.
127 |     public var session: URLSession {
128 |         URLSession.shared
    |                    `- error: return expression of type '_' expected to be an instance of a class or class-constrained type
129 |     }
130 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:149:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
147 |     func data<R: Request>(for request: R) async throws -> (Data, URLResponse) {
148 |         let urlRequest = try request.urlRequest(baseURL: baseURL)
149 |         return try await session.data(for: urlRequest)
    |                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
150 |     }
151 |
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:179:40: warning: forced cast of 'HTTPURLResponse' (aka 'AnyObject') to same type has no effect
177 |     public func send<R: Request>(_ request: R) async throws -> HTTPResponse<R.ResponseBody> {
178 |         let (data, response) = try await data(for: request)
179 |         let httpURLResponse = response as! HTTPURLResponse
    |                                        `- warning: forced cast of 'HTTPURLResponse' (aka 'AnyObject') to same type has no effect
180 |
181 |         do {
/host/spi-builder-workspace/Sources/RequestSpec/Core/NetworkService/NetworkService.swift:179:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 |     public func send<R: Request>(_ request: R) async throws -> HTTPResponse<R.ResponseBody> {
178 |         let (data, response) = try await data(for: request)
179 |         let httpURLResponse = response as! HTTPURLResponse
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |
181 |         do {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[18/25] Compiling RequestSpec Request+Modifiers.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request+Modifiers.swift:216:39: error: cannot find type 'URLRequest' in scope
214 |     ///
215 |     /// - Note: This method returns a copy of the request, allowing for method chaining.
216 |     public func cachePolicy(_ policy: URLRequest.CachePolicy) -> Self {
    |                                       `- error: cannot find type 'URLRequest' in scope
217 |         var copy = self
218 |         copy.components.cachePolicy = policy
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:125:26: error: cannot find 'URLRequest' in scope
123 |
124 |         // Create URLRequest
125 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
126 |         urlRequest.httpMethod = method.rawValue
127 |         urlRequest.timeoutInterval = components.timeout
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[19/25] Compiling RequestSpec Request.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request+Modifiers.swift:216:39: error: cannot find type 'URLRequest' in scope
214 |     ///
215 |     /// - Note: This method returns a copy of the request, allowing for method chaining.
216 |     public func cachePolicy(_ policy: URLRequest.CachePolicy) -> Self {
    |                                       `- error: cannot find type 'URLRequest' in scope
217 |         var copy = self
218 |         copy.components.cachePolicy = policy
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:125:26: error: cannot find 'URLRequest' in scope
123 |
124 |         // Create URLRequest
125 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
126 |         urlRequest.httpMethod = method.rawValue
127 |         urlRequest.timeoutInterval = components.timeout
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[20/25] Compiling RequestSpec RequestComponents.swift
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request+Modifiers.swift:216:39: error: cannot find type 'URLRequest' in scope
214 |     ///
215 |     /// - Note: This method returns a copy of the request, allowing for method chaining.
216 |     public func cachePolicy(_ policy: URLRequest.CachePolicy) -> Self {
    |                                       `- error: cannot find type 'URLRequest' in scope
217 |         var copy = self
218 |         copy.components.cachePolicy = policy
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:40:29: error: cannot find type 'URLRequest' in scope
38 |     ///
39 |     /// Determines how the request interacts with the URL cache system.
40 |     public var cachePolicy: URLRequest.CachePolicy
   |                             `- error: cannot find type 'URLRequest' in scope
41 |
42 |     /// Whether the request can use cellular network access.
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:105:70: error: cannot find type 'URLRequest' in scope
103 |     /// - Returns: A fully configured `URLRequest` ready to be executed
104 |     /// - Throws: ``RequestSpecError/invalidURL`` if the URL cannot be constructed from the components
105 |     public func urlRequest(baseURL: URL) throws(RequestSpecError) -> URLRequest {
    |                                                                      `- error: cannot find type 'URLRequest' in scope
106 |         // Build URL
107 |         guard var urlComponents = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/Request.swift:125:26: error: cannot find 'URLRequest' in scope
123 |
124 |         // Create URLRequest
125 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
126 |         urlRequest.httpMethod = method.rawValue
127 |         urlRequest.timeoutInterval = components.timeout
/host/spi-builder-workspace/Sources/RequestSpec/Core/Request/RequestComponents.swift:63:22: error: cannot find type 'URLRequest' in scope
61 |         body: Data? = nil,
62 |         timeout: TimeInterval = 60,
63 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy,
   |                      `- error: cannot find type 'URLRequest' in scope
64 |         allowsCellularAccess: Bool = true
65 |     ) {
[21/25] Compiling RequestSpec QueryItemsBuilder.swift
[22/25] Compiling RequestSpec Headers.swift
[23/25] Compiling RequestSpec QueryItem.swift
[24/25] Compiling RequestSpec Encoder.swift
[25/25] Compiling RequestSpec Error.swift
BUILD FAILURE 6.2 wasm