The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SkavokNetworking, reference 1.0.2 (5a0db5), with Swift 6.0 for Linux on 18 Sep 2024 09:49:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

 40 |             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/Sources/SkavokNetworking/DataLoader.swift:52:87: error: cannot find type 'URLSessionTaskDelegate' in scope
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                                       `- error: cannot find type 'URLSessionTaskDelegate' in scope
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:52:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     }
 51 |
 52 |     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.
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             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/Sources/SkavokNetworking/DataLoader.swift:52:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     }
 51 |
 52 |     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.
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             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/Sources/SkavokNetworking/DataLoader.swift:68:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |     // MARK: - URLSessionDelegate
 67 |
 68 |     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.
 69 |         userSessionDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
 70 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:72:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     }
 71 |
 72 |     func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |         if #available(macOS 11.0, *) {
 74 |             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/Sources/SkavokNetworking/DataLoader.swift:82:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     // MARK: - URLSessionTaskDelegate
 81 |
 82 |     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.
 83 |         guard let handler = handlers[task] else { return assertionFailure() }
 84 |         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/Sources/SkavokNetworking/DataLoader.swift:82:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     // MARK: - URLSessionTaskDelegate
 81 |
 82 |     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.
 83 |         guard let handler = handlers[task] else { return assertionFailure() }
 84 |         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/Sources/SkavokNetworking/DataLoader.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
106 |     }
107 |
108 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                                                               `- error: cannot find type 'URLSessionTaskMetrics' in scope
109 |         let handler = handlers[task]
110 |         handler?.metrics = metrics
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     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.
109 |         let handler = handlers[task]
110 |         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/Sources/SkavokNetworking/DataLoader.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     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.
109 |         let handler = handlers[task]
110 |         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/Sources/SkavokNetworking/DataLoader.swift:115:140: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:115:182: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:115:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     }
114 |
115 |     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.
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:115:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     }
114 |
115 |     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.
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:115:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     }
114 |
115 |     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.
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:121:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |     }
120 |
121 |     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.
122 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
123 |         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/Sources/SkavokNetworking/DataLoader.swift:121:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |     }
120 |
121 |     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.
122 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
123 |         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/Sources/SkavokNetworking/DataLoader.swift:126:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
124 |     }
125 |
126 |     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')
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/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, 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.
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.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/Sources/SkavokNetworking/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, 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.
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:126:88: error: 'URLAuthenticationChallenge' 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, 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.
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:132:99: error: cannot find type 'URLRequest' in scope
130 |     }
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                   `- error: cannot find type 'URLRequest' in scope
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:132:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
130 |     }
131 |
132 |     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')
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:132:179: error: cannot find type 'URLRequest' in scope
130 |     }
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                                   `- error: cannot find type 'URLRequest' in scope
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:132:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     }
131 |
132 |     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.
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:132:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     }
131 |
132 |     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.
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:139:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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')
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:139:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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.
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:139:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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.
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:139:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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.
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:145:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
143 |     }
144 |
145 |     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.
146 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
147 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:145:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
143 |     }
144 |
145 |     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.
146 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
147 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:158:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:158:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:158:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:158:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:165:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     // MARK: - URLSessionDownloadDelegate
165 |     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.
166 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
167 |         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/Sources/SkavokNetworking/DataLoader.swift:165:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     // MARK: - URLSessionDownloadDelegate
165 |     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.
166 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
167 |         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/Sources/SkavokNetworking/DataLoader.swift:176:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 |     }
175 |
176 |     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.
177 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
178 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:176:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 |     }
175 |
176 |     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.
177 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
178 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:181:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     }
180 |
181 |     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.
182 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
183 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:181:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     }
180 |
181 |     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.
182 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
183 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:189:19: error: cannot find type 'URLSessionTaskDelegate' in scope
187 | // MARK: - TaskHandlers
188 | private class TaskHandler {
189 |     let delegate: URLSessionTaskDelegate?
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
190 |     var metrics: URLSessionTaskMetrics?
191 |
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:190:18: error: cannot find type 'URLSessionTaskMetrics' in scope
188 | private class TaskHandler {
189 |     let delegate: URLSessionTaskDelegate?
190 |     var metrics: URLSessionTaskMetrics?
    |                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
191 |
192 |     init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:192:20: error: cannot find type 'URLSessionTaskDelegate' in scope
190 |     var metrics: URLSessionTaskMetrics?
191 |
192 |     init(delegate: URLSessionTaskDelegate?) {
    |                    `- error: cannot find type 'URLSessionTaskDelegate' in scope
193 |         self.delegate = delegate
194 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:200:23: error: cannot find type 'URLSessionDataDelegate' in scope
198 |     typealias Completion = (Result<Response<Data>, Error>) -> Void
199 |
200 |     let dataDelegate: URLSessionDataDelegate?
    |                       `- error: cannot find type 'URLSessionDataDelegate' in scope
201 |     var completion: Completion?
202 |     var data: Data?
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:204:29: error: cannot find type 'URLSessionTaskDelegate' in scope
202 |     var data: Data?
203 |
204 |     override init(delegate: URLSessionTaskDelegate?) {
    |                             `- error: cannot find type 'URLSessionTaskDelegate' in scope
205 |         self.dataDelegate = delegate as? URLSessionDataDelegate
206 |         super.init(delegate: delegate)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:204:14: error: initializer does not override a designated initializer from its superclass
202 |     var data: Data?
203 |
204 |     override init(delegate: URLSessionTaskDelegate?) {
    |              `- error: initializer does not override a designated initializer from its superclass
205 |         self.dataDelegate = delegate as? URLSessionDataDelegate
206 |         super.init(delegate: delegate)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:213:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
211 |     typealias Completion = (Result<Response<URL>, Error>) -> Void
212 |
213 |     let downloadDelegate: URLSessionDownloadDelegate?
    |                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
214 |     var completion: Completion?
215 |     var location: URL?
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:217:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
215 |     var location: URL?
216 |
217 |     init(delegate: URLSessionDownloadDelegate?) {
    |                    `- error: cannot find type 'URLSessionDownloadDelegate' in scope
218 |         self.downloadDelegate = delegate
219 |         super.init(delegate: delegate)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:227:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
225 |
226 | struct DataLoaderError: Error {
227 |     let task: URLSessionTask
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
228 |     let error: Error
229 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:227:9: warning: stored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-sendable type 'URLSessionTask' (aka 'AnyObject'); this is an error in the Swift 6 language mode
225 |
226 | struct DataLoaderError: Error {
227 |     let task: URLSessionTask
    |         `- warning: stored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-sendable type 'URLSessionTask' (aka 'AnyObject'); this is an error in the Swift 6 language mode
228 |     let error: Error
229 | }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:285:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
283 |     private var handlers = [URLSessionTask: TaskHandler]()
284 |
285 |     subscript(task: URLSessionTask) -> TaskHandler? {
    |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
286 |         get {
287 |             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/Sources/SkavokNetworking/Models/APIConfiguration.swift:8:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public var baseURL: URL?
 7 |     /// By default, `URLSessionConfiguration.default`.
 8 |     public var sessionConfiguration: URLSessionConfiguration = .default
   |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
10 |     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/Sources/SkavokNetworking/Models/APIConfiguration.swift:8:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 6 |     public var baseURL: URL?
 7 |     /// By default, `URLSessionConfiguration.default`.
 8 |     public var sessionConfiguration: URLSessionConfiguration = .default
   |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 9 |     /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
10 |     public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIConfiguration.swift:10:33: error: cannot find type 'URLSessionDelegate' in scope
 8 |     public var sessionConfiguration: URLSessionConfiguration = .default
 9 |     /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
10 |     public var sessionDelegate: URLSessionDelegate?
   |                                 `- error: cannot find type 'URLSessionDelegate' in scope
11 |     /// Overrides the default delegate queue.
12 |     public var sessionDelegateQueue: OperationQueue?
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIConfiguration.swift:21:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |     public init(
20 |         baseURL: URL?,
21 |         sessionConfiguration: URLSessionConfiguration = .default
   |                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |     ) {
23 |         self.baseURL = baseURL
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIConfiguration.swift:21:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |     public init(
20 |         baseURL: URL?,
21 |         sessionConfiguration: URLSessionConfiguration = .default
   |                                                          `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
22 |     ) {
23 |         self.baseURL = baseURL
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:115:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
113 |     }
114 |
115 |     public static let get: HTTPMethod = "GET"
    |                       |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'get' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:116:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
114 |
115 |     public static let get: HTTPMethod = "GET"
116 |     public static let post: HTTPMethod = "POST"
    |                       |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'post' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:117:23: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
115 |     public static let get: HTTPMethod = "GET"
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
    |                       |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'patch' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:118:23: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
116 |     public static let post: HTTPMethod = "POST"
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
    |                       |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'put' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:119:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
117 |     public static let patch: HTTPMethod = "PATCH"
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
    |                       |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:120:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
118 |     public static let put: HTTPMethod = "PUT"
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
    |                       |- warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'options' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |     public static let head: HTTPMethod = "HEAD"
122 |     public static let trace: HTTPMethod = "TRACE"
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:121:23: warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
119 |     public static let delete: HTTPMethod = "DELETE"
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
    |                       |- warning: static property 'head' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'head' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |     public static let trace: HTTPMethod = "TRACE"
123 | }
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:122:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
102 | }
103 |
104 | public struct HTTPMethod: RawRepresentable, Hashable, ExpressibleByStringLiteral {
    |               `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
105 |     public let rawValue: String
106 |
    :
120 |     public static let options: HTTPMethod = "OPTIONS"
121 |     public static let head: HTTPMethod = "HEAD"
122 |     public static let trace: HTTPMethod = "TRACE"
    |                       |- warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'trace' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:8:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 |     public let value: T
 7 |     /// Original response.
 8 |     public let response: URLResponse
   |                          `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |     /// Response HTTP status code.
10 |     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/Sources/SkavokNetworking/Models/Response.swift:14:33: error: cannot find type 'URLRequest' in scope
12 |     public let data: Data
13 |     /// Original request.
14 |     public var originalRequest: URLRequest? { task.originalRequest }
   |                                 `- error: cannot find type 'URLRequest' in scope
15 |     /// The URL request object currently being handled by the task. May be
16 |     /// different from the original request.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:17:32: error: cannot find type 'URLRequest' in scope
15 |     /// The URL request object currently being handled by the task. May be
16 |     /// different from the original request.
17 |     public var currentRequest: URLRequest? { task.currentRequest }
   |                                `- error: cannot find type 'URLRequest' in scope
18 |     /// Completed task.
19 |     public let task: URLSessionTask
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:19:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |     public var currentRequest: URLRequest? { task.currentRequest }
18 |     /// Completed task.
19 |     public let task: URLSessionTask
   |                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
20 |     /// Task metrics collected for the request.
21 |     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/Sources/SkavokNetworking/Models/Response.swift:21:25: error: cannot find type 'URLSessionTaskMetrics' in scope
19 |     public let task: URLSessionTask
20 |     /// Task metrics collected for the request.
21 |     public let metrics: URLSessionTaskMetrics?
   |                         `- error: cannot find type 'URLSessionTaskMetrics' in scope
22 |
23 |     /// Initializes the response.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:24:93: error: cannot find type 'URLSessionTaskMetrics' in scope
22 |
23 |     /// Initializes the response.
24 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                                                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
25 |         self.value = value
26 |         self.data = data
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:24:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     /// Initializes the response.
24 |     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.
25 |         self.value = value
26 |         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/Sources/SkavokNetworking/Models/Response.swift:24:68: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
22 |
23 |     /// Initializes the response.
24 |     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.
25 |         self.value = value
26 |         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
[7/10] Compiling SkavokNetworking APIClient.swift
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:8:12: warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
  6 |     public nonisolated let configuration: Configuration
  7 |     /// The underlying `URLSession` instance.
  8 |     public nonisolated let session: URLSession
    |            `- warning: 'nonisolated' can not be applied to variable with non-'Sendable' type 'URLSession' (aka 'AnyObject'); this is an error in the Swift 6 language mode
  9 |
 10 |     private let decoder: JSONDecoder
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:8:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  6 |     public nonisolated let configuration: Configuration
  7 |     /// The underlying `URLSession` instance.
  8 |     public nonisolated let session: URLSession
    |                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |
 10 |     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/Sources/SkavokNetworking/APIClientDelegate.swift:13:69: error: cannot find type 'URLRequest' in scope
 11 |     ///   - client: The client that sends the request.
 12 |     ///   - request: The request about to be sent. Can be modified
 13 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// Validates response for the given request.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:24:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |         public var delegate: APIClientDelegate?
 23 |         /// By default, `URLSessionConfiguration.default`.
 24 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                          `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |         /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
 26 |         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/Sources/SkavokNetworking/APIClient.swift:24:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 22 |         public var delegate: APIClientDelegate?
 23 |         /// By default, `URLSessionConfiguration.default`.
 24 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 25 |         /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
 26 |         public var sessionDelegate: URLSessionDelegate?
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:37: error: cannot find type 'URLSessionDelegate' in scope
 24 |         public var sessionConfiguration: URLSessionConfiguration = .default
 25 |         /// The (optional) URLSession delegate that allows you to monitor the underlying URLSession.
 26 |         public var sessionDelegate: URLSessionDelegate?
    |                                     `- error: cannot find type 'URLSessionDelegate' in scope
 27 |         /// Overrides the default delegate queue.
 28 |         public var sessionDelegateQueue: OperationQueue?
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:37:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |         public init(
 36 |             baseURL: URL?,
 37 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                   `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |             delegate: APIClientDelegate? = nil
 39 |         ) {
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:37:62: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 35 |         public init(
 36 |             baseURL: URL?,
 37 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 38 |             delegate: APIClientDelegate? = nil
 39 |         ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:84:19: error: cannot find type 'URLSessionDataDelegate' in scope
 82 |     @discardableResult public func send<T: Decodable>(
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 85 |         configure: ((inout URLRequest) throws -> Void)? = nil
 86 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:85:28: error: cannot find type 'URLRequest' in scope
 83 |         _ request: Request<T>,
 84 |         delegate: URLSessionDataDelegate? = nil,
 85 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
 86 |     ) async throws -> Response<T> {
 87 |         let response = try await data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:103:19: error: cannot find type 'URLSessionDataDelegate' in scope
101 |     @discardableResult public func send(
102 |         _ request: Request<Void>,
103 |         delegate: URLSessionDataDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
104 |         configure: ((inout URLRequest) throws -> Void)? = nil
105 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:104:28: error: cannot find type 'URLRequest' in scope
102 |         _ request: Request<Void>,
103 |         delegate: URLSessionDataDelegate? = nil,
104 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
105 |     ) async throws -> Response<Void> {
106 |         try await data(for: request, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:120:19: error: cannot find type 'URLSessionDataDelegate' in scope
118 |     public func data<T>(
119 |         for request: Request<T>,
120 |         delegate: URLSessionDataDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
121 |         configure: ((inout URLRequest) throws -> Void)? = nil
122 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:121:28: error: cannot find type 'URLRequest' in scope
119 |         for request: Request<T>,
120 |         delegate: URLSessionDataDelegate? = nil,
121 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
122 |     ) async throws -> Response<Data> {
123 |         let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:152:19: error: cannot find type 'URLSessionTaskDelegate' in scope
150 |         for request: Request<T>,
151 |         fromFile fileURL: URL,
152 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
153 |         configure: ((inout URLRequest) throws -> Void)? = nil
154 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:153:28: error: cannot find type 'URLRequest' in scope
151 |         fromFile fileURL: URL,
152 |         delegate: URLSessionTaskDelegate? = nil,
153 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
154 |     ) async throws -> Response<T> {
155 |         let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:173:19: error: cannot find type 'URLSessionTaskDelegate' in scope
171 |         for request: Request<Void>,
172 |         fromFile fileURL: URL,
173 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
174 |         configure: ((inout URLRequest) throws -> Void)? = nil
175 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:174:28: error: cannot find type 'URLRequest' in scope
172 |         fromFile fileURL: URL,
173 |         delegate: URLSessionTaskDelegate? = nil,
174 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
175 |     ) async throws -> Response<Void> {
176 |         try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:182:19: error: cannot find type 'URLSessionTaskDelegate' in scope
180 |         for request: Request<T>,
181 |         fromFile fileURL: URL,
182 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
183 |         configure: ((inout URLRequest) throws -> Void)?
184 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:183:28: error: cannot find type 'URLRequest' in scope
181 |         fromFile fileURL: URL,
182 |         delegate: URLSessionTaskDelegate?,
183 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
184 |     ) async throws -> Response<Data> {
185 |         let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:214:19: error: cannot find type 'URLSessionTaskDelegate' in scope
212 |         for request: Request<T>,
213 |         from data: Data,
214 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
215 |         configure: ((inout URLRequest) throws -> Void)? = nil
216 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:215:28: error: cannot find type 'URLRequest' in scope
213 |         from data: Data,
214 |         delegate: URLSessionTaskDelegate? = nil,
215 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
216 |     ) async throws -> Response<T> {
217 |         let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:235:19: error: cannot find type 'URLSessionTaskDelegate' in scope
233 |         for request: Request<Void>,
234 |         from data: Data,
235 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
236 |         configure: ((inout URLRequest) throws -> Void)? = nil
237 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:236:28: error: cannot find type 'URLRequest' in scope
234 |         from data: Data,
235 |         delegate: URLSessionTaskDelegate? = nil,
236 |         configure: ((inout URLRequest) throws -> Void)? = nil
    |                            `- error: cannot find type 'URLRequest' in scope
237 |     ) async throws -> Response<Void> {
238 |         try await _upload(for: request, from: data, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:244:19: error: cannot find type 'URLSessionTaskDelegate' in scope
242 |         for request: Request<T>,
243 |         from data: Data,
244 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
245 |         configure: ((inout URLRequest) throws -> Void)?
246 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:245:28: error: cannot find type 'URLRequest' in scope
243 |         from data: Data,
244 |         delegate: URLSessionTaskDelegate?,
245 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
246 |     ) async throws -> Response<Data> {
247 |         let request = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:264:76: error: cannot find type 'URLRequest' in scope
262 |     // MARK: Making Requests
263 |     /// Creates `URLRequest` for the given request.
264 |     public func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest {
    |                                                                            `- error: cannot find type 'URLRequest' in scope
265 |         try await makeURLRequest(for: request, { _ in })
266 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:270:30: error: cannot find type 'URLRequest' in scope
268 |     private func makeURLRequest<T>(
269 |         for request: Request<T>,
270 |         _ configure: ((inout URLRequest) throws -> Void)?
    |                              `- error: cannot find type 'URLRequest' in scope
271 |     ) async throws -> URLRequest {
272 |         let url = try makeURL(for: request)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:271:23: error: cannot find type 'URLRequest' in scope
269 |         for request: Request<T>,
270 |         _ configure: ((inout URLRequest) throws -> Void)?
271 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
272 |         let url = try makeURL(for: request)
273 |         var urlRequest = URLRequest(url: url)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionDataDelegate' in scope
  4 |     func send<T: Decodable>(
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionDataDelegate?,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
  7 |         configure: ((inout URLRequest) throws -> Void)?
  8 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:7:28: error: cannot find type 'URLRequest' in scope
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionDataDelegate?,
  7 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
  8 |     ) async throws -> Response<T>
  9 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: error: cannot find type 'URLSessionDataDelegate' in scope
 10 |     func send(
 11 |         _ request: Request<Void>,
 12 |         delegate: URLSessionDataDelegate?,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 13 |         configure: ((inout URLRequest) throws -> Void)?
 14 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:13:28: error: cannot find type 'URLRequest' in scope
 11 |         _ request: Request<Void>,
 12 |         delegate: URLSessionDataDelegate?,
 13 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 14 |     ) async throws -> Response<Void>
 15 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: error: cannot find type 'URLSessionDataDelegate' in scope
 16 |     func data<T>(
 17 |         for request: Request<T>,
 18 |         delegate: URLSessionDataDelegate?,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 19 |         configure: ((inout URLRequest) throws -> Void)?
 20 |     ) async throws -> Response<Data>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:19:28: error: cannot find type 'URLRequest' in scope
 17 |         for request: Request<T>,
 18 |         delegate: URLSessionDataDelegate?,
 19 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 20 |     ) async throws -> Response<Data>
 21 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:36:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 34 |         for request: Request<T>,
 35 |         fromFile fileURL: URL,
 36 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 37 |         configure: ((inout URLRequest) throws -> Void)?
 38 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:37:28: error: cannot find type 'URLRequest' in scope
 35 |         fromFile fileURL: URL,
 36 |         delegate: URLSessionTaskDelegate?,
 37 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 38 |     ) async throws -> Response<T>
 39 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:52:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 50 |         for request: Request<Void>,
 51 |         fromFile fileURL: URL,
 52 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 53 |         configure: ((inout URLRequest) throws -> Void)?
 54 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:53:28: error: cannot find type 'URLRequest' in scope
 51 |         fromFile fileURL: URL,
 52 |         delegate: URLSessionTaskDelegate?,
 53 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 54 |     ) async throws -> Response<Void>
 55 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:70:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 68 |         for request: Request<T>,
 69 |         from data: Data,
 70 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 71 |         configure: ((inout URLRequest) throws -> Void)?
 72 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:71:28: error: cannot find type 'URLRequest' in scope
 69 |         from data: Data,
 70 |         delegate: URLSessionTaskDelegate?,
 71 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 72 |     ) async throws -> Response<T>
 73 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:86:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 84 |         for request: Request<Void>,
 85 |         from data: Data,
 86 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 87 |         configure: ((inout URLRequest) throws -> Void)?
 88 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:87:28: error: cannot find type 'URLRequest' in scope
 85 |         from data: Data,
 86 |         delegate: URLSessionTaskDelegate?,
 87 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 88 |     ) async throws -> Response<Void>
 89 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:92:69: error: cannot find type 'URLRequest' in scope
 90 |     // MARK: Making Requests
 91 |     /// Creates `URLRequest` for the given request.
 92 |     func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:65:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 63 |         self.configuration = configuration
 64 |         let delegateQueue = configuration.sessionDelegateQueue ?? .serial()
 65 |         self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 66 |         self.dataLoader.userSessionDelegate = configuration.sessionDelegate
 67 |         self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:7:30: error: cannot find type 'URLSessionDelegate' in scope
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
  7 |     var userSessionDelegate: URLSessionDelegate? {
    |                              `- error: cannot find type 'URLSessionDelegate' in scope
  8 |         didSet {
  9 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:74:69: error: cannot find type 'URLRequest' in scope
 72 |
 73 | public extension APIClientDelegate {
 74 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 75 |         // Do nothing
 76 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:273:26: error: cannot find 'URLRequest' in scope
271 |     ) async throws -> URLRequest {
272 |         let url = try makeURL(for: request)
273 |         var urlRequest = URLRequest(url: url)
    |                          `- error: cannot find 'URLRequest' in scope
274 |         urlRequest.allHTTPHeaderFields = request.headers
275 |         urlRequest.httpMethod = request.method.rawValue
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:280:25: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
278 |             urlRequest.httpBody = try await encode(body, using: encoder)
279 |             if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil &&
280 |                 session.configuration.httpAdditionalHeaders?["Content-Type"] == nil {
    |                         `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
281 |                 urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
282 |             }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:285:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
283 |         }
284 |         if urlRequest.value(forHTTPHeaderField: "Accept") == nil &&
285 |             session.configuration.httpAdditionalHeaders?["Accept"] == nil {
    |                     `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
286 |             urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
287 |         }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:319:30: warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
315 |
316 |     // MARK: Helpers
317 |     private func performRequest<T>(attempts: Int = 1, send: () async throws -> T) async throws -> T {
    |                                 `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
318 |         do {
319 |             return try await send()
    |                              `- warning: non-sendable type 'T' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
320 |         } catch {
321 |             guard let error = error as? DataLoaderError else {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:332:52: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
330 |
331 |     private func validate<T>(_ response: Response<T>) throws {
332 |         guard let httpResponse = response.response as? HTTPURLResponse else { return }
    |                                                    `- warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
333 |         try delegate.client(self, validateResponse: httpResponse, data: response.data, task: response.task)
334 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:332:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
330 |
331 |     private func validate<T>(_ response: Response<T>) throws {
332 |         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.
333 |         try delegate.client(self, validateResponse: httpResponse, data: response.data, task: response.task)
334 |     }
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
[8/10] Compiling SkavokNetworking DataLoader.swift
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:35: error: cannot find type 'URLSessionDataDelegate' in scope
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:59: error: cannot find type 'URLSessionDownloadDelegate' in scope
  2 |
  3 | // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
  4 | final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
    |                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:283:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
281 | private final class TaskHandlersDictionary {
282 |     private let lock = NSLock()
283 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
284 |
285 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:283:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
281 | private final class TaskHandlersDictionary {
282 |     private let lock = NSLock()
283 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
284 |
285 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:7:30: error: cannot find type 'URLSessionDelegate' in scope
  5 |     private let handlers = TaskHandlersDictionary()
  6 |
  7 |     var userSessionDelegate: URLSessionDelegate? {
    |                              `- error: cannot find type 'URLSessionDelegate' in scope
  8 |         didSet {
  9 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:14:35: error: cannot find type 'URLSessionTaskDelegate' in scope
 12 |         }
 13 |     }
 14 |     private var userTaskDelegate: URLSessionTaskDelegate?
    |                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 15 |     private var userDataDelegate: URLSessionDataDelegate?
 16 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:9:56: error: cannot find type 'URLSessionTaskDelegate' in scope
  7 |     var userSessionDelegate: URLSessionDelegate? {
  8 |         didSet {
  9 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
    |                                                        `- error: cannot find type 'URLSessionTaskDelegate' in scope
 10 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
 11 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:15:35: error: cannot find type 'URLSessionDataDelegate' in scope
 13 |     }
 14 |     private var userTaskDelegate: URLSessionTaskDelegate?
 15 |     private var userDataDelegate: URLSessionDataDelegate?
    |                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 16 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
 17 |
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:10:56: error: cannot find type 'URLSessionDataDelegate' in scope
  8 |         didSet {
  9 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
 10 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
    |                                                        `- error: cannot find type 'URLSessionDataDelegate' in scope
 11 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
 12 |         }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:16:39: error: cannot find type 'URLSessionDownloadDelegate' in scope
 14 |     private var userTaskDelegate: URLSessionTaskDelegate?
 15 |     private var userDataDelegate: URLSessionDataDelegate?
 16 |     private var userDownloadDelegate: URLSessionDownloadDelegate?
    |                                       `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 17 |
 18 |     private static let downloadDirectoryURL: URL = {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:11:60: error: cannot find type 'URLSessionDownloadDelegate' in scope
  9 |             userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
 10 |             userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
 11 |             userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
    |                                                            `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 12 |         }
 13 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:24:83: error: cannot find type 'URLSessionDataDelegate' in scope
 22 |     }()
 23 |
 24 |     func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
    |                                                                                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 25 |         try await withTaskCancellationHandler(operation: {
 26 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:24:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |     }()
 23 |
 24 |     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.
 25 |         try await withTaskCancellationHandler(operation: {
 26 |             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/Sources/SkavokNetworking/DataLoader.swift:24:61: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 22 |     }()
 23 |
 24 |     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.
 25 |         try await withTaskCancellationHandler(operation: {
 26 |             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/Sources/SkavokNetworking/DataLoader.swift:38:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
 36 |     }
 37 |
 38 |     func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
    |                                                                                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
 39 |         try await withTaskCancellationHandler(operation: {
 40 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:38:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     }
 37 |
 38 |     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.
 39 |         try await withTaskCancellationHandler(operation: {
 40 |             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/Sources/SkavokNetworking/DataLoader.swift:38:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 36 |     }
 37 |
 38 |     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.
 39 |         try await withTaskCancellationHandler(operation: {
 40 |             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/Sources/SkavokNetworking/DataLoader.swift:52:87: error: cannot find type 'URLSessionTaskDelegate' in scope
 50 |     }
 51 |
 52 |     func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                                       `- error: cannot find type 'URLSessionTaskDelegate' in scope
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             try await withUnsafeThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:52:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     }
 51 |
 52 |     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.
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             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/Sources/SkavokNetworking/DataLoader.swift:52:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     }
 51 |
 52 |     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.
 53 |         try await withTaskCancellationHandler(operation: {
 54 |             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/Sources/SkavokNetworking/DataLoader.swift:68:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |     // MARK: - URLSessionDelegate
 67 |
 68 |     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.
 69 |         userSessionDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
 70 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:72:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 70 |     }
 71 |
 72 |     func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
    |                                                                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |         if #available(macOS 11.0, *) {
 74 |             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/Sources/SkavokNetworking/DataLoader.swift:82:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     // MARK: - URLSessionTaskDelegate
 81 |
 82 |     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.
 83 |         guard let handler = handlers[task] else { return assertionFailure() }
 84 |         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/Sources/SkavokNetworking/DataLoader.swift:82:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     // MARK: - URLSessionTaskDelegate
 81 |
 82 |     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.
 83 |         guard let handler = handlers[task] else { return assertionFailure() }
 84 |         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/Sources/SkavokNetworking/DataLoader.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
106 |     }
107 |
108 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                                                               `- error: cannot find type 'URLSessionTaskMetrics' in scope
109 |         let handler = handlers[task]
110 |         handler?.metrics = metrics
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     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.
109 |         let handler = handlers[task]
110 |         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/Sources/SkavokNetworking/DataLoader.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |     }
107 |
108 |     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.
109 |         let handler = handlers[task]
110 |         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/Sources/SkavokNetworking/DataLoader.swift:115:140: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                            `- error: cannot find type 'URLRequest' in scope
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:115:182: error: cannot find type 'URLRequest' in scope
113 |     }
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                                                                                                                                                      `- error: cannot find type 'URLRequest' in scope
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:115:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     }
114 |
115 |     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.
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:115:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     }
114 |
115 |     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.
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:115:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
113 |     }
114 |
115 |     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.
116 |         handlers[task]?.delegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
117 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:121:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |     }
120 |
121 |     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.
122 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
123 |         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/Sources/SkavokNetworking/DataLoader.swift:121:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
119 |     }
120 |
121 |     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.
122 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
123 |         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/Sources/SkavokNetworking/DataLoader.swift:126:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
124 |     }
125 |
126 |     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')
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/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, 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.
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.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/Sources/SkavokNetworking/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, 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.
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:126:88: error: 'URLAuthenticationChallenge' 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, 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.
127 |         handlers[task]?.delegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
128 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:132:99: error: cannot find type 'URLRequest' in scope
130 |     }
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                   `- error: cannot find type 'URLRequest' in scope
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:132:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
130 |     }
131 |
132 |     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')
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:132:179: error: cannot find type 'URLRequest' in scope
130 |     }
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                                   `- error: cannot find type 'URLRequest' in scope
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:132:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     }
131 |
132 |     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.
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:132:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     }
131 |
132 |     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.
133 |         handlers[task]?.delegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
134 |         userTaskDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:139:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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')
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:139:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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.
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:139:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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.
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:139:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
137 |
138 |     // MARK: - URLSessionDataDelegate
139 |     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.
140 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
141 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:145:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
143 |     }
144 |
145 |     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.
146 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
147 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:145:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
143 |     }
144 |
145 |     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.
146 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
147 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:158:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:158:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:158:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:158:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
156 |
157 |
158 |     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.
159 |         (handlers[dataTask] as? DataTaskHandler)?.dataDelegate?.urlSession?(session, dataTask: dataTask, willCacheResponse: proposedResponse, completionHandler: completionHandler) ??
160 |         userDataDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:165:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     // MARK: - URLSessionDownloadDelegate
165 |     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.
166 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
167 |         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/Sources/SkavokNetworking/DataLoader.swift:165:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |
164 |     // MARK: - URLSessionDownloadDelegate
165 |     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.
166 |         let handler = (handlers[downloadTask] as? DownloadTaskHandler)
167 |         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/Sources/SkavokNetworking/DataLoader.swift:176:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 |     }
175 |
176 |     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.
177 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
178 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:176:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 |     }
175 |
176 |     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.
177 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didWriteData: bytesWritten, totalBytesWritten: totalBytesWritten, totalBytesExpectedToWrite: totalBytesExpectedToWrite)
178 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:181:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     }
180 |
181 |     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.
182 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
183 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:181:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     }
180 |
181 |     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.
182 |         (handlers[downloadTask] as? DownloadTaskHandler)?.downloadDelegate?.urlSession?(session, downloadTask: downloadTask, didResumeAtOffset: fileOffset, expectedTotalBytes: expectedTotalBytes)
183 |         userDownloadDelegate?.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/Sources/SkavokNetworking/DataLoader.swift:189:19: error: cannot find type 'URLSessionTaskDelegate' in scope
187 | // MARK: - TaskHandlers
188 | private class TaskHandler {
189 |     let delegate: URLSessionTaskDelegate?
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
190 |     var metrics: URLSessionTaskMetrics?
191 |
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:190:18: error: cannot find type 'URLSessionTaskMetrics' in scope
188 | private class TaskHandler {
189 |     let delegate: URLSessionTaskDelegate?
190 |     var metrics: URLSessionTaskMetrics?
    |                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
191 |
192 |     init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:192:20: error: cannot find type 'URLSessionTaskDelegate' in scope
190 |     var metrics: URLSessionTaskMetrics?
191 |
192 |     init(delegate: URLSessionTaskDelegate?) {
    |                    `- error: cannot find type 'URLSessionTaskDelegate' in scope
193 |         self.delegate = delegate
194 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:200:23: error: cannot find type 'URLSessionDataDelegate' in scope
198 |     typealias Completion = (Result<Response<Data>, Error>) -> Void
199 |
200 |     let dataDelegate: URLSessionDataDelegate?
    |                       `- error: cannot find type 'URLSessionDataDelegate' in scope
201 |     var completion: Completion?
202 |     var data: Data?
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:204:29: error: cannot find type 'URLSessionTaskDelegate' in scope
202 |     var data: Data?
203 |
204 |     override init(delegate: URLSessionTaskDelegate?) {
    |                             `- error: cannot find type 'URLSessionTaskDelegate' in scope
205 |         self.dataDelegate = delegate as? URLSessionDataDelegate
206 |         super.init(delegate: delegate)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:204:14: error: initializer does not override a designated initializer from its superclass
202 |     var data: Data?
203 |
204 |     override init(delegate: URLSessionTaskDelegate?) {
    |              `- error: initializer does not override a designated initializer from its superclass
205 |         self.dataDelegate = delegate as? URLSessionDataDelegate
206 |         super.init(delegate: delegate)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:213:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
211 |     typealias Completion = (Result<Response<URL>, Error>) -> Void
212 |
213 |     let downloadDelegate: URLSessionDownloadDelegate?
    |                           `- error: cannot find type 'URLSessionDownloadDelegate' in scope
214 |     var completion: Completion?
215 |     var location: URL?
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:217:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
215 |     var location: URL?
216 |
217 |     init(delegate: URLSessionDownloadDelegate?) {
    |                    `- error: cannot find type 'URLSessionDownloadDelegate' in scope
218 |         self.downloadDelegate = delegate
219 |         super.init(delegate: delegate)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:227:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
225 |
226 | struct DataLoaderError: Error {
227 |     let task: URLSessionTask
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
228 |     let error: Error
229 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:227:9: warning: stored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-sendable type 'URLSessionTask' (aka 'AnyObject'); this is an error in the Swift 6 language mode
225 |
226 | struct DataLoaderError: Error {
227 |     let task: URLSessionTask
    |         `- warning: stored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-sendable type 'URLSessionTask' (aka 'AnyObject'); this is an error in the Swift 6 language mode
228 |     let error: Error
229 | }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:285:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
283 |     private var handlers = [URLSessionTask: TaskHandler]()
284 |
285 |     subscript(task: URLSessionTask) -> TaskHandler? {
    |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
286 |         get {
287 |             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/Sources/SkavokNetworking/DataLoader.swift:34:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
 32 |             }
 33 |         }, onCancel: {
 34 |             task.cancel()
    |                  `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
 35 |         })
 36 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:48:18: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
 46 |             }
 47 |         }, onCancel: {
 48 |             task.cancel()
    |                  `- error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
 49 |         })
 50 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:62:18: error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
 60 |             }
 61 |         }, onCancel: {
 62 |             task.cancel()
    |                  `- error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
 63 |         })
 64 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:89:36: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
 87 |         switch handler {
 88 |         case let handler as DataTaskHandler:
 89 |             if let response = task.response, error == nil {
    |                                    `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
 90 |                 let data = handler.data ?? Data()
 91 |                 let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:24:93: error: cannot find type 'URLSessionTaskMetrics' in scope
22 |
23 |     /// Initializes the response.
24 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                                                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
25 |         self.value = value
26 |         self.data = data
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:91:32: error: generic parameter 'T' could not be inferred
 89 |             if let response = task.response, error == nil {
 90 |                 let data = handler.data ?? Data()
 91 |                 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
 92 |                 handler.completion?(.success(response))
 93 |             } else {
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:4:24: note: 'T' declared as parameter to type 'Response'
 2 |
 3 | /// A response with an associated value and metadata.
 4 | public struct Response<T> {
   |                        `- note: 'T' declared as parameter to type 'Response'
 5 |     /// Decoded response value.
 6 |     public let value: T
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:97:69: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
 95 |             }
 96 |         case let handler as DownloadTaskHandler:
 97 |             if let location = handler.location, let response = task.response, error == nil {
    |                                                                     `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
 98 |                 let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
 99 |                 handler.completion?(.success(response))
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:98:32: error: generic parameter 'T' could not be inferred
 96 |         case let handler as DownloadTaskHandler:
 97 |             if let location = handler.location, let response = task.response, error == nil {
 98 |                 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
 99 |                 handler.completion?(.success(response))
100 |             } else {
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:4:24: note: 'T' declared as parameter to type 'Response'
 2 |
 3 | /// A response with an associated value and metadata.
 4 | public struct Response<T> {
   |                        `- note: 'T' declared as parameter to type 'Response'
 5 |     /// Decoded response value.
 6 |     public let value: T
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:116:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
114 |
115 |     func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
116 |         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
117 |         userTaskDelegate?.urlSession?(session, task: task, willPerformHTTPRedirection: response, newRequest: request, completionHandler: completionHandler) ??
118 |         completionHandler(request)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:127:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
125 |
126 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
127 |         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
128 |         userTaskDelegate?.urlSession?(session, task: task, didReceive: challenge, completionHandler: completionHandler) ??
129 |         completionHandler(.performDefaultHandling, nil)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:133:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
131 |
132 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
133 |         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
134 |         userTaskDelegate?.urlSession?(session, task: task, willBeginDelayedRequest: request, completionHandler: completionHandler) ??
135 |         completionHandler(.continueLoading, nil)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:140:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
138 |     // MARK: - URLSessionDataDelegate
139 |     func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
140 |         (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
141 |         userDataDelegate?.urlSession?(session, dataTask: dataTask, didReceive: response, completionHandler: completionHandler) ??
142 |         completionHandler(.allow)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:205:42: error: cannot find type 'URLSessionDataDelegate' in scope
203 |
204 |     override init(delegate: URLSessionTaskDelegate?) {
205 |         self.dataDelegate = delegate as? URLSessionDataDelegate
    |                                          `- error: cannot find type 'URLSessionDataDelegate' in scope
206 |         super.init(delegate: delegate)
207 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:26: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
259 | }
260 |
261 | func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
    |             `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
262 |     if data.isEmpty, T.self is OptionalDecoding.Type {
263 |         return Optional<Decodable>.none as! T
    :
270 |         return string as! T
271 |     } else {
272 |         return try await Task.detached {
    |                          `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 |             try decoder.decode(T.self, from: data)
274 |         }.value
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:31: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
259 | }
260 |
261 | func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
    |             `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
262 |     if data.isEmpty, T.self is OptionalDecoding.Type {
263 |         return Optional<Decodable>.none as! T
    :
270 |         return string as! T
271 |     } else {
272 |         return try await Task.detached {
    |                               `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
273 |             try decoder.decode(T.self, from: data)
274 |         }.value
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:274:11: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
259 | }
260 |
261 | func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
    |             `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
262 |     if data.isEmpty, T.self is OptionalDecoding.Type {
263 |         return Optional<Decodable>.none as! T
    :
272 |         return try await Task.detached {
273 |             try decoder.decode(T.self, from: data)
274 |         }.value
    |           `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
275 |     }
276 | }
[9/10] Compiling SkavokNetworking APIClientDelegate.swift
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:13:69: error: cannot find type 'URLRequest' in scope
 11 |     ///   - client: The client that sends the request.
 12 |     ///   - request: The request about to be sent. Can be modified
 13 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// Validates response for the given request.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:26:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |     /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
 25 |     /// the `200..<300` range.
 26 |     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.
 27 |
 28 |     /// 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/Sources/SkavokNetworking/APIClientDelegate.swift:26:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |     /// ``APIError/unacceptableStatusCode(_:)`` if the code is outside of
 25 |     /// the `200..<300` range.
 26 |     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.
 27 |
 28 |     /// 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/Sources/SkavokNetworking/APIClientDelegate.swift:41:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     ///
 40 |     /// - returns: Return `true` to retry the request.
 41 |     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.
 42 |
 43 |     /// 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/Sources/SkavokNetworking/APIClientDelegate.swift:74:69: error: cannot find type 'URLRequest' in scope
 72 |
 73 | public extension APIClientDelegate {
 74 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 75 |         // Do nothing
 76 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:78:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |     }
 77 |
 78 |     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.
 79 |         false // Disabled by default
 80 |     }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:82:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     }
 81 |
 82 |     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.
 83 |         guard (200..<300).contains(response.statusCode) else {
 84 |             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/Sources/SkavokNetworking/APIClientDelegate.swift:82:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     }
 81 |
 82 |     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.
 83 |         guard (200..<300).contains(response.statusCode) else {
 84 |             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/Sources/SkavokNetworking/APIClientDelegate.swift:83:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 81 |
 82 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
 83 |         guard (200..<300).contains(response.statusCode) else {
    |                                             `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             throw APIError.unacceptableStatusCode(response.statusCode)
 85 |         }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:84:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 82 |     func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
 83 |         guard (200..<300).contains(response.statusCode) else {
 84 |             throw APIError.unacceptableStatusCode(response.statusCode)
    |                                                            `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 85 |         }
 86 |     }
[10/10] Compiling SkavokNetworking APIClientProtocol.swift
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionDataDelegate' in scope
  4 |     func send<T: Decodable>(
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionDataDelegate?,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
  7 |         configure: ((inout URLRequest) throws -> Void)?
  8 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:7:28: error: cannot find type 'URLRequest' in scope
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionDataDelegate?,
  7 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
  8 |     ) async throws -> Response<T>
  9 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: error: cannot find type 'URLSessionDataDelegate' in scope
 10 |     func send(
 11 |         _ request: Request<Void>,
 12 |         delegate: URLSessionDataDelegate?,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 13 |         configure: ((inout URLRequest) throws -> Void)?
 14 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:13:28: error: cannot find type 'URLRequest' in scope
 11 |         _ request: Request<Void>,
 12 |         delegate: URLSessionDataDelegate?,
 13 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 14 |     ) async throws -> Response<Void>
 15 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: error: cannot find type 'URLSessionDataDelegate' in scope
 16 |     func data<T>(
 17 |         for request: Request<T>,
 18 |         delegate: URLSessionDataDelegate?,
    |                   `- error: cannot find type 'URLSessionDataDelegate' in scope
 19 |         configure: ((inout URLRequest) throws -> Void)?
 20 |     ) async throws -> Response<Data>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:19:28: error: cannot find type 'URLRequest' in scope
 17 |         for request: Request<T>,
 18 |         delegate: URLSessionDataDelegate?,
 19 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 20 |     ) async throws -> Response<Data>
 21 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:36:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 34 |         for request: Request<T>,
 35 |         fromFile fileURL: URL,
 36 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 37 |         configure: ((inout URLRequest) throws -> Void)?
 38 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:37:28: error: cannot find type 'URLRequest' in scope
 35 |         fromFile fileURL: URL,
 36 |         delegate: URLSessionTaskDelegate?,
 37 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 38 |     ) async throws -> Response<T>
 39 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:52:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 50 |         for request: Request<Void>,
 51 |         fromFile fileURL: URL,
 52 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 53 |         configure: ((inout URLRequest) throws -> Void)?
 54 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:53:28: error: cannot find type 'URLRequest' in scope
 51 |         fromFile fileURL: URL,
 52 |         delegate: URLSessionTaskDelegate?,
 53 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 54 |     ) async throws -> Response<Void>
 55 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:70:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 68 |         for request: Request<T>,
 69 |         from data: Data,
 70 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 71 |         configure: ((inout URLRequest) throws -> Void)?
 72 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:71:28: error: cannot find type 'URLRequest' in scope
 69 |         from data: Data,
 70 |         delegate: URLSessionTaskDelegate?,
 71 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 72 |     ) async throws -> Response<T>
 73 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:86:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 84 |         for request: Request<Void>,
 85 |         from data: Data,
 86 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 87 |         configure: ((inout URLRequest) throws -> Void)?
 88 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:87:28: error: cannot find type 'URLRequest' in scope
 85 |         from data: Data,
 86 |         delegate: URLSessionTaskDelegate?,
 87 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
 88 |     ) async throws -> Response<Void>
 89 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:92:69: error: cannot find type 'URLRequest' in scope
 90 |     // MARK: Making Requests
 91 |     /// Creates `URLRequest` for the given request.
 92 |     func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 93 | }
 94 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:97:13: error: cannot convert return expression of type 'Int' to return type 'Response<T>'
 95 | public extension ApiClientProtocol {
 96 |     func send<T: Decodable>(_ request: Request<T>) async throws -> Response<T> {
 97 |         try await send(request, delegate: nil, configure: nil)
    |             `- error: cannot convert return expression of type 'Int' to return type 'Response<T>'
 98 |     }
 99 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:97:19: error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
 95 | public extension ApiClientProtocol {
 96 |     func send<T: Decodable>(_ request: Request<T>) async throws -> Response<T> {
 97 |         try await send(request, delegate: nil, configure: nil)
    |                   |- error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
    |                   `- note: use 'SwiftGlibc.' to reference the global function in module 'SwiftGlibc'
 98 |     }
 99 |
SwiftGlibc.send:1:13: note: 'send' declared here
1 | public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
  |             `- note: 'send' declared here
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:97:23: error: extraneous argument labels 'delegate:configure:' in call
 95 | public extension ApiClientProtocol {
 96 |     func send<T: Decodable>(_ request: Request<T>) async throws -> Response<T> {
 97 |         try await send(request, delegate: nil, configure: nil)
    |                       `- error: extraneous argument labels 'delegate:configure:' in call
 98 |     }
 99 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:97:62: error: missing argument for parameter #4 in call
 95 | public extension ApiClientProtocol {
 96 |     func send<T: Decodable>(_ request: Request<T>) async throws -> Response<T> {
 97 |         try await send(request, delegate: nil, configure: nil)
    |                                                              `- error: missing argument for parameter #4 in call
 98 |     }
 99 |
SwiftGlibc.send:1:13: note: 'send' declared here
1 | public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
  |             `- note: 'send' declared here
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:97:24: error: cannot convert value of type 'Request<T>' to expected argument type 'Int32'
 95 | public extension ApiClientProtocol {
 96 |     func send<T: Decodable>(_ request: Request<T>) async throws -> Response<T> {
 97 |         try await send(request, delegate: nil, configure: nil)
    |                        `- error: cannot convert value of type 'Request<T>' to expected argument type 'Int32'
 98 |     }
 99 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:97:59: error: 'nil' is not compatible with expected argument type 'Int'
 95 | public extension ApiClientProtocol {
 96 |     func send<T: Decodable>(_ request: Request<T>) async throws -> Response<T> {
 97 |         try await send(request, delegate: nil, configure: nil)
    |                                                           `- error: 'nil' is not compatible with expected argument type 'Int'
 98 |     }
 99 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:102:13: error: cannot convert return expression of type 'Int' to return type 'Response<Void>'
100 |     @discardableResult
101 |     func send(_ request: Request<Void>) async throws -> Response<Void> {
102 |         try await send(request, delegate: nil, configure: nil)
    |             `- error: cannot convert return expression of type 'Int' to return type 'Response<Void>'
103 |     }
104 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:102:19: error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
100 |     @discardableResult
101 |     func send(_ request: Request<Void>) async throws -> Response<Void> {
102 |         try await send(request, delegate: nil, configure: nil)
    |                   |- error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
    |                   `- note: use 'SwiftGlibc.' to reference the global function in module 'SwiftGlibc'
103 |     }
104 |
SwiftGlibc.send:1:13: note: 'send' declared here
1 | public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
  |             `- note: 'send' declared here
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:102:23: error: extraneous argument labels 'delegate:configure:' in call
100 |     @discardableResult
101 |     func send(_ request: Request<Void>) async throws -> Response<Void> {
102 |         try await send(request, delegate: nil, configure: nil)
    |                       `- error: extraneous argument labels 'delegate:configure:' in call
103 |     }
104 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:102:62: error: missing argument for parameter #4 in call
100 |     @discardableResult
101 |     func send(_ request: Request<Void>) async throws -> Response<Void> {
102 |         try await send(request, delegate: nil, configure: nil)
    |                                                              `- error: missing argument for parameter #4 in call
103 |     }
104 |
SwiftGlibc.send:1:13: note: 'send' declared here
1 | public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
  |             `- note: 'send' declared here
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:102:24: error: cannot convert value of type 'Request<Void>' to expected argument type 'Int32'
100 |     @discardableResult
101 |     func send(_ request: Request<Void>) async throws -> Response<Void> {
102 |         try await send(request, delegate: nil, configure: nil)
    |                        `- error: cannot convert value of type 'Request<Void>' to expected argument type 'Int32'
103 |     }
104 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:102:59: error: 'nil' is not compatible with expected argument type 'Int'
100 |     @discardableResult
101 |     func send(_ request: Request<Void>) async throws -> Response<Void> {
102 |         try await send(request, delegate: nil, configure: nil)
    |                                                           `- error: 'nil' is not compatible with expected argument type 'Int'
103 |     }
104 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:107:25: error: extra arguments at positions #3, #4 in call
104 |
105 |     @discardableResult
106 |     func upload(for request: Request<Void>, from data: Data) async throws -> Response<Void> {
    |          `- note: 'upload(for:from:)' declared here
107 |         try await upload(for: request, from: data, delegate: nil, configure: nil)
    |                         `- error: extra arguments at positions #3, #4 in call
108 |     }
109 | }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:107:62: error: 'nil' requires a contextual type
105 |     @discardableResult
106 |     func upload(for request: Request<Void>, from data: Data) async throws -> Response<Void> {
107 |         try await upload(for: request, from: data, delegate: nil, configure: nil)
    |                                                              `- error: 'nil' requires a contextual type
108 |     }
109 | }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:107:78: error: 'nil' requires a contextual type
105 |     @discardableResult
106 |     func upload(for request: Request<Void>, from data: Data) async throws -> Response<Void> {
107 |         try await upload(for: request, from: data, delegate: nil, configure: nil)
    |                                                                              `- error: 'nil' requires a contextual type
108 |     }
109 | }
BUILD FAILURE 6.0 linux