Build Information
Failed to build EZNetworking, reference 5.6.0 (c0bc82), with Swift 6.3 for Linux on 26 Jun 2026 09:36:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
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: Error)
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: 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/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
[89/90] Compiling EZNetworking WebSocketTaskInterceptor.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:6:137: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
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/AuthenticationInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
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/AuthenticationInterceptor.swift:6:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:9:115: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
9 | func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
10 | }
11 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
9 | func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
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/AuthenticationInterceptor.swift:9:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
9 | func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/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: Error)
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: 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/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
[90/90] Compiling EZNetworking Session.swift
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:6:137: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:6:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
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/AuthenticationInterceptor.swift:6:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
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/AuthenticationInterceptor.swift:6:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
4 | public protocol AuthenticationInterceptor: AnyObject {
5 | /// Intercepts authentication challenges for a specific URLSession task.
6 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:9:115: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
9 | func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
10 | }
11 |
/host/spi-builder-workspace/Sources/EZNetworking/Core/Session/Interceptors/Protocols/AuthenticationInterceptor.swift:9:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
9 | func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
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/AuthenticationInterceptor.swift:9:66: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
7 |
8 | /// Intercepts authentication challenges for the entire URLSession.
9 | func urlSession(_ session: URLSession, didReceive challenge: URLAuthenticationChallenge) async -> (URLSession.AuthChallengeDisposition, URLCredential?)
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 | }
11 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/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: Error)
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: 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/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
BUILD FAILURE 6.3 linux