The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build JellyfinAPI, reference main (6039de), with Swift 6.1 for Wasm on 30 May 2025 16:15:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 81 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 82 |         // Do nothing
 83 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:85:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |     }
 84 |
 85 |     func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
    |                                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |         false // Disabled by default
 87 |     }
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     }
 88 |
 89 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
    |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         guard (200..<300).contains(response.statusCode) else {
 91 |             throw APIError.unacceptableStatusCode(response.statusCode)
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     }
 88 |
 89 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
    |                                                                                                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         guard (200..<300).contains(response.statusCode) else {
 91 |             throw APIError.unacceptableStatusCode(response.statusCode)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:35: error: cannot find type 'URLSessionDataDelegate' in scope
  9 |
 10 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
 11 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 12 |     private let handlers = TaskHandlersDictionary()
 13 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:59: error: cannot find type 'URLSessionDownloadDelegate' in scope
  9 |
 10 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
 11 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 12 |     private let handlers = TaskHandlersDictionary()
 13 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:21:35: error: cannot find type 'URLSessionTaskDelegate' in scope
 19 |         }
 20 |     }
 21 |     private var userTaskDelegate: URLSessionTaskDelegate?
    |                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 22 |     private var userDataDelegate: URLSessionDataDelegate?
 23 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:16:56: error: cannot find type 'URLSessionTaskDelegate' in scope
 14 |     var userSessionDelegate: URLSessionDelegate? {
 15 |         didSet {
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
    |                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
 17 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
 18 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:22:35: error: cannot find type 'URLSessionDataDelegate' in scope
 20 |     }
 21 |     private var userTaskDelegate: URLSessionTaskDelegate?
 22 |     private var userDataDelegate: URLSessionDataDelegate?
    |                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 23 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
 24 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:17:56: error: cannot find type 'URLSessionDataDelegate' in scope
 15 |         didSet {
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
 17 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
    |                                                        `- error: cannot find type 'URLSessionDataDelegate' in scope
 18 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
 19 |         }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:23:39: error: cannot find type 'URLSessionDownloadDelegate' in scope
 21 |     private var userTaskDelegate: URLSessionTaskDelegate?
 22 |     private var userDataDelegate: URLSessionDataDelegate?
 23 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
    |                                       `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 24 |
 25 |     private static let downloadDirectoryURL: URL = {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:18:60: error: cannot find type 'URLSessionDownloadDelegate' in scope
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
 17 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
 18 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
    |                                                            `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 19 |         }
 20 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:83: error: cannot find type 'URLSessionDataDelegate' in scope
 29 |     }()
 30 |
 31 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                                                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 32 |         try await withTaskCancellationHandler(operation: {
 33 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }()
 30 |
 31 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         try await withTaskCancellationHandler(operation: {
 33 |             try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:61: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }()
 30 |
 31 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         try await withTaskCancellationHandler(operation: {
 33 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                    `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:87: error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     }
 58 |
 59 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                                       `- error: cannot find type 'URLSessionTaskDelegate' in scope
 60 |         try await withTaskCancellationHandler(operation: {
 61 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                  `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         try await withTaskCancellationHandler(operation: {
 61 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         try await withTaskCancellationHandler(operation: {
 61 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:75:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     // MARK: - URLSessionDelegate
 74 |
 75 |     func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 | #if os(Linux)
 77 |         userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:84:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 | #if !os(Linux)
 84 |     func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |         if #available(macOS 11.0, *) {
 86 |             userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |     // MARK: - URLSessionTaskDelegate
 94 |
 95 |     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.
 96 |         guard let handler = handlers[task] else { return assertionFailure() }
 97 |         handlers[task] = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |     // MARK: - URLSessionTaskDelegate
 94 |
 95 |     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.
 96 |         guard let handler = handlers[task] else { return assertionFailure() }
 97 |         handlers[task] = nil
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:95: error: cannot find type 'URLSessionTaskMetrics' in scope
124 |     }
125 |
126 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                                                               `- error: cannot find type 'URLSessionTaskMetrics' in scope
127 |         let handler = handlers[task]
128 |         handler?.metrics = metrics
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 |     }
125 |
126 |     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.
127 |         let handler = handlers[task]
128 |         handler?.metrics = metrics
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 |     }
125 |
126 |     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.
127 |         let handler = handlers[task]
128 |         handler?.metrics = metrics
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:140: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:182: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 | #if !os(Linux)
151 |     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.
152 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 |         userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 | #if !os(Linux)
151 |     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.
152 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 |         userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 | #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
157 |     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.
158 |         if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 |             handlers[task]?.delegate?.urlSession?(session, didCreateTask: 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:64: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 | #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
157 |     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.
158 |         if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 |             handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                                             `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                        `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:99: error: cannot find type 'URLRequest' in scope
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                   `- error: cannot find type 'URLRequest' in scope
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                        `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:179: error: cannot find type 'URLRequest' in scope
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                                   `- error: cannot find type 'URLRequest' in scope
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 |     }
191 |
192 | 	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.
193 | #if os(Linux)
194 | 		handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 |     }
191 |
192 | 	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.
193 | #if os(Linux)
194 | 		handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |     }
215 |
216 |     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.
217 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
218 | #if os(Linux)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |     }
215 |
216 |     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.
217 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
218 | #if os(Linux)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 |     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.
233 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 |     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.
233 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 |     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.
233 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     }
236 |
237 |     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.
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     }
236 |
237 |     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.
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     }
236 |
237 |     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.
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
235 |     }
236 |
237 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
    |          `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                              `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                                                                               `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     // MARK: - URLSessionDownloadDelegate
256 |
257 |     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.
258 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
259 |         let downloadsURL = DataLoader.downloadDirectoryURL
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     // MARK: - URLSessionDownloadDelegate
256 |
257 |     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.
258 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
259 |         let downloadsURL = DataLoader.downloadDirectoryURL
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |     }
267 |
268 |     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.
269 | #if os(Linux)
270 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |     }
267 |
268 |     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.
269 | #if os(Linux)
270 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |     }
277 |
278 |     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.
279 | #if os(Linux)
280 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |     }
277 |
278 |     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.
279 | #if os(Linux)
280 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:292:19: error: cannot find type 'URLSessionTaskDelegate' in scope
290 |
291 | private class TaskHandler {
292 |     let delegate: URLSessionTaskDelegate?
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
293 |     var metrics: URLSessionTaskMetrics?
294 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:293:18: error: cannot find type 'URLSessionTaskMetrics' in scope
291 | private class TaskHandler {
292 |     let delegate: URLSessionTaskDelegate?
293 |     var metrics: URLSessionTaskMetrics?
    |                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
294 |
295 |     init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:295:20: error: cannot find type 'URLSessionTaskDelegate' in scope
293 |     var metrics: URLSessionTaskMetrics?
294 |
295 |     init(delegate: URLSessionTaskDelegate?) {
    |                    `- error: cannot find type 'URLSessionTaskDelegate' in scope
