The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EagleNet, reference 2.1.1 (6e7618), with Swift 6.4 for Wasm on 24 Sep 2026 12:49:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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/AnbalaganD/EagleNet.git
Reference: 2.1.1
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/AnbalaganD/EagleNet
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 6e7618b Update the version number and documents.
Cloned https://github.com/AnbalaganD/EagleNet.git
Revision (git rev-parse @):
6e7618b123c99f22f77e560cbd9298dcf6bfad44
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AnbalaganD/EagleNet.git at 2.1.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/AnbalaganD/EagleNet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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/EagleNet/EagleNet+Custom.swift:76:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |     public static func execute(
75 |         _ request: any NetworkRequestable
76 |     ) async throws -> (Data, URLResponse) {
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 |         try await networkService.execute(request)
78 |     }
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/EagleNet/EagleNet+Delete.swift:80:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         parameters: [String: String]? = nil,
79 |         body: Body? = nil
80 |     ) async throws -> (Data, URLResponse) {
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |         try await networkService.execute(
82 |             DataRequest(
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/EagleNet/EagleNet+Download.swift:68:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |         fileName: String? = nil,
67 |         progress: ProgressHandler? = nil
68 |     ) async throws -> (URL, URLResponse) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 |         try await networkService.download(
70 |             DataRequest(
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/EagleNet/EagleNet+Get.swift:80:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         parameters: [String: String]? = nil,
79 |         body: Body? = nil
80 |     ) async throws -> (Data, URLResponse) {
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |         try await networkService.execute(
82 |             DataRequest(
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/EagleNet/EagleNet+Post.swift:80:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         parameters: [String: String]? = nil,
79 |         body: Body? = nil
80 |     ) async throws -> (Data, URLResponse) {
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |         try await networkService.execute(
82 |             DataRequest(
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/EagleNet/EagleNet+Put.swift:80:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 |         parameters: [String: String]? = nil,
79 |         body: Body? = nil
80 |     ) async throws -> (Data, URLResponse) {
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 |         try await networkService.execute(
82 |             DataRequest(
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/EagleNet/EagleNet+Upload.swift:94:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         parameters: [MultipartParameter] = [],
 93 |         progress: ProgressHandler? = nil
 94 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |         try await networkService.upload(
 96 |             makeRequest(
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/EagleNet/NetworkService.swift:150:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
148 |
149 |     required init(
150 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
151 |         jsonEncoder: JSONEncoder = .init(),
152 |         jsonDecoder: JSONDecoder = .init(),
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:150:35: error: value of type '_' expected to be instance of class or class-constrained type
148 |
149 |     required init(
150 |         urlSession: URLSession = .shared,
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
151 |         jsonEncoder: JSONEncoder = .init(),
152 |         jsonDecoder: JSONDecoder = .init(),
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:134:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
132 |     /// ```
133 |     public static func defaultService(
134 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
135 |         jsonEncoder: JSONEncoder = .init(),
136 |         jsonDecoder: JSONDecoder = .init(),
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/EagleNet/EagleNet.swift:134:35: error: value of type '_' expected to be instance of class or class-constrained type
132 |     /// ```
133 |     public static func defaultService(
134 |         urlSession: URLSession = .shared,
    |                                   `- error: value of type '_' expected to be instance of class or class-constrained type
135 |         jsonEncoder: JSONEncoder = .init(),
136 |         jsonDecoder: JSONDecoder = .init(),
/host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift:134:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
132 |     /// ```
133 |     public static func defaultService(
134 |         urlSession: URLSession = .shared,
    |                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
135 |         jsonEncoder: JSONEncoder = .init(),
136 |         jsonDecoder: JSONDecoder = .init(),
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:27:64: error: cannot find type 'URLRequest' in scope
25 | /// ```
26 | public protocol RequestInterceptor: Sendable {
27 |     func modify(request: consuming URLRequest) async throws -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift:27:36: error: cannot find type 'URLRequest' in scope
25 | /// ```
26 | public protocol RequestInterceptor: Sendable {
27 |     func modify(request: consuming URLRequest) async throws -> URLRequest
   |                                    `- error: cannot find type 'URLRequest' in scope
28 | }
29 |
/host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift:42:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |     func modify(
41 |         data: consuming Data,
42 |         urlResponse: consuming URLResponse
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |     ) async throws -> (Data, URLResponse)
44 |
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/EagleNet/Interceptor/ResponseInterceptor.swift:43:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |         data: consuming Data,
42 |         urlResponse: consuming URLResponse
43 |     ) async throws -> (Data, URLResponse)
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |
45 |     /// Intercepts a response for a download request after the payload has been saved to a local file 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/EagleNet/Interceptor/ResponseInterceptor.swift:58:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 |     func modify(
57 |         url: consuming URL,
58 |         urlResponse: consuming URLResponse
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 |     ) async throws -> (URL, URLResponse)
60 | }
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/EagleNet/Interceptor/ResponseInterceptor.swift:59:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
57 |         url: consuming URL,
58 |         urlResponse: consuming URLResponse
59 |     ) async throws -> (URL, URLResponse)
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | }
61 |
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/EagleNet/Interceptor/ResponseInterceptor.swift:65:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 |     func modify(
64 |         data: consuming Data,
65 |         urlResponse: consuming URLResponse
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |     ) async throws -> (Data, URLResponse) {
67 |         (data, 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/EagleNet/Interceptor/ResponseInterceptor.swift:66:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 |         data: consuming Data,
65 |         urlResponse: consuming URLResponse
66 |     ) async throws -> (Data, URLResponse) {
   |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 |         (data, urlResponse)
68 |     }
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/EagleNet/Interceptor/ResponseInterceptor.swift:72:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 |     func modify(
71 |         url: consuming URL,
72 |         urlResponse: consuming URLResponse
   |                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
73 |     ) async throws -> (URL, URLResponse) {
74 |         (url, 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/EagleNet/Interceptor/ResponseInterceptor.swift:73:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |         url: consuming URL,
72 |         urlResponse: consuming URLResponse
73 |     ) async throws -> (URL, URLResponse) {
   |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
74 |         (url, urlResponse)
75 |     }
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/EagleNet/NetworkService.swift:44:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |     ///   - jsonDecoder: Decoder for response deserialization
 43 |     init(
 44 |         urlSession: URLSession,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 45 |         jsonEncoder: JSONEncoder,
 46 |         jsonDecoder: JSONDecoder,
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/EagleNet/NetworkService.swift:66:76: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |     /// - Returns: Tuple containing raw response Data and URLResponse
 65 |     /// - Throws: NetworkError if the request fails
 66 |     func execute(_ request: any NetworkRequestable) async throws -> (Data, URLResponse)
    |                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 67 |
 68 |     /// Uploads data with progress tracking
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/EagleNet/NetworkService.swift:94:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         _ request: any NetworkRequestable,
 93 |         progress: ProgressHandler?
 94 |     ) async throws -> (Data, URLResponse)
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |
 96 |     /// Downloads a file to a specified local directory
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/EagleNet/NetworkService.swift:129:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 |         fileName: String?,
128 |         progress: ProgressHandler?
129 |     ) async throws -> (URL, URLResponse)
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |
131 |     /// Adds an interceptor to modify requests before they are sent
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/EagleNet/NetworkService.swift:141:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |
140 | final class DefaultNetworkService: NetworkService, @unchecked Sendable {
141 |     private let urlSession: URLSession
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
142 |     private let jsonEncoder: JSONEncoder
143 |     private let jsonDecoder: JSONDecoder
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/EagleNet/NetworkService.swift:150:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |
149 |     required init(
150 |         urlSession: URLSession = .shared,
    |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |         jsonEncoder: JSONEncoder = .init(),
152 |         jsonDecoder: JSONDecoder = .init(),
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/EagleNet/NetworkService.swift:166:76: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
164 |     }
165 |
166 |     func execute(_ request: any NetworkRequestable) async throws -> (Data, URLResponse) {
    |                                                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 |         var urlRequest = try buildRequest(from: request)
168 |
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/EagleNet/NetworkService.swift:191:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 |         _ request: any NetworkRequestable,
190 |         progress: ProgressHandler?
191 |     ) async throws -> (Data, URLResponse) {
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 |         var urlRequest = try buildRequest(from: request)
193 |
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/EagleNet/NetworkService.swift:216:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |         fileName: String? = nil,
215 |         progress: ProgressHandler? = nil
216 |     ) async throws -> (URL, URLResponse) {
    |                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 |         var urlRequest = try buildRequest(from: request)
218 |
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/EagleNet/NetworkService.swift:259:17: error: cannot find type 'URLRequest' in scope
257 |     private func buildRequest(
258 |         from request: any NetworkRequestable
259 |     ) throws -> URLRequest {
    |                 `- error: cannot find type 'URLRequest' in scope
260 |         let url = try getRequestURL(request)
261 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:309:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |     private func handleResponse<Response: Decodable>(
308 |         data: Data,
309 |         response: URLResponse
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
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/EagleNet/NetworkService.swift:330:19: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
328 |     private func handleDownloadResponse(
329 |         url: URL,
330 |         response: URLResponse,
    |                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 |         destinationDirectory location: any URLConvertible,
332 |         fileName: String? = nil
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/EagleNet/NetworkService.swift:333:23: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 |         destinationDirectory location: any URLConvertible,
332 |         fileName: String? = nil
333 |     ) throws -> (URL, URLResponse) {
    |                       `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 |         let storedPath = try location.asURL()
335 |         guard storedPath.isFileURL else {
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/EagleNet/SessionDelegate.swift:13:40: error: cannot find type 'URLSessionTaskDelegate' in scope
11 | #endif
12 |
13 | final class SessionDelegate: NSObject, URLSessionTaskDelegate, URLSessionDownloadDelegate {
   |                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
14 |     private let uploadProgress: ProgressHandler?
15 |     private let downloadProgress: ProgressHandler?
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:13:64: error: cannot find type 'URLSessionDownloadDelegate' in scope
11 | #endif
12 |
13 | final class SessionDelegate: NSObject, URLSessionTaskDelegate, URLSessionDownloadDelegate {
   |                                                                `- error: cannot find type 'URLSessionDownloadDelegate' in scope
14 |     private let uploadProgress: ProgressHandler?
15 |     private let downloadProgress: ProgressHandler?
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:26:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |
25 |     func urlSession(
26 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |         task: URLSessionTask,
28 |         didSendBodyData bytesSent: Int64,
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/EagleNet/SessionDelegate.swift:27:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     func urlSession(
26 |         _ session: URLSession,
27 |         task: URLSessionTask,
   |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         didSendBodyData bytesSent: Int64,
29 |         totalBytesSent: Int64,
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/EagleNet/SessionDelegate.swift:36:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 |
35 |     func urlSession(
36 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 |         downloadTask: URLSessionDownloadTask,
38 |         didFinishDownloadingTo location: URL
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/EagleNet/SessionDelegate.swift:37:23: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     func urlSession(
36 |         _ session: URLSession,
37 |         downloadTask: URLSessionDownloadTask,
   |                       `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         didFinishDownloadingTo location: URL
39 |     ) { }
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.swift:42:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 |
41 |     func urlSession(
42 |         _ session: URLSession,
   |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 |         downloadTask: URLSessionDownloadTask,
44 |         didWriteData bytesWritten: Int64,
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/EagleNet/SessionDelegate.swift:43:23: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 |     func urlSession(
42 |         _ session: URLSession,
43 |         downloadTask: URLSessionDownloadTask,
   |                       `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 |         didWriteData bytesWritten: Int64,
45 |         totalBytesWritten: Int64,
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/EagleNet/DataRequest.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Custom.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Delete.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Download.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Get.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Interceptor.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Post.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Put.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet+Upload.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNet.swift /host/spi-builder-workspace/Sources/EagleNet/EagleNetActor.swift /host/spi-builder-workspace/Sources/EagleNet/Extensions/ArrayExtension.swift /host/spi-builder-workspace/Sources/EagleNet/Extensions/DataExtension.swift /host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift /host/spi-builder-workspace/Sources/EagleNet/HTTPContentType.swift /host/spi-builder-workspace/Sources/EagleNet/HTTPMethod.swift /host/spi-builder-workspace/Sources/EagleNet/Interceptor/RequestInterceptor.swift /host/spi-builder-workspace/Sources/EagleNet/Interceptor/ResponseInterceptor.swift /host/spi-builder-workspace/Sources/EagleNet/Misc.swift /host/spi-builder-workspace/Sources/EagleNet/MultipartParameter.swift /host/spi-builder-workspace/Sources/EagleNet/MultipartRequest.swift /host/spi-builder-workspace/Sources/EagleNet/NetworkError.swift /host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift /host/spi-builder-workspace/Sources/EagleNet/Protocol/NetworkRequestable.swift /host/spi-builder-workspace/Sources/EagleNet/Protocol/URLConvertible.swift /host/spi-builder-workspace/Sources/EagleNet/SessionDelegate.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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature ExistentialAny -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/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name EagleNet -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/EagleNet_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/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/Modules/EagleNet.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/Modules/EagleNet.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/EagleNet-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/EagleNet-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/EagleNet-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/EagleNet.build/Debug-webassembly-wasm32/EagleNet-t.build/Objects-normal/wasm32/Modules/EagleNet.swiftmodule
[27 / 35] EagleNet
error: Build failed
BUILD FAILURE 6.4 wasm