Build Information
Failed to build EZNetworking, reference main (ecfed1), with Swift 6.2 for Linux on 11 Aug 2026 12:33:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
5 | var delegate: SessionDelegate { get }
6 | var delegateQueue: OperationQueue? { get }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:4:28: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol URLSessionProtocol {
4 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
5 |
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:6:49: error: cannot find type 'URLRequest' in scope
4 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
5 |
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
7 |
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:8:29: error: cannot find type 'URLRequest' in scope
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
7 |
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | func downloadTaskInspectable(with request: URLRequest) -> URLSessionDownloadTaskProtocol
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:10:48: error: cannot find type 'URLRequest' in scope
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
9 |
10 | func downloadTaskInspectable(with request: URLRequest) -> URLSessionDownloadTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
11 | func downloadTaskInspectable(withResumeData resumeData: Data) -> URLSessionDownloadTaskProtocol
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:13:46: error: cannot find type 'URLRequest' in scope
11 | func downloadTaskInspectable(withResumeData resumeData: Data) -> URLSessionDownloadTaskProtocol
12 |
13 | func uploadTaskInspectable(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
14 | func uploadTaskInspectable(withResumeData resumeData: Data) -> URLSessionUploadTaskProtocol
15 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:12:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public class Session: NetworkSession {
12 | public internal(set) var configuration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public internal(set) var delegate: SessionDelegate
14 | public internal(set) var delegateQueue: OperationQueue?
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:16:67: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 | public internal(set) var delegateQueue: OperationQueue?
15 |
16 | public private(set) lazy var urlSession: URLSessionProtocol = URLSession(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |
18 | public init(
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:51: error: value of type '_' expected to be instance of class or class-constrained type
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: value of type '_' expected to be instance of class or class-constrained type
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:3:28: error: cannot find type 'URLSessionDataDelegate' in scope
1 | import Foundation
2 |
3 | extension SessionDelegate: URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
4 | public func urlSession(
5 | _ session: URLSession,
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:5:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | extension SessionDelegate: URLSessionDataDelegate {
4 | public func urlSession(
5 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:6:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public func urlSession(
5 | _ session: URLSession,
6 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | willCacheResponse proposedResponse: CachedURLResponse
8 | ) async -> CachedURLResponse? {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:7:45: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | _ session: URLSession,
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | ) async -> CachedURLResponse? {
9 | await cacheInterceptor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse) ?? proposedResponse
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:8:16: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
8 | ) async -> CachedURLResponse? {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | await cacheInterceptor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse) ?? proposedResponse
10 | }
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:16:27: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
16 | ) async -> URLSession.ResponseDisposition {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
17 | await dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: response) ?? .allow
18 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:13:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | public func urlSession(
13 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | public func urlSession(
13 | _ session: URLSession,
14 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | didReceive response: URLResponse
16 | ) async -> URLSession.ResponseDisposition {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:15:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | _ session: URLSession,
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | ) async -> URLSession.ResponseDisposition {
17 | await dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: response) ?? .allow
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | public func urlSession(
21 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | dataTask: URLSessionDataTask,
23 | didReceive data: Data
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:22:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public func urlSession(
21 | _ session: URLSession,
22 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | didReceive data: Data
24 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:32:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 | public func urlSession(
32 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | dataTask: URLSessionDataTask,
34 | didBecome downloadTask: URLSessionDownloadTask
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:33:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | public func urlSession(
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | didBecome downloadTask: URLSessionDownloadTask
35 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:34:33: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
34 | didBecome downloadTask: URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | ) {
36 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didBecome: downloadTask)
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:40:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | public func urlSession(
40 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | dataTask: URLSessionDataTask,
42 | didBecome streamTask: URLSessionStreamTask
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:41:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | public func urlSession(
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | didBecome streamTask: URLSessionStreamTask
43 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:42:31: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
42 | didBecome streamTask: URLSessionStreamTask
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:39:17: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
29 | }
30 |
31 | public func urlSession(
| `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
:
37 | }
38 |
39 | public func urlSession(
| `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:26:21: warning: 'is' test is always true
24 | ) {
25 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
26 | if dataTask is URLSessionUploadTask {
| `- warning: 'is' test is always true
27 | uploadTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
28 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:26:24: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | ) {
25 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
26 | if dataTask is URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | uploadTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
28 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
[88/89] Compiling EZNetworking Session.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/CacheInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/CacheInterceptor.swift:6:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/Protocols/CacheInterceptor.swift:6:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/CacheInterceptor.swift:6:138: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol DataTaskInterceptor: AnyObject {
5 | /// Intercepts data received for a specific data task.
6 | 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.
7 |
8 | /// Intercepts when a data task transitions to a download task.
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/DataTaskInterceptor.swift:6:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol DataTaskInterceptor: AnyObject {
5 | /// Intercepts data received for a specific data task.
6 | 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.
7 |
8 | /// Intercepts when a data task transitions to a download task.
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/Protocols/DataTaskInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
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/DataTaskInterceptor.swift:9:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
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/Protocols/DataTaskInterceptor.swift:9:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
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/Protocols/DataTaskInterceptor.swift:12:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
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/DataTaskInterceptor.swift:12:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
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/Protocols/DataTaskInterceptor.swift:12:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:12:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
13 |
14 | /// Intercepts the response for a data task before it is processed.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:15:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
16 | }
17 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/DataTaskInterceptor.swift:15:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/Protocols/DataTaskInterceptor.swift:15:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a download task finishes downloading to a location.
15 | 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.
16 |
17 | /// Intercepts progress updates during the download task.
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/DownloadTaskInterceptor.swift:15:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a download task finishes downloading to a location.
15 | 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.
16 |
17 | /// Intercepts progress updates during the download task.
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/Protocols/DownloadTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts progress updates during the download task.
18 | 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.
19 |
20 | /// Intercepts when a download task is resumed.
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/DownloadTaskInterceptor.swift:18:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts progress updates during the download task.
18 | 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.
19 |
20 | /// Intercepts when a download task is resumed.
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/Protocols/DownloadTaskInterceptor.swift:21:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts when a download task is resumed.
21 | 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.
22 |
23 | /// Intercepts when a download task completes with an 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/Protocols/DownloadTaskInterceptor.swift:21:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts when a download task is resumed.
21 | 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.
22 |
23 | /// Intercepts when a download task completes with an error.
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/Protocols/DownloadTaskInterceptor.swift:24:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// Intercepts when a download task completes with an error.
24 | 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.
25 | }
26 |
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/DownloadTaskInterceptor.swift:24:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// Intercepts when a download task completes with an error.
24 | 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.
25 | }
26 |
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/Protocols/MetricsInterceptor.swift:6:95: error: cannot find type 'URLSessionTaskMetrics' in scope
4 | public protocol MetricsInterceptor: AnyObject {
5 | /// Intercepts metrics after task completion.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/MetricsInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol MetricsInterceptor: AnyObject {
5 | /// Intercepts metrics after task completion.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/MetricsInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol MetricsInterceptor: AnyObject {
5 | /// Intercepts metrics after task completion.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/Protocols/RedirectInterceptor.swift:6:161: error: cannot find type 'URLRequest' in scope
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/RedirectInterceptor.swift:6:140: error: cannot find type 'URLRequest' in scope
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/RedirectInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/RedirectInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/Protocols/RedirectInterceptor.swift:6:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol StreamTaskInterceptor: AnyObject {
5 | /// Intercepts when a stream task's read is closed.
6 | func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
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/StreamTaskInterceptor.swift:6:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol StreamTaskInterceptor: AnyObject {
5 | /// Intercepts when a stream task's read is closed.
6 | func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
9 | func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
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/StreamTaskInterceptor.swift:9:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
9 | func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:12:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
12 | func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
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/StreamTaskInterceptor.swift:12:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
12 | func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
15 | func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/StreamTaskInterceptor.swift:15:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
15 | func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/TaskLifecycleInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol TaskLifecycleInterceptor: AnyObject {
5 | /// Intercepts when a task completes with or without an error.
6 | 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.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
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/TaskLifecycleInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol TaskLifecycleInterceptor: AnyObject {
5 | /// Intercepts when a task completes with or without an error.
6 | 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.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
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/Protocols/TaskLifecycleInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
9 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
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/TaskLifecycleInterceptor.swift:9:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
9 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
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/Protocols/TaskLifecycleInterceptor.swift:12:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
12 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
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/TaskLifecycleInterceptor.swift:12:64: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
12 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
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/Protocols/UploadTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts progress updates as the request body is sent.
15 | 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.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
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/UploadTaskInterceptor.swift:15:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts progress updates as the request body is sent.
15 | 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.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
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/Protocols/UploadTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
18 | 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.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
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/UploadTaskInterceptor.swift:18:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
18 | 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.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
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/Protocols/UploadTaskInterceptor.swift:21:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
21 | 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.
22 | }
23 |
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/UploadTaskInterceptor.swift:21:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
21 | 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.
22 | }
23 |
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/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:8:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | /// Intercepts when a WebSocket task opens with a protocol.
8 | 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.
9 |
10 | /// Intercepts when a WebSocket task closes with a code and reason.
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: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:11:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | /// Intercepts when a task completes with an 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/Protocols/WebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | /// Intercepts when a task completes with an error.
14 | 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.
15 | }
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/Protocols/WebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | /// Intercepts when a task completes with an error.
14 | 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.
15 | }
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/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 | case didOpenWithProtocol(protocolStr: String?)
19 | case didOpenWithError(error: SendableError)
20 | case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:4:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | public protocol NetworkSession {
4 | var configuration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | var delegate: SessionDelegate { get }
6 | var delegateQueue: OperationQueue? { get }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:4:28: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol URLSessionProtocol {
4 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
5 |
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:6:49: error: cannot find type 'URLRequest' in scope
4 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
5 |
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
7 |
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:8:29: error: cannot find type 'URLRequest' in scope
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
7 |
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | func downloadTaskInspectable(with request: URLRequest) -> URLSessionDownloadTaskProtocol
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:10:48: error: cannot find type 'URLRequest' in scope
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
9 |
10 | func downloadTaskInspectable(with request: URLRequest) -> URLSessionDownloadTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
11 | func downloadTaskInspectable(withResumeData resumeData: Data) -> URLSessionDownloadTaskProtocol
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:13:46: error: cannot find type 'URLRequest' in scope
11 | func downloadTaskInspectable(withResumeData resumeData: Data) -> URLSessionDownloadTaskProtocol
12 |
13 | func uploadTaskInspectable(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
14 | func uploadTaskInspectable(withResumeData resumeData: Data) -> URLSessionUploadTaskProtocol
15 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:12:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public class Session: NetworkSession {
12 | public internal(set) var configuration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public internal(set) var delegate: SessionDelegate
14 | public internal(set) var delegateQueue: OperationQueue?
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:16:67: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 | public internal(set) var delegateQueue: OperationQueue?
15 |
16 | public private(set) lazy var urlSession: URLSessionProtocol = URLSession(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |
18 | public init(
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:51: error: value of type '_' expected to be instance of class or class-constrained type
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: value of type '_' expected to be instance of class or class-constrained type
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:3:28: error: cannot find type 'URLSessionDataDelegate' in scope
1 | import Foundation
2 |
3 | extension SessionDelegate: URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
4 | public func urlSession(
5 | _ session: URLSession,
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:5:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | extension SessionDelegate: URLSessionDataDelegate {
4 | public func urlSession(
5 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:6:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public func urlSession(
5 | _ session: URLSession,
6 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | willCacheResponse proposedResponse: CachedURLResponse
8 | ) async -> CachedURLResponse? {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:7:45: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | _ session: URLSession,
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | ) async -> CachedURLResponse? {
9 | await cacheInterceptor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse) ?? proposedResponse
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:8:16: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
8 | ) async -> CachedURLResponse? {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | await cacheInterceptor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse) ?? proposedResponse
10 | }
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:16:27: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
16 | ) async -> URLSession.ResponseDisposition {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
17 | await dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: response) ?? .allow
18 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:13:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | public func urlSession(
13 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | public func urlSession(
13 | _ session: URLSession,
14 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | didReceive response: URLResponse
16 | ) async -> URLSession.ResponseDisposition {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:15:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | _ session: URLSession,
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | ) async -> URLSession.ResponseDisposition {
17 | await dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: response) ?? .allow
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | public func urlSession(
21 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | dataTask: URLSessionDataTask,
23 | didReceive data: Data
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:22:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public func urlSession(
21 | _ session: URLSession,
22 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | didReceive data: Data
24 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:32:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 | public func urlSession(
32 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | dataTask: URLSessionDataTask,
34 | didBecome downloadTask: URLSessionDownloadTask
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:33:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | public func urlSession(
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | didBecome downloadTask: URLSessionDownloadTask
35 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:34:33: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
34 | didBecome downloadTask: URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | ) {
36 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didBecome: downloadTask)
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:40:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | public func urlSession(
40 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | dataTask: URLSessionDataTask,
42 | didBecome streamTask: URLSessionStreamTask
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:41:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | public func urlSession(
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | didBecome streamTask: URLSessionStreamTask
43 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:42:31: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
42 | didBecome streamTask: URLSessionStreamTask
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:39:17: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
29 | }
30 |
31 | public func urlSession(
| `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
:
37 | }
38 |
39 | public func urlSession(
| `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:26:21: warning: 'is' test is always true
24 | ) {
25 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
26 | if dataTask is URLSessionUploadTask {
| `- warning: 'is' test is always true
27 | uploadTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
28 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:26:24: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | ) {
25 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
26 | if dataTask is URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | uploadTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
28 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
[89/89] Compiling EZNetworking SessionDelegate+URLSessionDataDelegate.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/CacheInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/CacheInterceptor.swift:6:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/Protocols/CacheInterceptor.swift:6:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/CacheInterceptor.swift:6:138: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol CacheInterceptor: AnyObject {
5 | /// Intercepts cache responses before they are cached for a specific data task.
6 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse) async -> CachedURLResponse?
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol DataTaskInterceptor: AnyObject {
5 | /// Intercepts data received for a specific data task.
6 | 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.
7 |
8 | /// Intercepts when a data task transitions to a download task.
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/DataTaskInterceptor.swift:6:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol DataTaskInterceptor: AnyObject {
5 | /// Intercepts data received for a specific data task.
6 | 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.
7 |
8 | /// Intercepts when a data task transitions to a download task.
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/Protocols/DataTaskInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
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/DataTaskInterceptor.swift:9:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
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/Protocols/DataTaskInterceptor.swift:9:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
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/Protocols/DataTaskInterceptor.swift:12:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
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/DataTaskInterceptor.swift:12:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
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/Protocols/DataTaskInterceptor.swift:12:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:12:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
7 |
8 | /// Intercepts when a data task transitions to a download task.
9 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome downloadTask: URLSessionDownloadTask)
| `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
10 |
11 | /// Intercepts when a data task transitions to a stream task.
12 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask)
| `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
13 |
14 | /// Intercepts the response for a data task before it is processed.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:15:128: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
16 | }
17 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DataTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/DataTaskInterceptor.swift:15:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/Protocols/DataTaskInterceptor.swift:15:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts the response for a data task before it is processed.
15 | func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse) async -> URLSession.ResponseDisposition
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/DownloadTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a download task finishes downloading to a location.
15 | 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.
16 |
17 | /// Intercepts progress updates during the download task.
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/DownloadTaskInterceptor.swift:15:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a download task finishes downloading to a location.
15 | 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.
16 |
17 | /// Intercepts progress updates during the download task.
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/Protocols/DownloadTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts progress updates during the download task.
18 | 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.
19 |
20 | /// Intercepts when a download task is resumed.
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/DownloadTaskInterceptor.swift:18:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts progress updates during the download task.
18 | 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.
19 |
20 | /// Intercepts when a download task is resumed.
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/Protocols/DownloadTaskInterceptor.swift:21:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts when a download task is resumed.
21 | 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.
22 |
23 | /// Intercepts when a download task completes with an 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/Protocols/DownloadTaskInterceptor.swift:21:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts when a download task is resumed.
21 | 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.
22 |
23 | /// Intercepts when a download task completes with an error.
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/Protocols/DownloadTaskInterceptor.swift:24:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// Intercepts when a download task completes with an error.
24 | 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.
25 | }
26 |
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/DownloadTaskInterceptor.swift:24:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 | /// Intercepts when a download task completes with an error.
24 | 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.
25 | }
26 |
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/Protocols/MetricsInterceptor.swift:6:95: error: cannot find type 'URLSessionTaskMetrics' in scope
4 | public protocol MetricsInterceptor: AnyObject {
5 | /// Intercepts metrics after task completion.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/MetricsInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol MetricsInterceptor: AnyObject {
5 | /// Intercepts metrics after task completion.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/MetricsInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol MetricsInterceptor: AnyObject {
5 | /// Intercepts metrics after task completion.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/Protocols/RedirectInterceptor.swift:6:161: error: cannot find type 'URLRequest' in scope
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/RedirectInterceptor.swift:6:140: error: cannot find type 'URLRequest' in scope
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: cannot find type 'URLRequest' in scope
7 | }
8 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/RedirectInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/RedirectInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
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/Protocols/RedirectInterceptor.swift:6:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol RedirectInterceptor: AnyObject {
5 | /// Intercepts URL redirection before the request is performed.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest) async -> URLRequest?
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | }
8 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol StreamTaskInterceptor: AnyObject {
5 | /// Intercepts when a stream task's read is closed.
6 | func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
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/StreamTaskInterceptor.swift:6:70: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol StreamTaskInterceptor: AnyObject {
5 | /// Intercepts when a stream task's read is closed.
6 | func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
9 | func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
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/StreamTaskInterceptor.swift:9:71: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a stream task's write is closed.
9 | func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:12:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
12 | func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
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/StreamTaskInterceptor.swift:12:81: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a better route is discovered for a stream task.
12 | func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/StreamTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
15 | func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
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/StreamTaskInterceptor.swift:15:56: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts when a stream task becomes input and output streams.
15 | func urlSession(_ session: URLSession, streamTask: URLSessionStreamTask, didBecome inputStream: InputStream, outputStream: OutputStream)
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/TaskLifecycleInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol TaskLifecycleInterceptor: AnyObject {
5 | /// Intercepts when a task completes with or without an error.
6 | 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.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
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/TaskLifecycleInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol TaskLifecycleInterceptor: AnyObject {
5 | /// Intercepts when a task completes with or without an error.
6 | 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.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
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/Protocols/TaskLifecycleInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
9 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
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/TaskLifecycleInterceptor.swift:9:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts when a task is waiting for connectivity.
9 | func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
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/Protocols/TaskLifecycleInterceptor.swift:12:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
12 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
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/TaskLifecycleInterceptor.swift:12:64: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | /// Intercepts when a task is created.
12 | func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | }
14 |
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/Protocols/UploadTaskInterceptor.swift:15:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts progress updates as the request body is sent.
15 | 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.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
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/UploadTaskInterceptor.swift:15:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 | /// Intercepts progress updates as the request body is sent.
15 | 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.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
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/Protocols/UploadTaskInterceptor.swift:18:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
18 | 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.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
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/UploadTaskInterceptor.swift:18:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |
17 | /// Intercepts response body bytes as they arrive (the server's reply to the upload).
18 | 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.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
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/Protocols/UploadTaskInterceptor.swift:21:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
21 | 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.
22 | }
23 |
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/UploadTaskInterceptor.swift:21:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | /// Intercepts task completion. A nil error signals successful upload; a non-nil error signals failure.
21 | 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.
22 | }
23 |
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/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:8:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 |
7 | /// Intercepts when a WebSocket task opens with a protocol.
8 | 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.
9 |
10 | /// Intercepts when a WebSocket task closes with a code and reason.
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: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:11:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
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: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | /// Intercepts when a task completes with an 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/Protocols/WebSocketTaskInterceptor.swift:14:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | /// Intercepts when a task completes with an error.
14 | 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.
15 | }
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/Protocols/WebSocketTaskInterceptor.swift:14:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |
13 | /// Intercepts when a task completes with an error.
14 | 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.
15 | }
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/Protocols/WebSocketTaskInterceptor.swift:20:25: error: cannot find type 'URLSessionWebSocketTask' in scope
18 | case didOpenWithProtocol(protocolStr: String?)
19 | case didOpenWithError(error: SendableError)
20 | case didClose(code: URLSessionWebSocketTask.CloseCode, reason: Data?)
| `- error: cannot find type 'URLSessionWebSocketTask' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:4:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
2 |
3 | public protocol NetworkSession {
4 | var configuration: URLSessionConfiguration { get }
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | var delegate: SessionDelegate { get }
6 | var delegateQueue: OperationQueue? { get }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:4:28: error: cannot find type 'URLRequest' in scope
2 |
3 | public protocol URLSessionProtocol {
4 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
5 |
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:6:49: error: cannot find type 'URLRequest' in scope
4 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
5 |
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
7 |
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:8:29: error: cannot find type 'URLRequest' in scope
6 | func webSocketTaskInspectable(with request: URLRequest) -> URLSessionWebSocketTaskProtocol
7 |
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
9 |
10 | func downloadTaskInspectable(with request: URLRequest) -> URLSessionDownloadTaskProtocol
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:10:48: error: cannot find type 'URLRequest' in scope
8 | func bytes(for request: URLRequest) async throws -> (AsyncThrowingStream<UInt8, Error>, URLResponse)
9 |
10 | func downloadTaskInspectable(with request: URLRequest) -> URLSessionDownloadTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
11 | func downloadTaskInspectable(withResumeData resumeData: Data) -> URLSessionDownloadTaskProtocol
12 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/URLSessionProtocols/URLSessionProtocol.swift:13:46: error: cannot find type 'URLRequest' in scope
11 | func downloadTaskInspectable(withResumeData resumeData: Data) -> URLSessionDownloadTaskProtocol
12 |
13 | func uploadTaskInspectable(with request: URLRequest, fromFile fileURL: URL) -> URLSessionUploadTaskProtocol
| `- error: cannot find type 'URLRequest' in scope
14 | func uploadTaskInspectable(withResumeData resumeData: Data) -> URLSessionUploadTaskProtocol
15 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:12:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 | public class Session: NetworkSession {
12 | public internal(set) var configuration: URLSessionConfiguration
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | public internal(set) var delegate: SessionDelegate
14 | public internal(set) var delegateQueue: OperationQueue?
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:16:67: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
14 | public internal(set) var delegateQueue: OperationQueue?
15 |
16 | public private(set) lazy var urlSession: URLSessionProtocol = URLSession(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
17 |
18 | public init(
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:24: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:51: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Session.swift:19:51: error: value of type '_' expected to be instance of class or class-constrained type
17 |
18 | public init(
19 | configuration: URLSessionConfiguration = .default,
| `- error: value of type '_' expected to be instance of class or class-constrained type
20 | delegate: SessionDelegate = SessionDelegate(),
21 | delegateQueue: OperationQueue? = nil
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:3:28: error: cannot find type 'URLSessionDataDelegate' in scope
1 | import Foundation
2 |
3 | extension SessionDelegate: URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
4 | public func urlSession(
5 | _ session: URLSession,
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:5:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
3 | extension SessionDelegate: URLSessionDataDelegate {
4 | public func urlSession(
5 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:6:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public func urlSession(
5 | _ session: URLSession,
6 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 | willCacheResponse proposedResponse: CachedURLResponse
8 | ) async -> CachedURLResponse? {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:7:45: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
5 | _ session: URLSession,
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
8 | ) async -> CachedURLResponse? {
9 | await cacheInterceptor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse) ?? proposedResponse
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:8:16: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
6 | dataTask: URLSessionDataTask,
7 | willCacheResponse proposedResponse: CachedURLResponse
8 | ) async -> CachedURLResponse? {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
9 | await cacheInterceptor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse) ?? proposedResponse
10 | }
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:16:27: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
16 | ) async -> URLSession.ResponseDisposition {
| `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
17 | await dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: response) ?? .allow
18 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:13:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
11 |
12 | public func urlSession(
13 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:14:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 | public func urlSession(
13 | _ session: URLSession,
14 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 | didReceive response: URLResponse
16 | ) async -> URLSession.ResponseDisposition {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:15:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 | _ session: URLSession,
14 | dataTask: URLSessionDataTask,
15 | didReceive response: URLResponse
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | ) async -> URLSession.ResponseDisposition {
17 | await dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: response) ?? .allow
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:21:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |
20 | public func urlSession(
21 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 | dataTask: URLSessionDataTask,
23 | didReceive data: Data
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:22:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 | public func urlSession(
21 | _ session: URLSession,
22 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 | didReceive data: Data
24 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:32:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 | public func urlSession(
32 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 | dataTask: URLSessionDataTask,
34 | didBecome downloadTask: URLSessionDownloadTask
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:33:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | public func urlSession(
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | didBecome downloadTask: URLSessionDownloadTask
35 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:34:33: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
34 | didBecome downloadTask: URLSessionDownloadTask
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | ) {
36 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didBecome: downloadTask)
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:40:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 |
39 | public func urlSession(
40 | _ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | dataTask: URLSessionDataTask,
42 | didBecome streamTask: URLSessionStreamTask
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:41:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | public func urlSession(
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | didBecome streamTask: URLSessionStreamTask
43 | ) {
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/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:42:31: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
42 | didBecome streamTask: URLSessionStreamTask
| `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | ) {
44 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
| `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:39:17: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
29 | }
30 |
31 | public func urlSession(
| `- note: 'urlSession(_:dataTask:didBecome:)' previously declared here
32 | _ session: URLSession,
33 | dataTask: URLSessionDataTask,
:
37 | }
38 |
39 | public func urlSession(
| `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
40 | _ session: URLSession,
41 | dataTask: URLSessionDataTask,
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:26:21: warning: 'is' test is always true
24 | ) {
25 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
26 | if dataTask is URLSessionUploadTask {
| `- warning: 'is' test is always true
27 | uploadTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
28 | }
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/SessionDelegate+Extensions/SessionDelegate+URLSessionDataDelegate.swift:26:24: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 | ) {
25 | dataTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
26 | if dataTask is URLSessionUploadTask {
| `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | uploadTaskInterceptor?.urlSession(session, dataTask: dataTask, didReceive: data)
28 | }
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
| `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
BUILD FAILURE 6.2 linux