The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EagleNet, reference 2.1.1 (6e7618), with Swift 6.3 for Wasm on 19 Apr 2026 09:41:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/AnbalaganD/EagleNet.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/26] Emitting module EagleNet
/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: 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/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/Extensions/HTTPURLResponseExtension.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
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>
[4/29] Compiling EagleNet NetworkRequestable.swift
/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
[5/29] Compiling EagleNet URLConvertible.swift
/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
[6/29] Compiling EagleNet SessionDelegate.swift
/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
[7/29] Compiling EagleNet HTTPContentType.swift
/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 |
[8/29] Compiling EagleNet HTTPMethod.swift
/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 |
[9/29] Compiling EagleNet RequestInterceptor.swift
/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 |
[10/29] Compiling EagleNet MultipartRequest.swift
/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: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/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: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/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/NetworkService.swift:173:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
171 |         }
172 |
173 |         let result = try await urlSession.data(for: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
174 |
175 |         return try await responseInterceptors.reduce(result) { result, interceptor in
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:200:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
198 |         let bodyData = urlRequest.httpBody ?? Data()
199 |         urlRequest.httpBody = nil
200 |         let result = try await urlSession.upload(
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
201 |             for: urlRequest,
202 |             from: bodyData,
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:223:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
221 |         }
222 |
223 |         let result = try await urlSession.download(
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
224 |             for: urlRequest,
225 |             delegate: SessionDelegate(downloadProgress: progress)
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:262:26: error: cannot find 'URLRequest' in scope
260 |         let url = try getRequestURL(request)
261 |
262 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
263 |         urlRequest.httpMethod = request.httpMethod.rawValue
264 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:311:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
309 |         response: URLResponse
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:311:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |         response: URLResponse
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
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/EagleNet/NetworkService.swift:312:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
312 |               !httpURLResponse.isSuccess {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:314:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
315 |                 statusCode: httpURLResponse.statusCode,
316 |                 data: data
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:315:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
315 |                 statusCode: httpURLResponse.statusCode,
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
316 |                 data: data
317 |             )
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:347:41: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
345 |         }
346 |
347 |         let name = fileName ?? response.suggestedFilename ?? "download_\(UUID().uuidString)"
    |                                         `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
348 |         let downloadLocation = storedPath.appendingPathComponent(name)
349 |
[11/29] Compiling EagleNet NetworkError.swift
/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: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/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: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/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/NetworkService.swift:173:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
171 |         }
172 |
173 |         let result = try await urlSession.data(for: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
174 |
175 |         return try await responseInterceptors.reduce(result) { result, interceptor in
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:200:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
198 |         let bodyData = urlRequest.httpBody ?? Data()
199 |         urlRequest.httpBody = nil
200 |         let result = try await urlSession.upload(
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
201 |             for: urlRequest,
202 |             from: bodyData,
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:223:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
221 |         }
222 |
223 |         let result = try await urlSession.download(
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
224 |             for: urlRequest,
225 |             delegate: SessionDelegate(downloadProgress: progress)
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:262:26: error: cannot find 'URLRequest' in scope
260 |         let url = try getRequestURL(request)
261 |
262 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
263 |         urlRequest.httpMethod = request.httpMethod.rawValue
264 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:311:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
309 |         response: URLResponse
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:311:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |         response: URLResponse
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
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/EagleNet/NetworkService.swift:312:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
312 |               !httpURLResponse.isSuccess {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:314:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
315 |                 statusCode: httpURLResponse.statusCode,
316 |                 data: data
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:315:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
315 |                 statusCode: httpURLResponse.statusCode,
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
316 |                 data: data
317 |             )
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:347:41: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
345 |         }
346 |
347 |         let name = fileName ?? response.suggestedFilename ?? "download_\(UUID().uuidString)"
    |                                         `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
348 |         let downloadLocation = storedPath.appendingPathComponent(name)
349 |
[12/29] Compiling EagleNet NetworkService.swift
/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: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/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: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/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/NetworkService.swift:173:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
171 |         }
172 |
173 |         let result = try await urlSession.data(for: urlRequest)
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
174 |
175 |         return try await responseInterceptors.reduce(result) { result, interceptor in
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:200:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
198 |         let bodyData = urlRequest.httpBody ?? Data()
199 |         urlRequest.httpBody = nil
200 |         let result = try await urlSession.upload(
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'upload'
201 |             for: urlRequest,
202 |             from: bodyData,
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:223:43: error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
221 |         }
222 |
223 |         let result = try await urlSession.download(
    |                                           `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'download'
224 |             for: urlRequest,
225 |             delegate: SessionDelegate(downloadProgress: progress)
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:262:26: error: cannot find 'URLRequest' in scope
260 |         let url = try getRequestURL(request)
261 |
262 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
263 |         urlRequest.httpMethod = request.httpMethod.rawValue
264 |
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:311:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
309 |         response: URLResponse
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
    |                                           `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:311:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |         response: URLResponse
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
    |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
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/EagleNet/NetworkService.swift:312:32: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
310 |     ) throws -> Response {
311 |         if let httpURLResponse = response as? HTTPURLResponse,
312 |               !httpURLResponse.isSuccess {
    |                                `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccess'
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:314:42: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
312 |               !httpURLResponse.isSuccess {
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
    |                                          `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'description'
315 |                 statusCode: httpURLResponse.statusCode,
316 |                 data: data
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:315:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
313 |             throw NetworkError.failure(
314 |                 message: httpURLResponse.description,
315 |                 statusCode: httpURLResponse.statusCode,
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
316 |                 data: data
317 |             )
/host/spi-builder-workspace/Sources/EagleNet/NetworkService.swift:347:41: error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
345 |         }
346 |
347 |         let name = fileName ?? response.suggestedFilename ?? "download_\(UUID().uuidString)"
    |                                         `- error: value of type 'URLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
348 |         let downloadLocation = storedPath.appendingPathComponent(name)
349 |
[13/29] Compiling EagleNet EagleNet+Get.swift
/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
[14/29] Compiling EagleNet EagleNet+Interceptor.swift
/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
[15/29] Compiling EagleNet EagleNet+Post.swift
/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
[16/29] Compiling EagleNet EagleNet+Put.swift
/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
[17/29] Compiling EagleNet ArrayExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[18/29] Compiling EagleNet DataExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[19/29] Compiling EagleNet HTTPURLResponseExtension.swift
/host/spi-builder-workspace/Sources/EagleNet/Extensions/HTTPURLResponseExtension.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[20/29] Compiling EagleNet EagleNet+Upload.swift
/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(),
[21/29] Compiling EagleNet EagleNet.swift
/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(),
[22/29] Compiling EagleNet EagleNetActor.swift
/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(),
[23/29] Compiling EagleNet ResponseInterceptor.swift
/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
[24/29] Compiling EagleNet Misc.swift
/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
[25/29] Compiling EagleNet MultipartParameter.swift
/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
[26/29] Compiling EagleNet DataRequest.swift
/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
[27/29] Compiling EagleNet EagleNet+Custom.swift
/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
[28/29] Compiling EagleNet EagleNet+Delete.swift
/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
[29/29] Compiling EagleNet EagleNet+Download.swift
/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
BUILD FAILURE 6.3 wasm