The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNetworkKit, reference main (0da705), with Swift 6.4 for Wasm on 30 Sep 2026 20:30:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ihusnainalii/SwiftNetworkKit.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/ihusnainalii/SwiftNetworkKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0da7056 Merge pull request #29 from ihusnainalii/release-please--branches--main--components--SwiftNetworkKit
Cloned https://github.com/ihusnainalii/SwiftNetworkKit.git
Revision (git rev-parse @):
0da705672dbc7c003ad3ff0a0bb158199dbc6466
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ihusnainalii/SwiftNetworkKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ihusnainalii/SwiftNetworkKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[31 / 45] SwiftNetworkKit
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[40 / 54] SwiftNetworkKit
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/APIKeyAuth.swift:27:44: error: cannot find type 'URLRequest' in scope
25 |     }
26 |
27 |     public func authorize(_ request: inout URLRequest, token: String?) async throws {
   |                                            `- error: cannot find type 'URLRequest' in scope
28 |         switch placement {
29 |         case .header(let name):
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/AuthStrategy.swift:13:37: error: cannot find type 'URLRequest' in scope
11 | /// (API key, basic) simply ignore it.
12 | public protocol AuthStrategy: Sendable {
13 |     func authorize(_ request: inout URLRequest, token: String?) async throws
   |                                     `- error: cannot find type 'URLRequest' in scope
14 | }
15 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/BasicAuth.swift:17:44: error: cannot find type 'URLRequest' in scope
15 |     }
16 |
17 |     public func authorize(_ request: inout URLRequest, token: String?) async throws {
   |                                            `- error: cannot find type 'URLRequest' in scope
18 |         let encoded = Data("\(username):\(password)".utf8).base64EncodedString()
19 |         request.setValue("Basic \(encoded)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/BearerAuth.swift:11:44: error: cannot find type 'URLRequest' in scope
 9 |     public init() {}
10 |
11 |     public func authorize(_ request: inout URLRequest, token: String?) async throws {
   |                                            `- error: cannot find type 'URLRequest' in scope
12 |         guard let token else { return }
13 |         request.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/CustomAuth.swift:9:52: error: cannot find type 'URLRequest' in scope
 7 | /// An arbitrary app-supplied authentication closure.
 8 | public struct CustomAuth: AuthStrategy {
 9 |     private let apply: @Sendable (_ request: inout URLRequest, _ token: String?) async throws -> Void
   |                                                    `- error: cannot find type 'URLRequest' in scope
10 |
11 |     public init(_ apply: @escaping @Sendable (_ request: inout URLRequest, _ token: String?) async throws -> Void) {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/CustomAuth.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 |     private let apply: @Sendable (_ request: inout URLRequest, _ token: String?) async throws -> Void
10 |
11 |     public init(_ apply: @escaping @Sendable (_ request: inout URLRequest, _ token: String?) async throws -> Void) {
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |         self.apply = apply
13 |     }
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/CustomAuth.swift:15:44: error: cannot find type 'URLRequest' in scope
13 |     }
14 |
15 |     public func authorize(_ request: inout URLRequest, token: String?) async throws {
   |                                            `- error: cannot find type 'URLRequest' in scope
16 |         try await apply(&request, token)
17 |     }
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Endpoint.swift:71:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 69 |     /// Turns response bytes into ``Response``. The default handles `Data`, `String`,
 70 |     /// ``EmptyResponse`` and `Decodable`; override for anything bespoke.
 71 |     func decode(_ data: Data, response: HTTPURLResponse, using decoder: JSONDecoder) throws -> Response
    |                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 72 | }
 73 |
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/SwiftNetworkKit/Core/Endpoint.swift:96:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 |     // `Response.self == X.self` check on the preceding line, so the cast cannot fail.
 95 |     // swiftlint:disable force_cast
 96 |     public func decode(_ data: Data, response: HTTPURLResponse, using decoder: JSONDecoder) throws -> Response {
    |                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |         if Response.self == Data.self {
 98 |             return data as! 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/SwiftNetworkKit/Core/Errors/ResponseContext.swift:12:25: error: cannot find type 'URLRequest' in scope
10 |     public let headers: HTTPHeaders
11 |     public let data: Data?
12 |     public let request: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
13 |
14 |     public init(statusCode: Int, headers: HTTPHeaders, data: Data?, request: URLRequest) {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/ResponseContext.swift:14:78: error: cannot find type 'URLRequest' in scope
12 |     public let request: URLRequest
13 |
14 |     public init(statusCode: Int, headers: HTTPHeaders, data: Data?, request: URLRequest) {
   |                                                                              `- error: cannot find type 'URLRequest' in scope
15 |         self.statusCode = statusCode
16 |         self.headers = headers
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Authorization.swift:12:50: error: cannot find type 'URLRequest' in scope
10 |     /// ``TokenManager`` when auto-refresh is on (so an expiring token is refreshed first), or straight
11 |     /// from storage otherwise.
12 |     func authorize<E: Endpoint>(_ request: inout URLRequest, for endpoint: E) async throws {
   |                                                  `- error: cannot find type 'URLRequest' in scope
13 |         let strategy: any AuthStrategy
14 |         switch endpoint.authentication {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Revalidation.swift:15:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |     func revalidateInBackground<E: Endpoint, T: Sendable>(
14 |         _ endpoint: E,
15 |         decode: @escaping @Sendable (Data, HTTPURLResponse, JSONDecoder) throws -> T
   |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     ) {
17 |         Task.detached { [self] in
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/SwiftNetworkKit/Core/NetworkClient+Upload.swift:172:24: error: cannot find type 'URLRequest' in scope
170 |     private func prepareTransfer<E: Endpoint>(
171 |         _ endpoint: E
172 |     ) async throws -> (URLRequest, ContinuousClock.Instant, RequestID) {
    |                        `- error: cannot find type 'URLRequest' in scope
173 |         if Task.isCancelled { throw NetworkError.cancelled }
174 |         let anyEndpoint = AnyEndpoint(endpoint)
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient.swift:151:72: error: cannot find type 'URLRequest' in scope
149 |
150 |     /// Persists `request` for later replay if the endpoint opted in and the body can be archived.
151 |     private func offlineQueueID<E: Endpoint>(for endpoint: E, request: URLRequest) async -> RequestID? {
    |                                                                        `- error: cannot find type 'URLRequest' in scope
152 |         guard let offlineQueue, case .queue(let expiresAfter) = endpoint.offlineBehavior else { return nil }
153 |         if case .multipart = endpoint.body { return nil }  // multipart bodies don't survive archiving
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient.swift:219:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 |     func perform<E: Endpoint, T: Sendable>(
218 |         _ endpoint: E,
219 |         decode: @escaping @Sendable (Data, HTTPURLResponse, JSONDecoder) throws -> T
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 |     ) async throws -> T {
221 |         if Task.isCancelled { throw NetworkError.cancelled }
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/SwiftNetworkKit/Core/NetworkClient.swift:268:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |         interceptorRetries: Int,
267 |         bypassCacheRead: Bool = false,
268 |         decode: @escaping @Sendable (Data, HTTPURLResponse, JSONDecoder) throws -> T
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |     ) async throws -> T {
270 |         let anyEndpoint = AnyEndpoint(endpoint)
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/SwiftNetworkKit/Core/NetworkClient.swift:438:18: error: cannot find type 'URLRequest' in scope
436 |         _ entry: CachedResponse,
437 |         endpoint: E,
438 |         request: URLRequest,
    |                  `- error: cannot find type 'URLRequest' in scope
439 |         decode: @escaping @Sendable (Data, HTTPURLResponse, JSONDecoder) throws -> T
440 |     ) throws -> T {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient.swift:439:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
437 |         endpoint: E,
438 |         request: URLRequest,
439 |         decode: @escaping @Sendable (Data, HTTPURLResponse, JSONDecoder) throws -> T
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
440 |     ) throws -> T {
441 |         let decoder = endpoint.decoder ?? configuration.defaultDecoder
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/SwiftNetworkKit/HTTP/RequestBuilder.swift:18:17: error: cannot find type 'URLRequest' in scope
16 |         environment: NetworkEnvironment,
17 |         configuration: NetworkConfiguration
18 |     ) throws -> URLRequest {
   |                 `- error: cannot find type 'URLRequest' in scope
19 |         let base = endpoint.baseURL ?? environment.baseURL
20 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/AnyEndpoint.swift:21:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Decodes response bytes exactly as the original endpoint would, returning its erased `Response`.
21 |     let decodeThunk: @Sendable (Data, HTTPURLResponse, JSONDecoder) throws -> any Sendable
   |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     public init<E: Endpoint>(_ endpoint: E) {
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/SwiftNetworkKit/Interceptors/AnyEndpoint.swift:36:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |
35 |     /// Decodes with the erased endpoint's own logic.
36 |     public func decode(_ data: Data, response: HTTPURLResponse, using decoder: JSONDecoder) throws -> any Sendable {
   |                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |         try decodeThunk(data, response, decoder)
38 |     }
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/SwiftNetworkKit/Interceptors/InterceptorChain.swift:17:82: error: cannot find type 'URLRequest' in scope
15 |     var isEmpty: Bool { requestInterceptors.isEmpty && responseInterceptors.isEmpty }
16 |
17 |     func adapt(_ request: URLRequest, for endpoint: AnyEndpoint) async throws -> URLRequest {
   |                                                                                  `- error: cannot find type 'URLRequest' in scope
18 |         var request = request
19 |         for interceptor in requestInterceptors {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/InterceptorChain.swift:17:27: error: cannot find type 'URLRequest' in scope
15 |     var isEmpty: Bool { requestInterceptors.isEmpty && responseInterceptors.isEmpty }
16 |
17 |     func adapt(_ request: URLRequest, for endpoint: AnyEndpoint) async throws -> URLRequest {
   |                           `- error: cannot find type 'URLRequest' in scope
18 |         var request = request
19 |         for interceptor in requestInterceptors {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/RequestInterceptor.swift:12:82: error: cannot find type 'URLRequest' in scope
10 | /// Use for cross-cutting request concerns: extra headers, signing, feature flags, locale.
11 | public protocol RequestInterceptor: Sendable {
12 |     func adapt(_ request: URLRequest, for endpoint: AnyEndpoint) async throws -> URLRequest
   |                                                                                  `- error: cannot find type 'URLRequest' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/RequestInterceptor.swift:12:27: error: cannot find type 'URLRequest' in scope
10 | /// Use for cross-cutting request concerns: extra headers, signing, feature flags, locale.
11 | public protocol RequestInterceptor: Sendable {
12 |     func adapt(_ request: URLRequest, for endpoint: AnyEndpoint) async throws -> URLRequest
   |                           `- error: cannot find type 'URLRequest' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Logging/NetworkLogFormatter.swift:14:34: error: cannot find type 'URLRequest' in scope
12 |     let redactor: Redactor
13 |
14 |     func requestLines(_ request: URLRequest, endpoint: AnyEndpoint, level: LogLevel) -> [String] {
   |                                  `- error: cannot find type 'URLRequest' in scope
15 |         guard level >= .basic else { return [] }
16 |         let method = request.httpMethod ?? endpoint.method.rawValue
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineRequestQueue.swift:12:33: error: cannot find type 'URLRequest' in scope
 10 | actor OfflineRequestQueue {
 11 |
 12 |     typealias Send = @Sendable (URLRequest) async throws -> HTTPURLResponse
    |                                 `- error: cannot find type 'URLRequest' in scope
 13 |
 14 |     /// A queued request whose re-send keeps failing at the transport level is dropped after this many
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineRequestQueue.swift:33:15: error: '@escaping' only applies to function types
 31 |         monitor: any NetworkMonitor,
 32 |         metrics: any NetworkMetrics = NoopMetrics(),
 33 |         send: @escaping Send
    |               `- error: '@escaping' only applies to function types
 34 |     ) {
 35 |         self.store = store
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineRequestQueue.swift:54:29: error: cannot find type 'URLRequest' in scope
 52 |
 53 |     /// Archives `request` and adds it to the queue. Returns its id.
 54 |     func enqueue(_ request: URLRequest, expiresAfter: TimeInterval?) async throws -> RequestID {
    |                             `- error: cannot find type 'URLRequest' in scope
 55 |         guard let archived = URLRequestArchive.archive(request) else {
 56 |             throw NetworkError.encoding(underlying: OfflineQueueError.notArchivable)
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/URLRequestArchive.swift:22:36: error: cannot find type 'URLRequest' in scope
20 |     }
21 |
22 |     static func archive(_ request: URLRequest) -> Data? {
   |                                    `- error: cannot find type 'URLRequest' in scope
23 |         guard let url = request.url?.absoluteString else { return nil }
24 |         let wire = Wire(
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/URLRequestArchive.swift:34:44: error: cannot find type 'URLRequest' in scope
32 |     }
33 |
34 |     static func unarchive(_ data: Data) -> URLRequest? {
   |                                            `- error: cannot find type 'URLRequest' in scope
35 |         guard let wire = try? JSONDecoder().decode(Wire.self, from: data),
36 |             let url = URL(string: wire.url)
/host/spi-builder-workspace/Sources/SwiftNetworkKit/RequestManagement/DeduplicationKey.swift:11:33: error: cannot find type 'URLRequest' in scope
 9 | /// built from the request *after* authorization has been applied.
10 | enum DeduplicationKey {
11 |     static func make(_ request: URLRequest) -> String {
   |                                 `- error: cannot find type 'URLRequest' in scope
12 |         let method = request.httpMethod ?? "GET"
13 |         let url = request.url?.absoluteString ?? "?"
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift:45:23: error: cannot find type 'URLRequest' in scope
 43 |     /// one repeats once exhausted).
 44 |     struct Rule: @unchecked Sendable {
 45 |         let matches: (URLRequest) -> Bool
    |                       `- error: cannot find type 'URLRequest' in scope
 46 |         var outcomes: [Outcome]
 47 |     }
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift:52:28: error: cannot find type 'URLRequest' in scope
 50 |     private var queue: [Outcome] = []
 51 |     private var rules: [Rule] = []
 52 |     private var recorded: [URLRequest] = []
    |                            `- error: cannot find type 'URLRequest' in scope
 53 |     private let defaultOutcome: Outcome
 54 |     private let latency: Duration
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift:65:65: error: cannot find type 'URLRequest' in scope
 63 |
 64 |     /// Requests captured so far, in order.
 65 |     @_spi(SwiftNetworkKitTesting) public var recordedRequests: [URLRequest] {
    |                                                                 `- error: cannot find type 'URLRequest' in scope
 66 |         lock.lock()
 67 |         defer { lock.unlock() }
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift:97:50: error: cannot find type 'URLRequest' in scope
 95 |     @discardableResult
 96 |     @_spi(SwiftNetworkKitTesting) public func stub(
 97 |         matching predicate: @escaping @Sendable (URLRequest) -> Bool,
    |                                                  `- error: cannot find type 'URLRequest' in scope
 98 |         with outcomes: Outcome...
 99 |     ) -> Self {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift:127:65: error: cannot find type 'URLRequest' in scope
125 |     }
126 |
127 |     @_spi(SwiftNetworkKitTesting) public func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                 `- error: cannot find type 'URLRequest' in scope
128 |         let outcome: Outcome = {
129 |             lock.lock()
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift:127:100: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
125 |     }
126 |
127 |     @_spi(SwiftNetworkKitTesting) public func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
128 |         let outcome: Outcome = {
129 |             lock.lock()
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/SwiftNetworkKit/Transport/NetworkTransport.swift:18:28: error: cannot find type 'URLRequest' in scope
16 |     /// Implementations should map cancellation and connectivity failures to ``NetworkError``
17 |     /// (`.cancelled`, `.timeout`, `.noInternet`) and wrap anything else as `.transport`.
18 |     func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                            `- error: cannot find type 'URLRequest' in scope
19 |
20 |     /// Sends `body` as the request body, reporting byte progress.
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/NetworkTransport.swift:22:20: error: cannot find type 'URLRequest' in scope
20 |     /// Sends `body` as the request body, reporting byte progress.
21 |     func upload(
22 |         _ request: URLRequest,
   |                    `- error: cannot find type 'URLRequest' in scope
23 |         from body: UploadBody,
24 |         progress: (@Sendable (ProgressEvent) -> Void)?
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/NetworkTransport.swift:29:20: error: cannot find type 'URLRequest' in scope
27 |     /// Downloads the response to a temporary file, reporting byte progress. The caller owns the file.
28 |     func download(
29 |         _ request: URLRequest,
   |                    `- error: cannot find type 'URLRequest' in scope
30 |         progress: (@Sendable (ProgressEvent) -> Void)?
31 |     ) async throws -> (URL, HTTPURLResponse)
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:29:26: error: cannot find type 'URLRequest' in scope
 27 |         var response: Response?
 28 |         var error: (any Error)?
 29 |         var lastRequest: URLRequest?
    |                          `- error: cannot find type 'URLRequest' in scope
 30 |     }
 31 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:53:66: error: cannot find type 'URLRequest' in scope
 51 |
 52 |     /// The most recent request that reached the stub.
 53 |     @_spi(SwiftNetworkKitTesting) public static var lastRequest: URLRequest? {
    |                                                                  `- error: cannot find type 'URLRequest' in scope
 54 |         lock.lock()
 55 |         defer { lock.unlock() }
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:68:54: error: cannot find type 'URLRequest' in scope
 66 |     // MARK: URLProtocol
 67 |
 68 |     override public class func canInit(with request: URLRequest) -> Bool { true }
    |                                                      `- error: cannot find type 'URLRequest' in scope
 69 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
 70 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:69:77: error: cannot find type 'URLRequest' in scope
 67 |
 68 |     override public class func canInit(with request: URLRequest) -> Bool { true }
 69 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
    |                                                                             `- error: cannot find type 'URLRequest' in scope
 70 |
 71 |     override public func startLoading() {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:69:62: error: cannot find type 'URLRequest' in scope
 67 |
 68 |     override public class func canInit(with request: URLRequest) -> Bool { true }
 69 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
    |                                                              `- error: cannot find type 'URLRequest' in scope
 70 |
 71 |     override public func startLoading() {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:71:26: error: method does not override any method from its superclass
 69 |     override public class func canonicalRequest(for request: URLRequest) -> URLRequest { request }
 70 |
 71 |     override public func startLoading() {
    |                          `- error: method does not override any method from its superclass
 72 |         Self.lock.lock()
 73 |         Self.state.lastRequest = request
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:99:26: error: method does not override any method from its superclass
 97 |     }
 98 |
 99 |     override public func stopLoading() {}
    |                          `- error: method does not override any method from its superclass
100 | }
101 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift:18:67: error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 | ///
 17 | /// Not thread-safe across concurrent tests — keep suites that use it `.serialized`.
 18 | @_spi(SwiftNetworkKitTesting) public final class URLProtocolStub: URLProtocol {
    |                                                                   `- error: 'URLProtocol' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |
 20 |     @_spi(SwiftNetworkKitTesting) public struct Response: Sendable {
Foundation.URLProtocol:2:18: note: 'URLProtocol' 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 URLProtocol = AnyObject
  |                  `- note: 'URLProtocol' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Tracing/TracingInterceptor.swift:18:89: error: cannot find type 'URLRequest' in scope
16 |     }
17 |
18 |     public func adapt(_ request: URLRequest, for endpoint: AnyEndpoint) async throws -> URLRequest {
   |                                                                                         `- error: cannot find type 'URLRequest' in scope
19 |         var request = request
20 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Tracing/TracingInterceptor.swift:18:34: error: cannot find type 'URLRequest' in scope
16 |     }
17 |
18 |     public func adapt(_ request: URLRequest, for endpoint: AnyEndpoint) async throws -> URLRequest {
   |                                  `- error: cannot find type 'URLRequest' in scope
19 |         var request = request
20 |
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/NetworkTransport.swift:18:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     /// Implementations should map cancellation and connectivity failures to ``NetworkError``
17 |     /// (`.cancelled`, `.timeout`, `.noInternet`) and wrap anything else as `.transport`.
18 |     func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse)
   |                                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 |     /// Sends `body` as the request body, reporting byte progress.
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/SwiftNetworkKit/Transport/NetworkTransport.swift:25:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |         from body: UploadBody,
24 |         progress: (@Sendable (ProgressEvent) -> Void)?
25 |     ) async throws -> (Data, HTTPURLResponse)
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 |     /// Downloads the response to a temporary file, reporting byte progress. The caller owns the file.
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/SwiftNetworkKit/Transport/NetworkTransport.swift:31:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |         _ request: URLRequest,
30 |         progress: (@Sendable (ProgressEvent) -> Void)?
31 |     ) async throws -> (URL, HTTPURLResponse)
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | }
33 |
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/SwiftNetworkKit/Transport/NetworkTransport.swift:37:20: error: cannot find type 'URLRequest' in scope
35 |
36 |     public func upload(
37 |         _ request: URLRequest,
   |                    `- error: cannot find type 'URLRequest' in scope
38 |         from body: UploadBody,
39 |         progress: (@Sendable (ProgressEvent) -> Void)?
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/NetworkTransport.swift:40:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         from body: UploadBody,
39 |         progress: (@Sendable (ProgressEvent) -> Void)?
40 |     ) async throws -> (Data, HTTPURLResponse) {
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |         var request = request
42 |         let payload: Data
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/SwiftNetworkKit/Transport/NetworkTransport.swift:67:20: error: cannot find type 'URLRequest' in scope
65 |
66 |     public func download(
67 |         _ request: URLRequest,
   |                    `- error: cannot find type 'URLRequest' in scope
68 |         progress: (@Sendable (ProgressEvent) -> Void)?
69 |     ) async throws -> (URL, HTTPURLResponse) {
/host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/NetworkTransport.swift:69:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |         _ request: URLRequest,
68 |         progress: (@Sendable (ProgressEvent) -> Void)?
69 |     ) async throws -> (URL, HTTPURLResponse) {
   |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 |         let (data, response) = try await data(for: request)
71 |         let url = FileManager.default.temporaryDirectory
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Storage/InMemoryTokenStorage.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Storage/KeychainAccessibility.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Storage/KeychainError.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Storage/KeychainTokenStorage.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Storage/TokenPair.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Storage/TokenStorage.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/APIKeyAuth.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/AuthStrategy.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/BasicAuth.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/BearerAuth.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/Strategies/CustomAuth.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Authentication/TokenManager.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/CacheConfiguration.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/CacheControl.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/CachePolicy.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/CachedResponse.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/DiskCacheStore.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/HTTPHeaders+Storable.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/MemoryCacheStore.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Cache/ResponseCache.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Clock/ContinuousClockAdapter.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Clock/NetworkClock.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Combine/NetworkClient+Publishers.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Combine/TransferState.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Connectivity/ConnectionType.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Connectivity/NetworkMonitor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Connectivity/NetworkStatus.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Connectivity/NetworkStatusBroadcaster.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Connectivity/PathNetworkMonitor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/AuthFingerprint.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/AuthRequirement.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Coding/JSONDecoder+NetworkKit.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Coding/JSONEncoder+NetworkKit.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/EmptyResponse.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Endpoint.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/EndpointDecodingFailure.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/HTTPDateParser.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/NetworkError+Telemetry.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/NetworkError.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/ResponseContext.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/SendableErrorBox.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/Errors/StatusCodeMapper.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkCancellable.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Authorization.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Batch.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Convenience.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Diagnostics.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Pagination.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Revalidation.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Tracing.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Transport.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient+Upload.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClient.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkClientInitializationError.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/NetworkConfiguration.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/ProgressEvent.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/RequestBody.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/RequestID.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/RequestPriority.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Core/SHA256Hex.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Environment/EnvironmentKind.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Environment/NetworkEnvironment.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/HTTP/HTTPHeaders.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/HTTP/HTTPMethod.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/HTTP/HTTPStatus.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/HTTP/QueryParameters.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/HTTP/QueryValue.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/HTTP/RequestBuilder.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/AnyEndpoint.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/InterceptOutcome.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/InterceptorChain.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/RequestInterceptor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Interceptors/ResponseInterceptor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Logging/ConsoleNetworkLogger.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Logging/LogLevel.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Logging/NetworkLogFormatter.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Logging/NetworkLogger.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Logging/Redactor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Metrics/InMemoryMetrics.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Metrics/MetricEvent.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Metrics/MetricsSnapshot.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Metrics/NetworkMetrics.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Metrics/NoopMetrics.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/AuthorizationCodeFlow.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/Base64URL.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/OAuthConfiguration.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/OAuthError.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/OAuthTokenResponse.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/PKCE.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/SHA256Fallback.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/OAuth/TokenPair+OAuth.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/FileOfflineStore.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineBehavior.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineReplayEvent.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineRequestQueue.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/OfflineStore.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/PersistedRequest.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Offline/URLRequestArchive.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Pagination/PageLimitReached.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Pagination/PaginatedEndpoint.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/RequestManagement/DeduplicationKey.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/RequestManagement/DeduplicationTypeMismatch.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/RequestManagement/RequestDeduplicator.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/RequestManagement/RequestQueue.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/RequestManagement/RequestRegistry.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Retry/BackoffStrategy.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Retry/Jitter.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Retry/RetryDecision.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Retry/RetryPolicy.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/Pin.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/PinningMode.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/SPKIHeader.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/SSLPinning.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/SSLPinningConfiguration.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/SSLPinningError.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/SSLPinningFailureReason.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/ServerTrustDecision.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/ServerTrustEvaluating.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Security/ServerTrustEvaluator.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/SwiftNetworkKit.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/SwiftUI/NetworkResource.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/SwiftUI/Paged.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/CapturingLogger.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/InMemoryOfflineStore.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkMonitor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockNetworkTransport.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/MockScenario.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/TestClock.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Testing/URLProtocolStub.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Tracing/TraceContext.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Tracing/TraceHeaders.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Tracing/TracingInterceptor.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/NetworkTransport.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/TransportSessionDelegate.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/TransportTaskDelegate.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Transport/URLSessionTransport.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Upload/MultipartFormData.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Upload/MultipartPart.swift /host/spi-builder-workspace/Sources/SwiftNetworkKit/Upload/UploadBody.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftNetworkKit -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/SwiftNetworkKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/Modules/SwiftNetworkKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/Modules/SwiftNetworkKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/SwiftNetworkKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/SwiftNetworkKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/SwiftNetworkKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftNetworkKit.build/Debug-webassembly-wasm32/SwiftNetworkKit-t.build/Objects-normal/wasm32/Modules/SwiftNetworkKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm