The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftyNetworking, reference master (4e3f29), with Swift 6.4 for Wasm on 22 Sep 2026 21:41:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/antonio-war/SwiftyNetworking.git
Reference: master
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/antonio-war/SwiftyNetworking
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4e3f29e fix: send request method scope
Cloned https://github.com/antonio-war/SwiftyNetworking.git
Revision (git rev-parse @):
4e3f29e028c25b63c1a7e68f3c2fb90aa3e174f7
SUCCESS checkout https://github.com/antonio-war/SwiftyNetworking.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/antonio-war/SwiftyNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:11:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 | public actor NetworkingClient: Sendable {
11 |     private let session: URLSession
   |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     private let delegate: NetworkingDelegate
13 |
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/SwiftyNetworking/Actors/NetworkingClient.swift:14:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     private let delegate: NetworkingDelegate
13 |
14 |     public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
   |                                `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
16 |         self.delegate = delegate
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:14:59: error: value of type '_' expected to be instance of class or class-constrained type
12 |     private let delegate: NetworkingDelegate
13 |
14 |     public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
   |                                                           `- error: value of type '_' expected to be instance of class or class-constrained type
15 |         self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
16 |         self.delegate = delegate
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:14:59: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
12 |     private let delegate: NetworkingDelegate
13 |
14 |     public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
   |                                                           `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
15 |         self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
16 |         self.delegate = delegate
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:34:49: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
32 |
33 |     public static let shared: NetworkingClient = {
34 |         return NetworkingClient(configuration: .default, delegate: .default, queue: .default)
   |                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
35 |     }()
36 | }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:34:49: error: value of type '_' expected to be instance of class or class-constrained type
32 |
33 |     public static let shared: NetworkingClient = {
34 |         return NetworkingClient(configuration: .default, delegate: .default, queue: .default)
   |                                                 `- error: value of type '_' expected to be instance of class or class-constrained type
35 |     }()
36 | }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:15:24: error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
13 |
14 |     public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
15 |         self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
   |                        `- error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
16 |         self.delegate = delegate
17 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift:15:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
13 |
14 |     public init(configuration: URLSessionConfiguration = .default, delegate: NetworkingDelegate = .default, queue: NetworkingQueue = .default) {
15 |         self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: queue)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
16 |         self.delegate = delegate
17 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Classes/NetworkingQueue.swift:14:15: error: value of type 'NetworkingQueue' has no member 'qualityOfService'
12 |     public static let `default`: NetworkingQueue = {
13 |         let queue = NetworkingQueue()
14 |         queue.qualityOfService = .utility
   |               `- error: value of type 'NetworkingQueue' has no member 'qualityOfService'
