The Swift Package Index logo.Swift Package Index

Build Information

Failed to build EZNetworking, reference 5.6.0 (c0bc82), with Swift 6.2 for Wasm on 26 Jun 2026 09:14:01 UTC.

Build Command

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

Build Log

/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[74/90] Compiling EZNetworking SSERequest.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |         body: HTTPBody?,
11 |         timeoutInterval: TimeInterval,
12 |         cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
13 |     ) -> Request
14 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:26:22: error: cannot find type 'URLRequest' in scope
24 |         body: HTTPBody? = nil,
25 |         timeoutInterval: TimeInterval = 60,
26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
27 |     ) -> Request {
28 |         EZRequest(httpMethod: httpMethod, baseUrl: baseUrlString, parameters: parameters, headers: headers, body: body, timeoutInterval: timeoutInterval, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/EZRequest.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody?
 9 |     var timeoutInterval: TimeInterval
10 |     var cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody? { get }
 9 |     var timeoutInterval: TimeInterval { get }
10 |     var cachePolicy: URLRequest.CachePolicy { get }
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:16:29: error: cannot find type 'URLRequest' in scope
14 | extension Request {
15 |     public var timeoutInterval: TimeInterval { 60 }
16 |     public var cachePolicy: URLRequest.CachePolicy { .useProtocolCachePolicy }
   |                             `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:21:93: error: cannot find type 'URLRequest' in scope
19 | // additions
20 | extension Request {
21 |     public func getURLRequest(allowedSchemes: URLBuilder.URLSchemePolicy = .http) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:24:23: error: cannot find 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
24 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
25 |         request.httpMethod = httpMethod.rawValue
26 |         request.httpBody = body?.toData()
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Parameters/HTTPParameterApplier.swift:6:75: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ parameters: [HTTPParameter], to urlRequest: inout URLRequest) {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
 7 |         guard !parameters.isEmpty,
 8 |               let url = urlRequest.url,
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Headers/HTTPHeaderApplier.swift:6:69: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ headers: [HTTPHeader], to urlRequest: inout URLRequest) {
   |                                                                     `- error: cannot find type 'URLRequest' in scope
 7 |         for header in headers {
 8 |             urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/SSERequest.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |     public var parameters: [HTTPParameter]? { nil }
32 |     public var body: (any HTTPBody)? { nil }
33 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
34 |     public var timeoutInterval: TimeInterval { 60 } // 1 minute
35 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/WebSocketRequest.swift:28:29: error: cannot find type 'URLRequest' in scope
26 |     public var parameters: [HTTPParameter]? { nil }
27 |     public var body: (any HTTPBody)? { nil }
28 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:18:61: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
   |                                                             `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
19 |             onEvent(.onDownloadCompleted(location))
20 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:38:48: error: value of type 'URLError' has no member 'downloadTaskResumeData'
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
   |                                                `- error: value of type 'URLError' has no member 'downloadTaskResumeData'
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
40 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[75/90] Compiling EZNetworking UploadRequest.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |         body: HTTPBody?,
11 |         timeoutInterval: TimeInterval,
12 |         cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
13 |     ) -> Request
14 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:26:22: error: cannot find type 'URLRequest' in scope
24 |         body: HTTPBody? = nil,
25 |         timeoutInterval: TimeInterval = 60,
26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
27 |     ) -> Request {
28 |         EZRequest(httpMethod: httpMethod, baseUrl: baseUrlString, parameters: parameters, headers: headers, body: body, timeoutInterval: timeoutInterval, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/EZRequest.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody?
 9 |     var timeoutInterval: TimeInterval
10 |     var cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody? { get }
 9 |     var timeoutInterval: TimeInterval { get }
10 |     var cachePolicy: URLRequest.CachePolicy { get }
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:16:29: error: cannot find type 'URLRequest' in scope
14 | extension Request {
15 |     public var timeoutInterval: TimeInterval { 60 }
16 |     public var cachePolicy: URLRequest.CachePolicy { .useProtocolCachePolicy }
   |                             `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:21:93: error: cannot find type 'URLRequest' in scope
19 | // additions
20 | extension Request {
21 |     public func getURLRequest(allowedSchemes: URLBuilder.URLSchemePolicy = .http) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:24:23: error: cannot find 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
24 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
25 |         request.httpMethod = httpMethod.rawValue
26 |         request.httpBody = body?.toData()
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Parameters/HTTPParameterApplier.swift:6:75: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ parameters: [HTTPParameter], to urlRequest: inout URLRequest) {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
 7 |         guard !parameters.isEmpty,
 8 |               let url = urlRequest.url,
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Headers/HTTPHeaderApplier.swift:6:69: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ headers: [HTTPHeader], to urlRequest: inout URLRequest) {
   |                                                                     `- error: cannot find type 'URLRequest' in scope
 7 |         for header in headers {
 8 |             urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/SSERequest.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |     public var parameters: [HTTPParameter]? { nil }
32 |     public var body: (any HTTPBody)? { nil }
33 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
34 |     public var timeoutInterval: TimeInterval { 60 } // 1 minute
35 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/WebSocketRequest.swift:28:29: error: cannot find type 'URLRequest' in scope
26 |     public var parameters: [HTTPParameter]? { nil }
27 |     public var body: (any HTTPBody)? { nil }
28 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:18:61: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
   |                                                             `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
19 |             onEvent(.onDownloadCompleted(location))
20 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:38:48: error: value of type 'URLError' has no member 'downloadTaskResumeData'
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
   |                                                `- error: value of type 'URLError' has no member 'downloadTaskResumeData'
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
40 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[76/90] Compiling EZNetworking WebSocketRequest.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |         body: HTTPBody?,
11 |         timeoutInterval: TimeInterval,
12 |         cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
13 |     ) -> Request
14 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:26:22: error: cannot find type 'URLRequest' in scope
24 |         body: HTTPBody? = nil,
25 |         timeoutInterval: TimeInterval = 60,
26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
27 |     ) -> Request {
28 |         EZRequest(httpMethod: httpMethod, baseUrl: baseUrlString, parameters: parameters, headers: headers, body: body, timeoutInterval: timeoutInterval, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/EZRequest.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody?
 9 |     var timeoutInterval: TimeInterval
10 |     var cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody? { get }
 9 |     var timeoutInterval: TimeInterval { get }
10 |     var cachePolicy: URLRequest.CachePolicy { get }
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:16:29: error: cannot find type 'URLRequest' in scope
14 | extension Request {
15 |     public var timeoutInterval: TimeInterval { 60 }
16 |     public var cachePolicy: URLRequest.CachePolicy { .useProtocolCachePolicy }
   |                             `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:21:93: error: cannot find type 'URLRequest' in scope
19 | // additions
20 | extension Request {
21 |     public func getURLRequest(allowedSchemes: URLBuilder.URLSchemePolicy = .http) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:24:23: error: cannot find 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
24 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
25 |         request.httpMethod = httpMethod.rawValue
26 |         request.httpBody = body?.toData()
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Parameters/HTTPParameterApplier.swift:6:75: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ parameters: [HTTPParameter], to urlRequest: inout URLRequest) {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
 7 |         guard !parameters.isEmpty,
 8 |               let url = urlRequest.url,
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Headers/HTTPHeaderApplier.swift:6:69: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ headers: [HTTPHeader], to urlRequest: inout URLRequest) {
   |                                                                     `- error: cannot find type 'URLRequest' in scope
 7 |         for header in headers {
 8 |             urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/SSERequest.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |     public var parameters: [HTTPParameter]? { nil }
32 |     public var body: (any HTTPBody)? { nil }
33 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
34 |     public var timeoutInterval: TimeInterval { 60 } // 1 minute
35 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/WebSocketRequest.swift:28:29: error: cannot find type 'URLRequest' in scope
26 |     public var parameters: [HTTPParameter]? { nil }
27 |     public var body: (any HTTPBody)? { nil }
28 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:18:61: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
   |                                                             `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
19 |             onEvent(.onDownloadCompleted(location))
20 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:38:48: error: value of type 'URLError' has no member 'downloadTaskResumeData'
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
   |                                                `- error: value of type 'URLError' has no member 'downloadTaskResumeData'
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
40 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[77/90] Compiling EZNetworking DefaultDownloadTaskInterceptor.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |         body: HTTPBody?,
11 |         timeoutInterval: TimeInterval,
12 |         cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
13 |     ) -> Request
14 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:26:22: error: cannot find type 'URLRequest' in scope
24 |         body: HTTPBody? = nil,
25 |         timeoutInterval: TimeInterval = 60,
26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
27 |     ) -> Request {
28 |         EZRequest(httpMethod: httpMethod, baseUrl: baseUrlString, parameters: parameters, headers: headers, body: body, timeoutInterval: timeoutInterval, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/EZRequest.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody?
 9 |     var timeoutInterval: TimeInterval
10 |     var cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody? { get }
 9 |     var timeoutInterval: TimeInterval { get }
10 |     var cachePolicy: URLRequest.CachePolicy { get }
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:16:29: error: cannot find type 'URLRequest' in scope
14 | extension Request {
15 |     public var timeoutInterval: TimeInterval { 60 }
16 |     public var cachePolicy: URLRequest.CachePolicy { .useProtocolCachePolicy }
   |                             `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:21:93: error: cannot find type 'URLRequest' in scope
19 | // additions
20 | extension Request {
21 |     public func getURLRequest(allowedSchemes: URLBuilder.URLSchemePolicy = .http) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:24:23: error: cannot find 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
24 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
25 |         request.httpMethod = httpMethod.rawValue
26 |         request.httpBody = body?.toData()
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Parameters/HTTPParameterApplier.swift:6:75: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ parameters: [HTTPParameter], to urlRequest: inout URLRequest) {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
 7 |         guard !parameters.isEmpty,
 8 |               let url = urlRequest.url,
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Headers/HTTPHeaderApplier.swift:6:69: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ headers: [HTTPHeader], to urlRequest: inout URLRequest) {
   |                                                                     `- error: cannot find type 'URLRequest' in scope
 7 |         for header in headers {
 8 |             urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/SSERequest.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |     public var parameters: [HTTPParameter]? { nil }
32 |     public var body: (any HTTPBody)? { nil }
33 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
34 |     public var timeoutInterval: TimeInterval { 60 } // 1 minute
35 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/WebSocketRequest.swift:28:29: error: cannot find type 'URLRequest' in scope
26 |     public var parameters: [HTTPParameter]? { nil }
27 |     public var body: (any HTTPBody)? { nil }
28 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:18:61: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
   |                                                             `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
19 |             onEvent(.onDownloadCompleted(location))
20 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:38:48: error: value of type 'URLError' has no member 'downloadTaskResumeData'
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
   |                                                `- error: value of type 'URLError' has no member 'downloadTaskResumeData'
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
40 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[78/90] Compiling EZNetworking DefaultUploadTaskInterceptor.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |         body: HTTPBody?,
11 |         timeoutInterval: TimeInterval,
12 |         cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
13 |     ) -> Request
14 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:26:22: error: cannot find type 'URLRequest' in scope
24 |         body: HTTPBody? = nil,
25 |         timeoutInterval: TimeInterval = 60,
26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
27 |     ) -> Request {
28 |         EZRequest(httpMethod: httpMethod, baseUrl: baseUrlString, parameters: parameters, headers: headers, body: body, timeoutInterval: timeoutInterval, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/EZRequest.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody?
 9 |     var timeoutInterval: TimeInterval
10 |     var cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody? { get }
 9 |     var timeoutInterval: TimeInterval { get }
10 |     var cachePolicy: URLRequest.CachePolicy { get }
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:16:29: error: cannot find type 'URLRequest' in scope
14 | extension Request {
15 |     public var timeoutInterval: TimeInterval { 60 }
16 |     public var cachePolicy: URLRequest.CachePolicy { .useProtocolCachePolicy }
   |                             `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:21:93: error: cannot find type 'URLRequest' in scope
19 | // additions
20 | extension Request {
21 |     public func getURLRequest(allowedSchemes: URLBuilder.URLSchemePolicy = .http) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:24:23: error: cannot find 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
24 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
25 |         request.httpMethod = httpMethod.rawValue
26 |         request.httpBody = body?.toData()
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Parameters/HTTPParameterApplier.swift:6:75: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ parameters: [HTTPParameter], to urlRequest: inout URLRequest) {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
 7 |         guard !parameters.isEmpty,
 8 |               let url = urlRequest.url,
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Headers/HTTPHeaderApplier.swift:6:69: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ headers: [HTTPHeader], to urlRequest: inout URLRequest) {
   |                                                                     `- error: cannot find type 'URLRequest' in scope
 7 |         for header in headers {
 8 |             urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/SSERequest.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |     public var parameters: [HTTPParameter]? { nil }
32 |     public var body: (any HTTPBody)? { nil }
33 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
34 |     public var timeoutInterval: TimeInterval { 60 } // 1 minute
35 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/WebSocketRequest.swift:28:29: error: cannot find type 'URLRequest' in scope
26 |     public var parameters: [HTTPParameter]? { nil }
27 |     public var body: (any HTTPBody)? { nil }
28 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:18:61: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
   |                                                             `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
19 |             onEvent(.onDownloadCompleted(location))
20 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:38:48: error: value of type 'URLError' has no member 'downloadTaskResumeData'
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
   |                                                `- error: value of type 'URLError' has no member 'downloadTaskResumeData'
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
40 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[79/90] Compiling EZNetworking DefaultWebSocketTaskInterceptor.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:12:22: error: cannot find type 'URLRequest' in scope
10 |         body: HTTPBody?,
11 |         timeoutInterval: TimeInterval,
12 |         cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
13 |     ) -> Request
14 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Creational/RequestFactory.swift:26:22: error: cannot find type 'URLRequest' in scope
24 |         body: HTTPBody? = nil,
25 |         timeoutInterval: TimeInterval = 60,
26 |         cachePolicy: URLRequest.CachePolicy = .useProtocolCachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
27 |     ) -> Request {
28 |         EZRequest(httpMethod: httpMethod, baseUrl: baseUrlString, parameters: parameters, headers: headers, body: body, timeoutInterval: timeoutInterval, cachePolicy: cachePolicy)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/EZRequest.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody?
 9 |     var timeoutInterval: TimeInterval
10 |     var cachePolicy: URLRequest.CachePolicy
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:10:22: error: cannot find type 'URLRequest' in scope
 8 |     var body: HTTPBody? { get }
 9 |     var timeoutInterval: TimeInterval { get }
10 |     var cachePolicy: URLRequest.CachePolicy { get }
   |                      `- error: cannot find type 'URLRequest' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:16:29: error: cannot find type 'URLRequest' in scope
14 | extension Request {
15 |     public var timeoutInterval: TimeInterval { 60 }
16 |     public var cachePolicy: URLRequest.CachePolicy { .useProtocolCachePolicy }
   |                             `- error: cannot find type 'URLRequest' in scope
17 | }
18 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:21:93: error: cannot find type 'URLRequest' in scope
19 | // additions
20 | extension Request {
21 |     public func getURLRequest(allowedSchemes: URLBuilder.URLSchemePolicy = .http) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/Request.swift:24:23: error: cannot find 'URLRequest' in scope
22 |         let url = try URLBuilder(allowedSchemes: allowedSchemes).buildAndValidate(baseUrl)
23 |
24 |         var request = URLRequest(url: url)
   |                       `- error: cannot find 'URLRequest' in scope
25 |         request.httpMethod = httpMethod.rawValue
26 |         request.httpBody = body?.toData()
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Parameters/HTTPParameterApplier.swift:6:75: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ parameters: [HTTPParameter], to urlRequest: inout URLRequest) {
   |                                                                           `- error: cannot find type 'URLRequest' in scope
 7 |         guard !parameters.isEmpty,
 8 |               let url = urlRequest.url,
/host/spi-builder-workspace/Sources/EZNetworking/Core/HTTP/Headers/HTTPHeaderApplier.swift:6:69: error: cannot find type 'URLRequest' in scope
 4 |     private init() {}
 5 |
 6 |     static func apply(_ headers: [HTTPHeader], to urlRequest: inout URLRequest) {
   |                                                                     `- error: cannot find type 'URLRequest' in scope
 7 |         for header in headers {
 8 |             urlRequest.setValue(header.value, forHTTPHeaderField: header.key)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/SSERequest.swift:33:29: error: cannot find type 'URLRequest' in scope
31 |     public var parameters: [HTTPParameter]? { nil }
32 |     public var body: (any HTTPBody)? { nil }
33 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
34 |     public var timeoutInterval: TimeInterval { 60 } // 1 minute
35 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Request/SpecializedRequests/WebSocketRequest.swift:28:29: error: cannot find type 'URLRequest' in scope
26 |     public var parameters: [HTTPParameter]? { nil }
27 |     public var body: (any HTTPBody)? { nil }
28 |     public var cachePolicy: URLRequest.CachePolicy { .reloadIgnoringLocalCacheData }
   |                             `- error: cannot find type 'URLRequest' in scope
29 | }
30 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:16:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     }
15 |
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:25:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |     }
24 |
25 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |         guard totalBytesExpectedToWrite > 0 else { return }
27 |         let currentProgress = Double(totalBytesWritten) / Double(totalBytesExpectedToWrite)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:31:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |     }
30 |
31 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
   |                                                          `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |         guard expectedTotalBytes > 0 else { return }
33 |         let currentProgress = Double(fileOffset) / Double(expectedTotalBytes)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:37:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 |     }
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:18:61: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
16 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
17 |         do {
18 |             try validator.validateStatus(from: downloadTask.response)
   |                                                             `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'response'
19 |             onEvent(.onDownloadCompleted(location))
20 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultDownloadTaskInterceptor.swift:38:48: error: value of type 'URLError' has no member 'downloadTaskResumeData'
36 |
37 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error) {
38 |         let resumeData = (error as? URLError)?.downloadTaskResumeData
   |                                                `- error: value of type 'URLError' has no member 'downloadTaskResumeData'
39 |         onEvent(.onDownloadFailed(error, resumeData: resumeData))
40 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:17:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     }
16 |
17 |     func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         guard totalBytesExpectedToSend > 0 else { return }
19 |         let currentProgress = Double(totalBytesSent) / Double(totalBytesExpectedToSend)
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:23:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
   |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         receivedData.append(data)
25 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:27:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     }
26 |
27 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |         defer { receivedData.removeAll(keepingCapacity: false) }
29 |         if let error {
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultUploadTaskInterceptor.swift:37:53: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
35 |         }
36 |         do {
37 |             try validator.validateStatus(from: task.response)
   |                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
38 |             onEvent(.onUploadCompleted(receivedData))
39 |         } catch {
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:10:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 8 |     }
 9 |
10 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |         onEvent?(.didOpenWithProtocol(protocolStr: `protocol`))
12 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     }
13 |
14 |     func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: any Error) {
   |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |         onEvent?(.didOpenWithError(error: error))
16 |     }
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/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:59: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:108: error: cannot find type 'URLSessionWebSocketTask' in scope
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/DefaultInterceptors/DefaultWebSocketTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     }
17 |
18 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?) {
   |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         onEvent?(.didClose(code: closeCode, reason: reason))
20 |     }
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/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:8:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 6 |
 7 |     /// Intercepts when a WebSocket task opens with a protocol.
 8 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didOpenWithProtocol protocol: String?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:59: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:11:108: error: cannot find type 'URLSessionWebSocketTask' in scope
 9 |
10 |     /// Intercepts when a WebSocket task closes with a code and reason.
11 |     func urlSession(_ session: URLSession, webSocketTask: URLSessionWebSocketTask, didCloseWith closeCode: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                                                                                                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
12 |
13 |     /// Intercepts when a task completes with  an error.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 |     case didOpenWithProtocol(protocolStr: String?)
19 |     case didOpenWithError(error: Error)
20 |     case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
   |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
[80/90] Compiling EZNetworking EZJSONDecoder.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[81/90] Compiling EZNetworking EmptyResponse.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[82/90] Compiling EZNetworking AsyncSequence-ext.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[83/90] Compiling EZNetworking Data-ext.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[84/90] Compiling EZNetworking String-ext.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[85/90] Compiling EZNetworking RetryPolicy.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[86/90] Compiling EZNetworking HTTPResponse.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[87/90] Compiling EZNetworking HTTPClientErrorStatus.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[88/90] Compiling EZNetworking HTTPInformationalStatus.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[89/90] Compiling EZNetworking HTTPRedirectionStatus.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
[90/90] Compiling EZNetworking HTTPServerErrorStatus.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Error/NetworkFailureReason/WebSocketFailureReason.swift:19:40: error: cannot find type 'URLSessionWebSocketTask' in scope
17 |
18 |     // Disconnection errors
19 |     case unexpectedDisconnection(code: URLSessionWebSocketTask.CloseCode, reason: String?)
   |                                        `- error: cannot find type 'URLSessionWebSocketTask' in scope
20 |     case forcedDisconnection
21 | }
BUILD FAILURE 6.2 wasm