296 |         self.delegate = delegate
297 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:303:23: error: cannot find type 'URLSessionDataDelegate' in scope
301 |     typealias Completion = (Result<Response<Data>, Error>) -> Void
302 |
303 |     let dataDelegate: URLSessionDataDelegate?
    |                       `- error: cannot find type 'URLSessionDataDelegate' in scope
304 |     var completion: Completion?
305 |     var data: Data?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:307:29: error: cannot find type 'URLSessionTaskDelegate' in scope
305 |     var data: Data?
306 |
307 |     override init(delegate: URLSessionTaskDelegate?) {
    |                             `- error: cannot find type 'URLSessionTaskDelegate' in scope
308 |         self.dataDelegate = delegate as? URLSessionDataDelegate
309 |         super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:316:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
314 |     typealias Completion = (Result<Response<URL>, Error>) -> Void
315 |
316 |     let downloadDelegate: URLSessionDownloadDelegate?
    |                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
317 |     var completion: Completion?
318 |     var location: URL?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:320:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
318 |     var location: URL?
319 |
320 |     init(delegate: URLSessionDownloadDelegate?) {
    |                    `- error: cannot find type 'URLSessionDownloadDelegate' in scope
321 |         self.downloadDelegate = delegate
322 |         super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:331:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |
330 | struct DataLoaderError: Error {
331 |     let task: URLSessionTask
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |     let error: Error
333 | }
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:335:11: error: cannot find type 'OperationQueue' in scope
333 | }
334 |
335 | extension OperationQueue {
    |           `- error: cannot find type 'OperationQueue' in scope
336 |     static func serial() -> OperationQueue {
337 |         let queue = OperationQueue()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
377 | private final class TaskHandlersDictionary {
378 |     private let lock = NSLock()
379 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
380 |
381 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
377 | private final class TaskHandlersDictionary {
378 |     private let lock = NSLock()
379 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
380 |
381 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:381:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 |     private var handlers = [URLSessionTask: TaskHandler]()
380 |
381 |     subscript(task: URLSessionTask) -> TaskHandler? {
    |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 |         get {
383 |             lock.lock()
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/.build/checkouts/Get/Sources/Get/Response.swift:16:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |     public let value: T
15 |     /// Original response.
16 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     /// Response HTTP status code.
18 |     public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
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/.build/checkouts/Get/Sources/Get/Response.swift:22:33: error: cannot find type 'URLRequest' in scope
20 |     public let data: Data
21 |     /// Original request.
22 |     public var originalRequest: URLRequest? { task.originalRequest }
   |                                 `- error: cannot find type 'URLRequest' in scope
23 |     /// The URL request object currently being handled by the task. May be
24 |     /// different from the original request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:25:32: error: cannot find type 'URLRequest' in scope
23 |     /// The URL request object currently being handled by the task. May be
24 |     /// different from the original request.
25 |     public var currentRequest: URLRequest? { task.currentRequest }
   |                                `- error: cannot find type 'URLRequest' in scope
26 |     /// Completed task.
27 |     public let task: URLSessionTask
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:27:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
25 |     public var currentRequest: URLRequest? { task.currentRequest }
26 |     /// Completed task.
27 |     public let task: URLSessionTask
   |                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |     /// Task metrics collected for the request.
29 |     public let metrics: URLSessionTaskMetrics?
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/.build/checkouts/Get/Sources/Get/Response.swift:29:25: error: cannot find type 'URLSessionTaskMetrics' in scope
27 |     public let task: URLSessionTask
28 |     /// Task metrics collected for the request.
29 |     public let metrics: URLSessionTaskMetrics?
   |                         `- error: cannot find type 'URLSessionTaskMetrics' in scope
30 |
31 |     /// Initializes the response.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:93: error: cannot find type 'URLSessionTaskMetrics' in scope
30 |
31 |     /// Initializes the response.
32 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                                                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
33 |         self.value = value
34 |         self.data = data
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |     /// Initializes the response.
32 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |         self.value = value
34 |         self.data = data
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/.build/checkouts/Get/Sources/Get/Response.swift:32:68: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |
31 |     /// Initializes the response.
32 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
33 |         self.value = value
34 |         self.data = data
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
[9/11] Compiling Get APIClient.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 13 |     public nonisolated let configuration: Configuration
 14 |     /// The underlying `URLSession` instance.
 15 |     public nonisolated let session: URLSession
    |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |
 17 |     private let decoder: JSONDecoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:69: error: cannot find type 'URLRequest' in scope
 18 |     ///   - client: The client that sends the request.
 19 |     ///   - request: The request about to be sent. Can be modified
 20 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 21 |
 22 |     /// Validates response for the given request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:29:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |         public var delegate: APIClientDelegate?
 28 |         /// By default, `URLSessionConfiguration.default`.
 29 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                          `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
 31 |         public var sessionDelegate: URLSessionDelegate?
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/.build/checkouts/Get/Sources/Get/APIClient.swift:29:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 27 |         public var delegate: APIClientDelegate?
 28 |         /// By default, `URLSessionConfiguration.default`.
 29 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 30 |         /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
 31 |         public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:31:37: error: cannot find type 'URLSessionDelegate' in scope
 29 |         public var sessionConfiguration: URLSessionConfiguration = .default
 30 |         /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
 31 |         public var sessionDelegate: URLSessionDelegate?
    |                                     `- error: cannot find type 'URLSessionDelegate' in scope
 32 |         /// Overrides the default delegate queue.
 33 |         public var sessionDelegateQueue: OperationQueue?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:42: error: cannot find type 'OperationQueue' in scope
 31 |         public var sessionDelegate: URLSessionDelegate?
 32 |         /// Overrides the default delegate queue.
 33 |         public var sessionDelegateQueue: OperationQueue?
    |                                          `- error: cannot find type 'OperationQueue' in scope
 34 |         /// By default, uses `.iso8601` date decoding strategy.
 35 |         public var decoder: JSONDecoder
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:42:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |         public init(
 41 |             baseURL: URL?,
 42 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                   `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |             delegate: APIClientDelegate? = nil
 44 |         ) {
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/.build/checkouts/Get/Sources/Get/APIClient.swift:42:62: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 40 |         public init(
 41 |             baseURL: URL?,
 42 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 43 |             delegate: APIClientDelegate? = nil
 44 |         ) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:103:19: error: cannot find type 'URLSessionDataDelegate' in scope
101 |     @discardableResult public func send<T: Decodable>(
102 |         _ request: Request<T>,
103 |         delegate: URLSessionDataDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
104 |         configure: ((inout URLRequest) throws -> Void)? = nil
105 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:104:28: error: cannot find type 'URLRequest' in scope
102 |         _ request: Request<T>,
103 |         delegate: URLSessionDataDelegate? = nil,
104 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
105 |     ) async throws -> Response<T> {
106 |         let response = try await data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:122:19: error: cannot find type 'URLSessionDataDelegate' in scope
120 |     @discardableResult public func send(
121 |         _ request: Request<Void>,
122 |         delegate: URLSessionDataDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
123 |         configure: ((inout URLRequest) throws -> Void)? = nil
124 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:123:28: error: cannot find type 'URLRequest' in scope
121 |         _ request: Request<Void>,
122 |         delegate: URLSessionDataDelegate? = nil,
123 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
124 |     ) async throws -> Response<Void> {
125 |         try await data(for: request, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:140:19: error: cannot find type 'URLSessionDataDelegate' in scope
138 |     public func data<T>(
139 |         for request: Request<T>,
140 |         delegate: URLSessionDataDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
141 |         configure: ((inout URLRequest) throws -> Void)? = nil
142 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:141:28: error: cannot find type 'URLRequest' in scope
139 |         for request: Request<T>,
140 |         delegate: URLSessionDataDelegate? = nil,
141 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
142 |     ) async throws -> Response<Data> {
143 |         let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:174:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
172 |     public func download<T>(
173 |         for request: Request<T>,
174 |         delegate: URLSessionDownloadDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDownloadDelegate' in scope
175 |         configure: ((inout URLRequest) throws -> Void)? = nil
176 |     ) async throws -> Response<URL> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:175:28: error: cannot find type 'URLRequest' in scope
173 |         for request: Request<T>,
174 |         delegate: URLSessionDownloadDelegate? = nil,
175 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
176 |     ) async throws -> Response<URL> {
177 |         var urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:189:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
187 |     public func download(
188 |         resumeFrom resumeData: Data,
189 |         delegate: URLSessionDownloadDelegate? = nil
    |                   `- error: cannot find type 'URLSessionDownloadDelegate' in scope
190 |     ) async throws -> Response<URL> {
191 |         let task = session.downloadTask(withResumeData: resumeData)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:197:19: error: cannot find type 'URLSessionDownloadDelegate' in scope
195 |     private func _startDownloadTask(
196 |         _ task: URLSessionDownloadTask,
197 |         delegate: URLSessionDownloadDelegate?
    |                   `- error: cannot find type 'URLSessionDownloadDelegate' in scope
198 |     ) async throws -> Response<URL> {
199 |         let response = try await dataLoader.startDownloadTask(task, session: session, delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:196:17: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
194 |
195 |     private func _startDownloadTask(
196 |         _ task: URLSessionDownloadTask,
    |                 `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
197 |         delegate: URLSessionDownloadDelegate?
198 |     ) async throws -> Response<URL> {
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/.build/checkouts/Get/Sources/Get/APIClient.swift:221:19: error: cannot find type 'URLSessionTaskDelegate' in scope
219 |         for request: Request<T>,
220 |         fromFile fileURL: URL,
221 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
222 |         configure: ((inout URLRequest) throws -> Void)? = nil
223 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:222:28: error: cannot find type 'URLRequest' in scope
220 |         fromFile fileURL: URL,
221 |         delegate: URLSessionTaskDelegate? = nil,
222 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
223 |     ) async throws -> Response<T> {
224 |         let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:242:19: error: cannot find type 'URLSessionTaskDelegate' in scope
240 |         for request: Request<Void>,
241 |         fromFile fileURL: URL,
242 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
243 |         configure: ((inout URLRequest) throws -> Void)? = nil
244 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:243:28: error: cannot find type 'URLRequest' in scope
241 |         fromFile fileURL: URL,
242 |         delegate: URLSessionTaskDelegate? = nil,
243 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
244 |     ) async throws -> Response<Void> {
245 |         try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:251:19: error: cannot find type 'URLSessionTaskDelegate' in scope
249 |         for request: Request<T>,
250 |         fromFile fileURL: URL,
251 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
252 |         configure: ((inout URLRequest) throws -> Void)?
253 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:252:28: error: cannot find type 'URLRequest' in scope
250 |         fromFile fileURL: URL,
251 |         delegate: URLSessionTaskDelegate?,
252 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
253 |     ) async throws -> Response<Data> {
254 |         let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:284:19: error: cannot find type 'URLSessionTaskDelegate' in scope
282 |         for request: Request<T>,
283 |         from data: Data,
284 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
285 |         configure: ((inout URLRequest) throws -> Void)? = nil
286 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:285:28: error: cannot find type 'URLRequest' in scope
283 |         from data: Data,
284 |         delegate: URLSessionTaskDelegate? = nil,
285 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
286 |     ) async throws -> Response<T> {
287 |         let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:305:19: error: cannot find type 'URLSessionTaskDelegate' in scope
303 |         for request: Request<Void>,
304 |         from data: Data,
305 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
306 |         configure: ((inout URLRequest) throws -> Void)? = nil
307 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:306:28: error: cannot find type 'URLRequest' in scope
304 |         from data: Data,
305 |         delegate: URLSessionTaskDelegate? = nil,
306 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
307 |     ) async throws -> Response<Void> {
308 |         try await _upload(for: request, from: data, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:314:19: error: cannot find type 'URLSessionTaskDelegate' in scope
312 |         for request: Request<T>,
313 |         from data: Data,
314 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
315 |         configure: ((inout URLRequest) throws -> Void)?
316 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:315:28: error: cannot find type 'URLRequest' in scope
313 |         from data: Data,
314 |         delegate: URLSessionTaskDelegate?,
315 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
316 |     ) async throws -> Response<Data> {
317 |         let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:335:76: error: cannot find type 'URLRequest' in scope
333 |
334 |     /// Creates `URLRequest` for the given request.
335 |     public func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest {
    |                                                                            `- error: cannot find type 'URLRequest' in scope
336 |         try await makeURLRequest(for: request, { _ in })
337 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:341:30: error: cannot find type 'URLRequest' in scope
339 |     private func makeURLRequest<T>(
340 |         for request: Request<T>,
341 |         _ configure: ((inout URLRequest) throws -> Void)?
    |                              `- error: cannot find type 'URLRequest' in scope
342 |     ) async throws -> URLRequest {
343 |         let url = try makeURL(for: request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:342:23: error: cannot find type 'URLRequest' in scope
340 |         for request: Request<T>,
341 |         _ configure: ((inout URLRequest) throws -> Void)?
342 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
343 |         let url = try makeURL(for: request)
344 |         var urlRequest = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:83:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 81 |         self.configuration = configuration
 82 |         let delegateQueue = configuration.sessionDelegateQueue ?? .serial()
 83 |         self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 84 |         self.dataLoader.userSessionDelegate = configuration.sessionDelegate
 85 |         self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:14:30: error: cannot find type 'URLSessionDelegate' in scope
 12 |     private let handlers = TaskHandlersDictionary()
 13 |
 14 |     var userSessionDelegate: URLSessionDelegate? {
    |                              `- error: cannot find type 'URLSessionDelegate' in scope
 15 |         didSet {
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:81:69: error: cannot find type 'URLRequest' in scope
 79 |
 80 | public extension APIClientDelegate {
 81 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 82 |         // Do nothing
 83 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:178:33: error: no exact matches in call to instance method 'client'
176 |     ) async throws -> Response<URL> {
177 |         var urlRequest = try await makeURLRequest(for: request, configure)
178 |         try await self.delegate.client(self, willSendRequest: &urlRequest)
    |                                 `- error: no exact matches in call to instance method 'client'
179 |         let task = session.downloadTask(with: urlRequest)
180 |         return try await _startDownloadTask(task, delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:59:10: note: found this candidate
 57 |     /// - returns: The URL for the request. Return `nil` to use the default
 58 |     /// logic used by client.
 59 |     func client<T>(_ client: APIClient, makeURLForRequest request: Request<T>) throws -> URL?
    |          `- note: found this candidate
 60 |
 61 |     /// Allows you to override the client's encoder for a specific request.
    :
 66 |     /// - Returns: The JSONEncoder for the request. Return `nil` to use the default
 67 |     /// encoder set in the client.
 68 |     func client<T>(_ client: APIClient, encoderForRequest request: Request<T>) -> JSONEncoder?
    |          `- note: found this candidate
 69 |
 70 |     /// Allows you to override the client's decoder for a specific request.
    :
 75 |     /// - Returns: The JSONDecoder for the request. Return `nil` to use the default
 76 |     /// decoder set in the client.
 77 |     func client<T>(_ client: APIClient, decoderForRequest request: Request<T>) -> JSONDecoder?
    |          `- note: found this candidate
 78 | }
 79 |
    :
 93 |     }
 94 |
 95 |     func client<T>(_ client: APIClient, makeURLForRequest request: Request<T>) throws -> URL? {
    |          `- note: found this candidate
 96 |         nil // Use default handlings
 97 |     }
 98 |
 99 |     func client<T>(_ client: APIClient, encoderForRequest request: Request<T>) -> JSONEncoder? {
    |          `- note: found this candidate
100 |         nil
101 |     }
102 |
103 |     func client<T>(_ client: APIClient, decoderForRequest request: Request<T>) -> JSONDecoder? {
    |          `- note: found this candidate
104 |         nil
105 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:179:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
177 |         var urlRequest = try await makeURLRequest(for: request, configure)
178 |         try await self.delegate.client(self, willSendRequest: &urlRequest)
179 |         let task = session.downloadTask(with: urlRequest)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
180 |         return try await _startDownloadTask(task, delegate: delegate)
181 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:191:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
189 |         delegate: URLSessionDownloadDelegate? = nil
190 |     ) async throws -> Response<URL> {
191 |         let task = session.downloadTask(withResumeData: resumeData)
    |                            `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
192 |         return try await _startDownloadTask(task, delegate: delegate)
193 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:200:13: error: generic parameter 'T' could not be inferred
198 |     ) async throws -> Response<URL> {
199 |         let response = try await dataLoader.startDownloadTask(task, session: session, delegate: delegate)
200 |         try validate(response)
    |             `- error: generic parameter 'T' could not be inferred
201 |         return response
202 |     }
    :
401 |     }
402 |
403 |     private func validate<T>(_ response: Response<T>) throws {
    |                  `- note: in call to function 'validate'
404 |         guard let httpResponse = response.response as? HTTPURLResponse else { return }
405 |         try delegate.client(self, validateResponse: httpResponse, data: response.data, task: response.task)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:344:26: error: cannot find 'URLRequest' in scope
342 |     ) async throws -> URLRequest {
343 |         let url = try makeURL(for: request)
344 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
345 |         urlRequest.allHTTPHeaderFields = request.headers
346 |         urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:351:25: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
349 |             urlRequest.httpBody = try await encode(body, using: encoder)
350 |             if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil &&
351 |                 session.configuration.httpAdditionalHeaders?["Content-Type"] == nil {
    |                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
352 |                 urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
353 |             }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:356:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
354 |         }
355 |         if urlRequest.value(forHTTPHeaderField: "Accept") == nil &&
356 |             session.configuration.httpAdditionalHeaders?["Accept"] == nil {
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
357 |             urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
358 |         }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:404:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
402 |
403 |     private func validate<T>(_ response: Response<T>) throws {
404 |         guard let httpResponse = response.response as? HTTPURLResponse else { return }
    |                                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
405 |         try delegate.client(self, validateResponse: httpResponse, data: response.data, task: response.task)
406 |     }
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
[10/11] Compiling Get APIClientDelegate.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:20:69: error: cannot find type 'URLRequest' in scope
 18 |     ///   - client: The client that sends the request.
 19 |     ///   - request: The request about to be sent. Can be modified
 20 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 21 |
 22 |     /// Validates response for the given request.
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
 32 |     /// the `200..<300` range.
 33 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
    |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |
 35 |     /// Gets called after a networking failure. Only one retry attempt is allowed.
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:33:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 31 |     /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
 32 |     /// the `200..<300` range.
 33 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
    |                                                                                                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 34 |
 35 |     /// Gets called after a networking failure. Only one retry attempt is allowed.
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:48:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |     ///
 47 |     /// - returns: Return `true` to retry the request.
 48 |     func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
    |                                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |
 50 |     /// Constructs URL for the given request.
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:81:69: error: cannot find type 'URLRequest' in scope
 79 |
 80 | public extension APIClientDelegate {
 81 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 82 |         // Do nothing
 83 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:85:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |     }
 84 |
 85 |     func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
    |                                                        `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 86 |         false // Disabled by default
 87 |     }
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     }
 88 |
 89 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
    |                                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         guard (200..<300).contains(response.statusCode) else {
 91 |             throw APIError.unacceptableStatusCode(response.statusCode)
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:89:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |     }
 88 |
 89 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
    |                                                                                                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |         guard (200..<300).contains(response.statusCode) else {
 91 |             throw APIError.unacceptableStatusCode(response.statusCode)
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/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:90:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 88 |
 89 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
 90 |         guard (200..<300).contains(response.statusCode) else {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 91 |             throw APIError.unacceptableStatusCode(response.statusCode)
 92 |         }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClientDelegate.swift:91:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 89 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
 90 |         guard (200..<300).contains(response.statusCode) else {
 91 |             throw APIError.unacceptableStatusCode(response.statusCode)
    |                                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 92 |         }
 93 |     }
[11/11] Compiling Get DataLoader.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:35: error: cannot find type 'URLSessionDataDelegate' in scope
  9 |
 10 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
 11 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 12 |     private let handlers = TaskHandlersDictionary()
 13 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:11:59: error: cannot find type 'URLSessionDownloadDelegate' in scope
  9 |
 10 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
 11 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 12 |     private let handlers = TaskHandlersDictionary()
 13 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:14:30: error: cannot find type 'URLSessionDelegate' in scope
 12 |     private let handlers = TaskHandlersDictionary()
 13 |
 14 |     var userSessionDelegate: URLSessionDelegate? {
    |                              `- error: cannot find type 'URLSessionDelegate' in scope
 15 |         didSet {
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:21:35: error: cannot find type 'URLSessionTaskDelegate' in scope
 19 |         }
 20 |     }
 21 |     private var userTaskDelegate: URLSessionTaskDelegate?
    |                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 22 |     private var userDataDelegate: URLSessionDataDelegate?
 23 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:16:56: error: cannot find type 'URLSessionTaskDelegate' in scope
 14 |     var userSessionDelegate: URLSessionDelegate? {
 15 |         didSet {
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
    |                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
 17 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
 18 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:22:35: error: cannot find type 'URLSessionDataDelegate' in scope
 20 |     }
 21 |     private var userTaskDelegate: URLSessionTaskDelegate?
 22 |     private var userDataDelegate: URLSessionDataDelegate?
    |                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 23 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
 24 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:17:56: error: cannot find type 'URLSessionDataDelegate' in scope
 15 |         didSet {
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
 17 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
    |                                                        `- error: cannot find type 'URLSessionDataDelegate' in scope
 18 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
 19 |         }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:23:39: error: cannot find type 'URLSessionDownloadDelegate' in scope
 21 |     private var userTaskDelegate: URLSessionTaskDelegate?
 22 |     private var userDataDelegate: URLSessionDataDelegate?
 23 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
    |                                       `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 24 |
 25 |     private static let downloadDirectoryURL: URL = {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:18:60: error: cannot find type 'URLSessionDownloadDelegate' in scope
 16 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
 17 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
 18 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
    |                                                            `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 19 |         }
 20 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:83: error: cannot find type 'URLSessionDataDelegate' in scope
 29 |     }()
 30 |
 31 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                                                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 32 |         try await withTaskCancellationHandler(operation: {
 33 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }()
 30 |
 31 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         try await withTaskCancellationHandler(operation: {
 33 |             try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:31:61: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     }()
 30 |
 31 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         try await withTaskCancellationHandler(operation: {
 33 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                    `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:45:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |     }
 44 |
 45 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 46 |         try await withTaskCancellationHandler(operation: {
 47 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:87: error: cannot find type 'URLSessionTaskDelegate' in scope
 57 |     }
 58 |
 59 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                                       `- error: cannot find type 'URLSessionTaskDelegate' in scope
 60 |         try await withTaskCancellationHandler(operation: {
 61 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                  `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         try await withTaskCancellationHandler(operation: {
 61 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionUploadTask = AnyObject
  |                  `- note: 'URLSessionUploadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:59:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                 `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |         try await withTaskCancellationHandler(operation: {
 61 |             try await withUnsafeThrowingContinuation { continuation in
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:75:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     // MARK: - URLSessionDelegate
 74 |
 75 |     func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 | #if os(Linux)
 77 |         userSessionDelegate?.urlSession(session, didBecomeInvalidWithError: 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:84:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |
 83 | #if !os(Linux)
 84 |     func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 85 |         if #available(macOS 11.0, *) {
 86 |             userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |     // MARK: - URLSessionTaskDelegate
 94 |
 95 |     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.
 96 |         guard let handler = handlers[task] else { return assertionFailure() }
 97 |         handlers[task] = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:95:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |     // MARK: - URLSessionTaskDelegate
 94 |
 95 |     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.
 96 |         guard let handler = handlers[task] else { return assertionFailure() }
 97 |         handlers[task] = nil
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:95: error: cannot find type 'URLSessionTaskMetrics' in scope
124 |     }
125 |
126 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                                                               `- error: cannot find type 'URLSessionTaskMetrics' in scope
127 |         let handler = handlers[task]
128 |         handler?.metrics = metrics
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 |     }
125 |
126 |     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.
127 |         let handler = handlers[task]
128 |         handler?.metrics = metrics
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:126:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 |     }
125 |
126 |     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.
127 |         let handler = handlers[task]
128 |         handler?.metrics = metrics
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:140: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:182: error: cannot find type 'URLRequest' in scope
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:138:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 |     }
137 |
138 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | #if os(Linux)
140 |         handlers[task]?.delegate?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 | #if !os(Linux)
151 |     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.
152 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 |         userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:151:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |
150 | #if !os(Linux)
151 |     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.
152 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
153 |         userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 | #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
157 |     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.
158 |         if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 |             handlers[task]?.delegate?.urlSession?(session, didCreateTask: 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/.build/checkouts/Get/Sources/Get/DataLoader.swift:157:64: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
155 |
156 | #if !os(macOS) && !targetEnvironment(macCatalyst) && swift(>=5.7)
157 |     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.
158 |         if #available(iOS 16.0, macOS 13.0, tvOS 16.0, watchOS 9.0, *) {
159 |             handlers[task]?.delegate?.urlSession?(session, didCreateTask: task)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                                             `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:168:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 | #endif
167 |
168 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                        `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
169 | #if os(Linux)
170 |         handlers[task]?.delegate?.urlSession(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:99: error: cannot find type 'URLRequest' in scope
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                   `- error: cannot find type 'URLRequest' in scope
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                        `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:179: error: cannot find type 'URLRequest' in scope
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                                   `- error: cannot find type 'URLRequest' in scope
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:180:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 |     }
179 |
180 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
181 | #if os(Linux)
182 |         handlers[task]?.delegate?.urlSession(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 |     }
191 |
192 | 	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.
193 | #if os(Linux)
194 | 		handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:192:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 |     }
191 |
192 | 	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.
193 | #if os(Linux)
194 | 		handlers[task]?.delegate?.urlSession(session, task: task, didSendBodyData: bytesSent, totalBytesSent: totalBytesSent, totalBytesExpectedToSend: totalBytesExpectedToSend) ??
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:204:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |     // MARK: - URLSessionDataDelegate
203 |
204 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | #if os(Linux)
206 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |     }
215 |
216 |     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.
217 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
218 | #if os(Linux)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:216:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |     }
215 |
216 |     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.
217 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
218 | #if os(Linux)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 |     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.
233 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 |     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.
233 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:232:98: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
230 |
231 | #if !os(Linux)
232 |     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.
233 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
234 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: downloadTask)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     }
236 |
237 |     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.
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     }
236 |
237 |     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.
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:96: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
235 |     }
236 |
237 |     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.
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:237:10: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
235 |     }
236 |
237 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didBecome streamTask: URLSessionStreamTask) {
    |          `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
238 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
239 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didBecome: streamTask)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                              `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:243:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | #endif
242 |
243 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                                                                                                                               `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | #if os(Linux)
245 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     // MARK: - URLSessionDownloadDelegate
256 |
257 |     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.
258 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
259 |         let downloadsURL = DataLoader.downloadDirectoryURL
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:257:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     // MARK: - URLSessionDownloadDelegate
256 |
257 |     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.
258 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
259 |         let downloadsURL = DataLoader.downloadDirectoryURL
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |     }
267 |
268 |     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.
269 | #if os(Linux)
270 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:268:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |     }
267 |
268 |     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.
269 | #if os(Linux)
270 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |     }
277 |
278 |     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.
279 | #if os(Linux)
280 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:278:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |     }
277 |
278 |     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.
279 | #if os(Linux)
280 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:292:19: error: cannot find type 'URLSessionTaskDelegate' in scope
290 |
291 | private class TaskHandler {
292 |     let delegate: URLSessionTaskDelegate?
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
293 |     var metrics: URLSessionTaskMetrics?
294 |
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:293:18: error: cannot find type 'URLSessionTaskMetrics' in scope
291 | private class TaskHandler {
292 |     let delegate: URLSessionTaskDelegate?
293 |     var metrics: URLSessionTaskMetrics?
    |                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
294 |
295 |     init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:295:20: error: cannot find type 'URLSessionTaskDelegate' in scope
293 |     var metrics: URLSessionTaskMetrics?
294 |
295 |     init(delegate: URLSessionTaskDelegate?) {
    |                    `- error: cannot find type 'URLSessionTaskDelegate' in scope
296 |         self.delegate = delegate
297 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:303:23: error: cannot find type 'URLSessionDataDelegate' in scope
301 |     typealias Completion = (Result<Response<Data>, Error>) -> Void
302 |
303 |     let dataDelegate: URLSessionDataDelegate?
    |                       `- error: cannot find type 'URLSessionDataDelegate' in scope
304 |     var completion: Completion?
305 |     var data: Data?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:307:29: error: cannot find type 'URLSessionTaskDelegate' in scope
305 |     var data: Data?
306 |
307 |     override init(delegate: URLSessionTaskDelegate?) {
    |                             `- error: cannot find type 'URLSessionTaskDelegate' in scope
308 |         self.dataDelegate = delegate as? URLSessionDataDelegate
309 |         super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:316:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
314 |     typealias Completion = (Result<Response<URL>, Error>) -> Void
315 |
316 |     let downloadDelegate: URLSessionDownloadDelegate?
    |                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
317 |     var completion: Completion?
318 |     var location: URL?
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:320:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
318 |     var location: URL?
319 |
320 |     init(delegate: URLSessionDownloadDelegate?) {
    |                    `- error: cannot find type 'URLSessionDownloadDelegate' in scope
321 |         self.downloadDelegate = delegate
322 |         super.init(delegate: delegate)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:331:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |
330 | struct DataLoaderError: Error {
331 |     let task: URLSessionTask
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |     let error: Error
333 | }
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:335:11: error: cannot find type 'OperationQueue' in scope
333 | }
334 |
335 | extension OperationQueue {
    |           `- error: cannot find type 'OperationQueue' in scope
336 |     static func serial() -> OperationQueue {
337 |         let queue = OperationQueue()
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
377 | private final class TaskHandlersDictionary {
378 |     private let lock = NSLock()
379 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
380 |
381 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:379:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
377 | private final class TaskHandlersDictionary {
378 |     private let lock = NSLock()
379 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
380 |
381 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:381:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
379 |     private var handlers = [URLSessionTask: TaskHandler]()
380 |
381 |     subscript(task: URLSessionTask) -> TaskHandler? {
    |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
382 |         get {
383 |             lock.lock()
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/.build/checkouts/Get/Sources/Get/DataLoader.swift:41:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
 39 |             }
 40 |         }, onCancel: {
 41 |             task.cancel()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
 42 |         })
 43 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:55:18: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
 53 |             }
 54 |         }, onCancel: {
 55 |             task.cancel()
    |                  `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
 56 |         })
 57 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:69:18: error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
 67 |             }
 68 |         }, onCancel: {
 69 |             task.cancel()
    |                  `- error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
 70 |         })
 71 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:107:36: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
105 |         switch handler {
106 |         case let handler as DataTaskHandler:
107 |             if let response = task.response, error == nil {
    |                                    `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
108 |                 let data = handler.data ?? Data()
109 |                 let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:32:93: error: cannot find type 'URLSessionTaskMetrics' in scope
30 |
31 |     /// Initializes the response.
32 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                                                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
33 |         self.value = value
34 |         self.data = data
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:109:32: error: generic parameter 'T' could not be inferred
107 |             if let response = task.response, error == nil {
108 |                 let data = handler.data ?? Data()
109 |                 let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
110 |                 handler.completion?(.success(response))
111 |             } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:12:24: note: 'T' declared as parameter to type 'Response'
10 |
11 | /// A response with an associated value and metadata.
12 | public struct Response<T> {
   |                        `- note: 'T' declared as parameter to type 'Response'
13 |     /// Decoded response value.
14 |     public let value: T
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:115:69: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
113 |             }
114 |         case let handler as DownloadTaskHandler:
115 |             if let location = handler.location, let response = task.response, error == nil {
    |                                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
116 |                 let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
117 |                 handler.completion?(.success(response))
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:116:32: error: generic parameter 'T' could not be inferred
114 |         case let handler as DownloadTaskHandler:
115 |             if let location = handler.location, let response = task.response, error == nil {
116 |                 let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
    |                                |- error: generic parameter 'T' could not be inferred
    |                                `- note: explicitly specify the generic arguments to fix this issue
117 |                 handler.completion?(.success(response))
118 |             } else {
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Response.swift:12:24: note: 'T' declared as parameter to type 'Response'
10 |
11 | /// A response with an associated value and metadata.
12 | public struct Response<T> {
   |                        `- note: 'T' declared as parameter to type 'Response'
13 |     /// Decoded response value.
14 |     public let value: T
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:144:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
142 |         completionHandler(request)
143 | #else
144 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
145 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
146 |         completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:174:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
172 |         completionHandler(.performDefaultHandling, nil)
173 | #else
174 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
175 |         userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
176 |         completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:186:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
184 |         completionHandler(.continueLoading, nil)
185 | #else
186 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
187 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
188 |         completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:210:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
208 |         completionHandler(.allow)
209 | #else
210 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
211 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
212 |         completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:308:42: error: cannot find type 'URLSessionDataDelegate' in scope
306 |
307 |     override init(delegate: URLSessionTaskDelegate?) {
308 |         self.dataDelegate = delegate as? URLSessionDataDelegate
    |                                          `- error: cannot find type 'URLSessionDataDelegate' in scope
309 |         super.init(delegate: delegate)
310 |     }
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/DataLoader.swift:336:29: error: cannot find type 'OperationQueue' in scope
334 |
335 | extension OperationQueue {
336 |     static func serial() -> OperationQueue {
    |                             `- error: cannot find type 'OperationQueue' in scope
337 |         let queue = OperationQueue()
338 |         queue.maxConcurrentOperationCount = 1
BUILD FAILURE 6.1 wasm