15 |         return queue
16 |     }()
/host/spi-builder-workspace/Sources/SwiftyNetworking/Classes/NetworkingQueue.swift:14:35: error: cannot infer contextual base in reference to member 'utility'
12 |     public static let `default`: NetworkingQueue = {
13 |         let queue = NetworkingQueue()
14 |         queue.qualityOfService = .utility
   |                                   `- error: cannot infer contextual base in reference to member 'utility'
15 |         return queue
16 |     }()
/host/spi-builder-workspace/Sources/SwiftyNetworking/Classes/NetworkingQueue.swift:10:37: error: cannot find type 'OperationQueue' in scope
 8 | import Foundation
 9 |
10 | public final class NetworkingQueue: OperationQueue, @unchecked Sendable {
   |                                     `- error: cannot find type 'OperationQueue' in scope
11 |
12 |     public static let `default`: NetworkingQueue = {
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:13:42: error: cannot find type 'URLSessionTaskMetrics' in scope
11 |     private let cache: NSCache<NSNumber, URLSessionTaskMetrics>
12 |
13 |     public init(cache: NSCache<NSNumber, URLSessionTaskMetrics> = NSCache()) {
   |                                          `- error: cannot find type 'URLSessionTaskMetrics' in scope
14 |         self.cache = cache
15 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:11:42: error: cannot find type 'URLSessionTaskMetrics' in scope
 9 |
10 | public final class NetworkingDelegate: NSObject, URLSessionTaskDelegate, @unchecked Sendable {
11 |     private let cache: NSCache<NSNumber, URLSessionTaskMetrics>
   |                                          `- error: cannot find type 'URLSessionTaskMetrics' in scope
12 |
13 |     public init(cache: NSCache<NSNumber, URLSessionTaskMetrics> = NSCache()) {
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:17:102: error: cannot find type 'URLSessionTaskMetrics' in scope
15 |     }
16 |
17 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
   |                                                                                                      `- error: cannot find type 'URLSessionTaskMetrics' in scope
18 |         guard let request = metrics.transactionMetrics.first?.request else { return }
19 |         self.cache.setObject(metrics, forKey: NSNumber(value: request.hashValue))
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:17:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
   |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let request = metrics.transactionMetrics.first?.request else { return }
19 |         self.cache.setObject(metrics, forKey: NSNumber(value: request.hashValue))
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/SwiftyNetworking/Delegates/NetworkingDelegate.swift:17:57: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     public func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
   |                                                         `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard let request = metrics.transactionMetrics.first?.request else { return }
19 |         self.cache.setObject(metrics, forKey: NSNumber(value: request.hashValue))
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:28:38: error: cannot find type 'URLSessionTaskMetrics' in scope
26 |
27 |     public static let `default`: NetworkingDelegate = {
28 |         let cache: NSCache<NSNumber, URLSessionTaskMetrics> = NSCache()
   |                                      `- error: cannot find type 'URLSessionTaskMetrics' in scope
29 |         return NetworkingDelegate(cache: cache)
30 |     }()
/host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift:10:50: error: cannot find type 'URLSessionTaskDelegate' in scope
 8 | import Foundation
 9 |
10 | public final class NetworkingDelegate: NSObject, URLSessionTaskDelegate, @unchecked Sendable {
   |                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
11 |     private let cache: NSCache<NSNumber, URLSessionTaskMetrics>
12 |
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:12:33: error: cannot find type 'URLRequest' in scope
10 | struct URLRequestDeserializer: Sendable {
11 |
12 |     func deserialize(_ request: URLRequest) -> NetworkingRequest? {
   |                                 `- error: cannot find type 'URLRequest' in scope
13 |         guard let url = url(request) else { return nil }
14 |         guard let method = method(request) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:28:25: error: cannot find type 'URLRequest' in scope
26 |     }
27 |
28 |     func url(_ request: URLRequest) -> URL? {
   |                         `- error: cannot find type 'URLRequest' in scope
29 |         guard let url = request.url else { return nil }
30 |         guard var components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:36:28: error: cannot find type 'URLRequest' in scope
34 |     }
35 |
36 |     func method(_ request: URLRequest) -> NetworkingMethod? {
   |                            `- error: cannot find type 'URLRequest' in scope
37 |         guard let httpMethod = request.httpMethod else { return nil }
38 |         guard let method = NetworkingMethod(rawValue: httpMethod) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:42:29: error: cannot find type 'URLRequest' in scope
40 |     }
41 |
42 |     func headers(_ request: URLRequest) -> [String: String] {
   |                             `- error: cannot find type 'URLRequest' in scope
43 |         guard let headers = request.allHTTPHeaderFields else { return [:] }
44 |         return headers
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:47:37: error: cannot find type 'URLRequest' in scope
45 |     }
46 |
47 |     func queryParameters(_ request: URLRequest) -> [String: String]? {
   |                                     `- error: cannot find type 'URLRequest' in scope
48 |         guard let url = request.url else { return nil }
49 |         guard let components = URLComponents(url: url, resolvingAgainstBaseURL: false) else { return nil }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:59:26: error: cannot find type 'URLRequest' in scope
57 |     }
58 |
59 |     func body(_ request: URLRequest) -> Data? {
   |                          `- error: cannot find type 'URLRequest' in scope
60 |         return request.httpBody
61 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:63:33: error: cannot find type 'URLRequest' in scope
61 |     }
62 |
63 |     func cachePolicy(_ request: URLRequest) -> NetworkingCachePolicy? {
   |                                 `- error: cannot find type 'URLRequest' in scope
64 |         guard let cachePolicy = NetworkingCachePolicy(rawValue: request.cachePolicy) else { return nil }
65 |         return cachePolicy
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift:68:29: error: cannot find type 'URLRequest' in scope
66 |     }
67 |
68 |     func timeout(_ request: URLRequest) -> TimeInterval {
   |                             `- error: cannot find type 'URLRequest' in scope
69 |         return request.timeoutInterval
70 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:12:33: error: cannot find type 'URLSessionTaskMetrics' in scope
10 | struct URLSessionTaskMetricsDeserializer: Sendable {
11 |
12 |     func deserialize(_ metrics: URLSessionTaskMetrics) -> NetworkingMetric? {
   |                                 `- error: cannot find type 'URLSessionTaskMetrics' in scope
13 |         return NetworkingMetric(
14 |             start: start(metrics),
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:23:27: error: cannot find type 'URLSessionTaskMetrics' in scope
21 |     }
22 |
23 |     func start(_ metrics: URLSessionTaskMetrics) -> Date {
   |                           `- error: cannot find type 'URLSessionTaskMetrics' in scope
24 |         metrics.taskInterval.start
25 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:27:25: error: cannot find type 'URLSessionTaskMetrics' in scope
25 |     }
26 |
27 |     func end(_ metrics: URLSessionTaskMetrics) -> Date {
   |                         `- error: cannot find type 'URLSessionTaskMetrics' in scope
28 |         metrics.taskInterval.end
29 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:31:30: error: cannot find type 'URLSessionTaskMetrics' in scope
29 |     }
30 |
31 |     func duration(_ metrics: URLSessionTaskMetrics) -> TimeInterval {
   |                              `- error: cannot find type 'URLSessionTaskMetrics' in scope
32 |         metrics.taskInterval.duration
33 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:35:34: error: cannot find type 'URLSessionTaskMetrics' in scope
33 |     }
34 |
35 |     func redirections(_ metrics: URLSessionTaskMetrics) -> Int {
   |                                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
36 |         metrics.redirectCount
37 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:39:28: error: cannot find type 'URLSessionTaskMetrics' in scope
37 |     }
38 |
39 |     func source(_ metrics: URLSessionTaskMetrics) -> NetworkingSource {
   |                            `- error: cannot find type 'URLSessionTaskMetrics' in scope
40 |         metrics.transactionMetrics.contains(where: { $0.resourceFetchType == .localCache }) ? .cache : .network
41 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift:43:30: error: cannot find type 'URLSessionTaskMetrics' in scope
41 |     }
42 |
43 |     func standard(_ metrics: URLSessionTaskMetrics) -> NetworkingStandard? {
   |                              `- error: cannot find type 'URLSessionTaskMetrics' in scope
44 |         guard let rawValue = metrics.transactionMetrics.last?.networkProtocolName?.uppercased() else { return nil }
45 |         return NetworkingStandard(rawValue: rawValue)
/host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingCachePolicy.swift:18:28: error: cannot find type 'URLRequest' in scope
16 |     case reloadRevalidatingCacheData = "RELOAD_REVALIDATING_CACHE_DATA"
17 |
18 |     public init?(rawValue: URLRequest.CachePolicy) {
   |                            `- error: cannot find type 'URLRequest' in scope
19 |         switch rawValue {
20 |         case .useProtocolCachePolicy: self = .respectProtocolStandard
/host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingCachePolicy.swift:29:26: error: cannot find type 'URLRequest' in scope
27 |     }
28 |
29 |     public var rawValue: URLRequest.CachePolicy {
   |                          `- error: cannot find type 'URLRequest' in scope
30 |         switch self {
31 |         case .respectProtocolStandard: .useProtocolCachePolicy
/host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLRequestSerializer.swift:12:53: error: cannot find type 'URLRequest' in scope
10 | struct URLRequestSerializer: Sendable {
11 |
12 |     func serialize(_ request: NetworkingRequest) -> URLRequest {
   |                                                     `- error: cannot find type 'URLRequest' in scope
13 |         var urlRequest = URLRequest(url: url(request), cachePolicy: cachePolicy(request), timeoutInterval: timeoutInterval(request))
14 |         urlRequest.httpMethod = httpMethod(request)
/host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLRequestSerializer.swift:28:55: error: cannot find type 'URLRequest' in scope
26 |     }
27 |
28 |     func cachePolicy(_ request: NetworkingRequest) -> URLRequest.CachePolicy {
   |                                                       `- error: cannot find type 'URLRequest' in scope
29 |         return request.cachePolicy.rawValue
30 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLSessionTaskResultSerializer.swift:20:57: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     }
19 |
20 |     func urlResponse(_ response: NetworkingResponse) -> URLResponse {
   |                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |         guard let httpUrlResponse = httpUrlResponse(response) else {
22 |             return URLResponse(
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/SwiftyNetworking/Serializers/URLSessionTaskResultSerializer.swift:32:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |     }
31 |
32 |     func httpUrlResponse(_ response: NetworkingResponse) -> HTTPURLResponse? {
   |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |         HTTPURLResponse(
34 |             url: response.url,
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/SwiftyNetworking/Structs/NetworkingMetric.swift:34:28: error: cannot find type 'URLSessionTaskMetrics' in scope
32 |     }
33 |
34 |     public init?(rawValue: URLSessionTaskMetrics) {
   |                            `- error: cannot find type 'URLSessionTaskMetrics' in scope
35 |         guard let metric = deserializer.deserialize(rawValue) else { return nil }
36 |         self.start = metric.start
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift:49:28: error: cannot find type 'URLRequest' in scope
47 |     }
48 |
49 |     public init?(rawValue: URLRequest) {
   |                            `- error: cannot find type 'URLRequest' in scope
50 |         guard let request = deserializer.deserialize(rawValue) else { return nil }
51 |         self.url = request.url
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift:60:26: error: cannot find type 'URLRequest' in scope
58 |     }
59 |
60 |     public var rawValue: URLRequest {
   |                          `- error: cannot find type 'URLRequest' in scope
61 |         return serializer.serialize(self)
62 |     }
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift:10:15: error: type 'NetworkingRequest' does not conform to protocol 'RawRepresentable'
 8 | import Foundation
 9 |
10 | public struct NetworkingRequest: Sendable, RawRepresentable {
   |               |- error: type 'NetworkingRequest' does not conform to protocol 'RawRepresentable'
   |               `- note: add stubs for conformance
11 |     public private(set) var url: URL
12 |     public var method: NetworkingMethod
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
  |                `- note: protocol requires nested type 'RawValue'
3 |
/host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingResponse.swift:40:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |     }
39 |
40 |     public init?(rawValue: (data: Data, urlResponse: URLResponse)) {
   |                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |         guard let response = deserializer.deserialize(rawValue) else { return nil }
42 |         self.url = response.url
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/SwiftyNetworking/Structs/NetworkingResponse.swift:52:52: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 |     }
51 |
52 |     public var rawValue: (data: Data, urlResponse: URLResponse) {
   |                                                    `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
53 |         return serializer.serialize(self)
54 |     }
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/SwiftyNetworking/Typealiases/URLSessionTaskResult.swift:10:67: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 | import Foundation
 9 |
10 | public typealias URLSessionTaskResult = (data: Data, urlResponse: URLResponse)
   |                                                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
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
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftyNetworking/Actors/NetworkingClient.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Classes/NetworkingQueue.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Delegates/NetworkingDelegate.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLRequestDeserializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskMetricsDeserializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Deserializers/URLSessionTaskResultDeserializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingCachePolicy.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingEncoding.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingMethod.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingMimeType.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingResponseStatus.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingScheme.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingSource.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Enums/NetworkingStandard.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Errors/NetworkingError.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLRequestSerializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Serializers/URLSessionTaskResultSerializer.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingMetric.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingRequest.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Structs/NetworkingResponse.swift /host/spi-builder-workspace/Sources/SwiftyNetworking/Typealiases/URLSessionTaskResult.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/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftyNetworking -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/SwiftyNetworking_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/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/Modules/SwiftyNetworking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/Modules/SwiftyNetworking.swiftsou[27 / 35] SwiftyNetworking
rceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/SwiftyNetworking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/SwiftyNetworking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/SwiftyNetworking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftyNetworking.build/Debug-webassembly-wasm32/SwiftyNetworking-t.build/Objects-normal/wasm32/Modules/SwiftyNetworking.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm