The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EagleNet, reference main (6e7618), with Swift 6.1 for Wasm on 25 Mar 2026 22:12:12 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 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: 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 |
[29/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: 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 |
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/25] 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/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/Extensions/HTTPURLResponseExtension.swift:13:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
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
[3/25] 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 |
[4/25] 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 |
[5/25] 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 |
[6/25] 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
[7/25] 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
[8/25] 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
[9/28] 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
[10/28] 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
[11/28] 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
[12/28] 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
[13/28] 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/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(),
[14/28] 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/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(),
[15/28] 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/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(),
[16/28] 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
[17/28] 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
[18/28] 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
[19/28] 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: 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 |
[20/28] 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: 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 |
[21/28] 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: 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 |
[22/28] 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
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
[23/28] 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
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
[24/28] 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
11 | #endif
12 |
13 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
14 |     /// Convenience property for checking if an `HTTPURLResponse` is successful.
15 |     ///
[25/28] 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
[26/28] 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
[27/28] 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
[28/28] 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
BUILD FAILURE 6.1 wasm