The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SkavokNetworking, reference 2.0.0 (df65f7), with Swift 6.4 for Wasm on 27 Sep 2026 17:18:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/SkavokNetworking.git
Reference: 2.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/Livsy90/SkavokNetworking
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at df65f7a Update .gitignore
Cloned https://github.com/Livsy90/SkavokNetworking.git
Revision (git rev-parse @):
df65f7a5b1f9475fed04a50c43e5f592b69cf16b
SUCCESS checkout https://github.com/Livsy90/SkavokNetworking.git at 2.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Livsy90/SkavokNetworking.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:8:26: 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 |
  8 |     private let session: URLSession
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  9 |     private let decoderFactory: @Sendable () -> JSONDecoder
 10 |     private let encoderFactory: @Sendable () -> JSONEncoder
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:26:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |         /// Background configurations are rejected when executing a request because
 25 |         /// this client supports foreground, one-shot transfers only.
 26 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                          `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |         /// The optional URLSession delegate used for session and task callbacks,
 28 |         /// including authentication, redirection, upload progress, and metrics.
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:26:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 24 |         /// Background configurations are rejected when executing a request because
 25 |         /// this client supports foreground, one-shot transfers only.
 26 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 27 |         /// The optional URLSession delegate used for session and task callbacks,
 28 |         /// including authentication, redirection, upload progress, and metrics.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:69: error: value of type '_' expected to be instance of class or class-constrained type
 24 |         /// Background configurations are rejected when executing a request because
 25 |         /// this client supports foreground, one-shot transfers only.
 26 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                                                                     `- error: value of type '_' expected to be instance of class or class-constrained type
 27 |         /// The optional URLSession delegate used for session and task callbacks,
 28 |         /// including authentication, redirection, upload progress, and metrics.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:30:37: error: cannot find type 'URLSessionDelegate' in scope
 28 |         /// including authentication, redirection, upload progress, and metrics.
 29 |         /// Data- and download-specific callbacks remain managed by the client.
 30 |         public var sessionDelegate: URLSessionDelegate?
    |                                     `- error: cannot find type 'URLSessionDelegate' in scope
 31 |         /// An optional underlying queue used for URLSession delegate callbacks.
 32 |         /// The client wraps it in an internally owned serial operation queue to
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:34:52: error: cannot find type 'DispatchQueue' in scope
 32 |         /// The client wraps it in an internally owned serial operation queue to
 33 |         /// preserve callback ordering.
 34 |         public var sessionDelegateUnderlyingQueue: DispatchQueue?
    |                                                    `- error: cannot find type 'DispatchQueue' in scope
 35 |         /// Maximum number of retries after the initial request. By default, one retry is allowed.
 36 |         /// Values below zero are treated as zero.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:49:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |         public init(
 48 |             baseURL: URL?,
 49 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                   `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |             delegate: APIClientDelegate? = nil
 51 |         ) {
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:49:62: error: value of type '_' expected to be instance of class or class-constrained type
 47 |         public init(
 48 |             baseURL: URL?,
 49 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                                              `- error: value of type '_' expected to be instance of class or class-constrained type
 50 |             delegate: APIClientDelegate? = nil
 51 |         ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:49:62: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 47 |         public init(
 48 |             baseURL: URL?,
 49 |             sessionConfiguration: URLSessionConfiguration = .default,
    |                                                              `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 50 |             delegate: APIClientDelegate? = nil
 51 |         ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:20: error: stored property 'sessionConfiguration' of 'Sendable'-conforming struct 'Configuration' has non-Sendable type 'AnyObject'
 24 |         /// Background configurations are rejected when executing a request because
 25 |         /// this client supports foreground, one-shot transfers only.
 26 |         public var sessionConfiguration: URLSessionConfiguration = .default
    |                    `- error: stored property 'sessionConfiguration' of 'Sendable'-conforming struct 'Configuration' has non-Sendable type 'AnyObject'
 27 |         /// The optional URLSession delegate used for session and task callbacks,
 28 |         /// including authentication, redirection, upload progress, and metrics.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:118:19: error: cannot find type 'URLSessionTaskDelegate' in scope
116 |     @discardableResult public func send<T: Decodable & Sendable>(
117 |         _ request: Request<T>,
118 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
119 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
120 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:119:36: error: cannot find type 'URLRequest' in scope
117 |         _ request: Request<T>,
118 |         delegate: URLSessionTaskDelegate? = nil,
119 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
120 |     ) async throws -> Response<T> {
121 |         let response = try await data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:135:19: error: cannot find type 'URLSessionTaskDelegate' in scope
133 |     @discardableResult public func send(
134 |         _ request: Request<Void>,
135 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
136 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
137 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:136:36: error: cannot find type 'URLRequest' in scope
134 |         _ request: Request<Void>,
135 |         delegate: URLSessionTaskDelegate? = nil,
136 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
137 |     ) async throws -> Response<Void> {
138 |         try await data(for: request, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:152:19: error: cannot find type 'URLSessionTaskDelegate' in scope
150 |     public func data<T>(
151 |         for request: Request<T>,
152 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
153 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
154 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:153:36: error: cannot find type 'URLRequest' in scope
151 |         for request: Request<T>,
152 |         delegate: URLSessionTaskDelegate? = nil,
153 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
154 |     ) async throws -> Response<Data> {
155 |         let urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:187:19: error: cannot find type 'URLSessionTaskDelegate' in scope
185 |         for request: Request<Void>,
186 |         destination: URL? = nil,
187 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
188 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
189 |     ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:188:36: error: cannot find type 'URLRequest' in scope
186 |         destination: URL? = nil,
187 |         delegate: URLSessionTaskDelegate? = nil,
188 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
189 |     ) async throws -> Response<URL> {
190 |         try validateDownloadDestination(destination)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:237:19: error: cannot find type 'URLSessionTaskDelegate' in scope
235 |         for request: Request<T>,
236 |         fromFile fileURL: URL,
237 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
238 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
239 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:238:36: error: cannot find type 'URLRequest' in scope
236 |         fromFile fileURL: URL,
237 |         delegate: URLSessionTaskDelegate? = nil,
238 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
239 |     ) async throws -> Response<T> {
240 |         let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:256:19: error: cannot find type 'URLSessionTaskDelegate' in scope
254 |         for request: Request<Void>,
255 |         fromFile fileURL: URL,
256 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
257 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
258 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:257:36: error: cannot find type 'URLRequest' in scope
255 |         fromFile fileURL: URL,
256 |         delegate: URLSessionTaskDelegate? = nil,
257 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
258 |     ) async throws -> Response<Void> {
259 |         try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:265:19: error: cannot find type 'URLSessionTaskDelegate' in scope
263 |         for request: Request<T>,
264 |         fromFile fileURL: URL,
265 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
266 |         configure: ((inout URLRequest) throws -> Void)?
267 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:266:28: error: cannot find type 'URLRequest' in scope
264 |         fromFile fileURL: URL,
265 |         delegate: URLSessionTaskDelegate?,
266 |         configure: ((inout URLRequest) throws -> Void)?
    |                            `- error: cannot find type 'URLRequest' in scope
267 |     ) async throws -> Response<Data> {
268 |         let urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:298:19: error: cannot find type 'URLSessionTaskDelegate' in scope
296 |         for request: Request<T>,
297 |         from data: Data,
298 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
299 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
300 |     ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:299:36: error: cannot find type 'URLRequest' in scope
297 |         from data: Data,
298 |         delegate: URLSessionTaskDelegate? = nil,
299 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
300 |     ) async throws -> Response<T> {
301 |         let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:317:19: error: cannot find type 'URLSessionTaskDelegate' in scope
315 |         for request: Request<Void>,
316 |         from data: Data,
317 |         delegate: URLSessionTaskDelegate? = nil,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
318 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
319 |     ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:318:36: error: cannot find type 'URLRequest' in scope
316 |         from data: Data,
317 |         delegate: URLSessionTaskDelegate? = nil,
318 |         configure: sending ((inout URLRequest) throws -> Void)? = nil
    |                                    `- error: cannot find type 'URLRequest' in scope
319 |     ) async throws -> Response<Void> {
320 |         try await _upload(for: request, from: data, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:326:19: error: cannot find type 'URLSessionTaskDelegate' in scope
324 |         for request: Request<T>,
325 |         from data: Data,
326 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
327 |         configure: sending ((inout URLRequest) throws -> Void)?
328 |     ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:327:36: error: cannot find type 'URLRequest' in scope
325 |         from data: Data,
326 |         delegate: URLSessionTaskDelegate?,
327 |         configure: sending ((inout URLRequest) throws -> Void)?
    |                                    `- error: cannot find type 'URLRequest' in scope
328 |     ) async throws -> Response<Data> {
329 |         let urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:347:76: error: cannot find type 'URLRequest' in scope
345 |     // MARK: Making Requests
346 |     /// Creates `URLRequest` for the given request.
347 |     public func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest {
    |                                                                            `- error: cannot find type 'URLRequest' in scope
348 |         try await makeURLRequest(for: request, { _ in })
349 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:359:30: error: cannot find type 'URLRequest' in scope
357 |     private func makeURLRequest<T>(
358 |         for request: Request<T>,
359 |         _ configure: ((inout URLRequest) throws -> Void)?
    |                              `- error: cannot find type 'URLRequest' in scope
360 |     ) async throws -> URLRequest {
361 |         let url = try makeURL(for: request)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:360:23: error: cannot find type 'URLRequest' in scope
358 |         for request: Request<T>,
359 |         _ configure: ((inout URLRequest) throws -> Void)?
360 |     ) async throws -> URLRequest {
    |                       `- error: cannot find type 'URLRequest' in scope
361 |         let url = try makeURL(for: request)
362 |         var urlRequest = URLRequest(url: url)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionTaskDelegate' in scope
  4 |     func send<T: Decodable & Sendable>(
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
  7 |         configure: sending ((inout URLRequest) throws -> Void)?
  8 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:7:36: error: cannot find type 'URLRequest' in scope
  5 |         _ request: Request<T>,
  6 |         delegate: URLSessionTaskDelegate?,
  7 |         configure: sending ((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 'URLSessionTaskDelegate' in scope
 10 |     func send(
 11 |         _ request: Request<Void>,
 12 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 13 |         configure: sending ((inout URLRequest) throws -> Void)?
 14 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:13:36: error: cannot find type 'URLRequest' in scope
 11 |         _ request: Request<Void>,
 12 |         delegate: URLSessionTaskDelegate?,
 13 |         configure: sending ((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 'URLSessionTaskDelegate' in scope
 16 |     func data<T>(
 17 |         for request: Request<T>,
 18 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 19 |         configure: sending ((inout URLRequest) throws -> Void)?
 20 |     ) async throws -> Response<Data>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:19:36: error: cannot find type 'URLRequest' in scope
 17 |         for request: Request<T>,
 18 |         delegate: URLSessionTaskDelegate?,
 19 |         configure: sending ((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:26:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 24 |         for request: Request<Void>,
 25 |         destination: URL?,
 26 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 27 |         configure: sending ((inout URLRequest) throws -> Void)?
 28 |     ) async throws -> Response<URL>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:27:36: error: cannot find type 'URLRequest' in scope
 25 |         destination: URL?,
 26 |         delegate: URLSessionTaskDelegate?,
 27 |         configure: sending ((inout URLRequest) throws -> Void)?
    |                                    `- error: cannot find type 'URLRequest' in scope
 28 |     ) async throws -> Response<URL>
 29 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:44:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 42 |         for request: Request<T>,
 43 |         fromFile fileURL: URL,
 44 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 45 |         configure: sending ((inout URLRequest) throws -> Void)?
 46 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:45:36: error: cannot find type 'URLRequest' in scope
 43 |         fromFile fileURL: URL,
 44 |         delegate: URLSessionTaskDelegate?,
 45 |         configure: sending ((inout URLRequest) throws -> Void)?
    |                                    `- error: cannot find type 'URLRequest' in scope
 46 |     ) async throws -> Response<T>
 47 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:60:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 58 |         for request: Request<Void>,
 59 |         fromFile fileURL: URL,
 60 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 61 |         configure: sending ((inout URLRequest) throws -> Void)?
 62 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:61:36: error: cannot find type 'URLRequest' in scope
 59 |         fromFile fileURL: URL,
 60 |         delegate: URLSessionTaskDelegate?,
 61 |         configure: sending ((inout URLRequest) throws -> Void)?
    |                                    `- error: cannot find type 'URLRequest' in scope
 62 |     ) async throws -> Response<Void>
 63 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:78:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 76 |         for request: Request<T>,
 77 |         from data: Data,
 78 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 79 |         configure: sending ((inout URLRequest) throws -> Void)?
 80 |     ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:79:36: error: cannot find type 'URLRequest' in scope
 77 |         from data: Data,
 78 |         delegate: URLSessionTaskDelegate?,
 79 |         configure: sending ((inout URLRequest) throws -> Void)?
    |                                    `- error: cannot find type 'URLRequest' in scope
 80 |     ) async throws -> Response<T>
 81 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:94:19: error: cannot find type 'URLSessionTaskDelegate' in scope
 92 |         for request: Request<Void>,
 93 |         from data: Data,
 94 |         delegate: URLSessionTaskDelegate?,
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 95 |         configure: sending ((inout URLRequest) throws -> Void)?
 96 |     ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:95:36: error: cannot find type 'URLRequest' in scope
 93 |         from data: Data,
 94 |         delegate: URLSessionTaskDelegate?,
 95 |         configure: sending ((inout URLRequest) throws -> Void)?
    |                                    `- error: cannot find type 'URLRequest' in scope
 96 |     ) async throws -> Response<Void>
 97 |
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:100:69: error: cannot find type 'URLRequest' in scope
 98 |     // MARK: Making Requests
 99 |     /// Creates `URLRequest` for the given request.
100 |     func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
    |                                                                     `- error: cannot find type 'URLRequest' in scope
101 |
102 |     /// Clears responses stored in the client's configured URL cache.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:82:81: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
 80 |     public init(configuration: Configuration) {
 81 |         var configuration = configuration
 82 |         configuration.sessionConfiguration = configuration.sessionConfiguration.copy() as! URLSessionConfiguration
    |                                                                                 `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'
 83 |         let sharedCache = URLCache.shared
 84 |         if configuration.sessionConfiguration.urlCache === sharedCache {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:83:36: error: type 'URLCache' (aka 'AnyObject') has no member 'shared'
 81 |         var configuration = configuration
 82 |         configuration.sessionConfiguration = configuration.sessionConfiguration.copy() as! URLSessionConfiguration
 83 |         let sharedCache = URLCache.shared
    |                                    `- error: type 'URLCache' (aka 'AnyObject') has no member 'shared'
 84 |         if configuration.sessionConfiguration.urlCache === sharedCache {
 85 |             configuration.sessionConfiguration.urlCache = URLCache(
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:84:47: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 82 |         configuration.sessionConfiguration = configuration.sessionConfiguration.copy() as! URLSessionConfiguration
 83 |         let sharedCache = URLCache.shared
 84 |         if configuration.sessionConfiguration.urlCache === sharedCache {
    |                                               `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 85 |             configuration.sessionConfiguration.urlCache = URLCache(
 86 |                 memoryCapacity: sharedCache.memoryCapacity,
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:85:48: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 83 |         let sharedCache = URLCache.shared
 84 |         if configuration.sessionConfiguration.urlCache === sharedCache {
 85 |             configuration.sessionConfiguration.urlCache = URLCache(
    |                                                `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 86 |                 memoryCapacity: sharedCache.memoryCapacity,
 87 |                 diskCapacity: sharedCache.diskCapacity
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:85:59: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 83 |         let sharedCache = URLCache.shared
 84 |         if configuration.sessionConfiguration.urlCache === sharedCache {
 85 |             configuration.sessionConfiguration.urlCache = URLCache(
    |                                                           `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 86 |                 memoryCapacity: sharedCache.memoryCapacity,
 87 |                 diskCapacity: sharedCache.diskCapacity
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:92:29: error: cannot find 'OperationQueue' in scope
 90 |
 91 |         self.configuration = configuration
 92 |         let delegateQueue = OperationQueue()
    |                             `- error: cannot find 'OperationQueue' in scope
 93 |         delegateQueue.maxConcurrentOperationCount = 1
 94 |         delegateQueue.underlyingQueue = configuration.sessionDelegateUnderlyingQueue
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:95:24: error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
 93 |         delegateQueue.maxConcurrentOperationCount = 1
 94 |         delegateQueue.underlyingQueue = configuration.sessionDelegateUnderlyingQueue
 95 |         self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
    |                        `- error: value of type '_' expected to be an instance of a class or class-constrained type in assignment
 96 |         self.dataLoader.userSessionDelegate = configuration.sessionDelegate
 97 |         self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:95:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 93 |         delegateQueue.maxConcurrentOperationCount = 1
 94 |         delegateQueue.underlyingQueue = configuration.sessionDelegateUnderlyingQueue
 95 |         self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
    |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 96 |         self.dataLoader.userSessionDelegate = configuration.sessionDelegate
 97 |         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:29:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |     func client(
 28 |         _ client: APIClient,
 29 |         validateResponse response: HTTPURLResponse,
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 30 |         data: Data,
 31 |         task: URLSessionTask,
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:31:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |         validateResponse response: HTTPURLResponse,
 30 |         data: Data,
 31 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |         requestID: String?
 33 |     ) throws
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:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 39 |     func client(
 40 |         _ client: APIClient,
 41 |         validateDownloadResponse response: HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 42 |         fileURL: URL,
 43 |         task: URLSessionDownloadTask,
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:43:15: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |         validateDownloadResponse response: HTTPURLResponse,
 42 |         fileURL: URL,
 43 |         task: URLSessionDownloadTask,
    |               `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |         requestID: String?
 45 |     ) throws
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/APIClientDelegate.swift:60:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 58 |     ///
 59 |     /// - returns: Return `true` to retry the request.
 60 |     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.
 61 |
 62 |     /// 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:93:69: error: cannot find type 'URLRequest' in scope
 91 |
 92 | public extension APIClientDelegate {
 93 |     func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
    |                                                                     `- error: cannot find type 'URLRequest' in scope
 94 |         // Do nothing
 95 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:97:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |     }
 96 |
 97 |     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.
 98 |         false // Disabled by default
 99 |     }
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:103:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
101 |     func client(
102 |         _ client: APIClient,
103 |         validateResponse response: HTTPURLResponse,
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |         data: Data,
105 |         task: URLSessionTask,
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:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |         validateResponse response: HTTPURLResponse,
104 |         data: Data,
105 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |         requestID: String?
107 |     ) throws {
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:117:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
115 |     func client(
116 |         _ client: APIClient,
117 |         validateDownloadResponse response: HTTPURLResponse,
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |         fileURL: URL,
119 |         task: URLSessionDownloadTask,
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:119:15: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 |         validateDownloadResponse response: HTTPURLResponse,
118 |         fileURL: URL,
119 |         task: URLSessionDownloadTask,
    |               `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
120 |         requestID: String?
121 |     ) throws {
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: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:387:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
385 | private final class TaskHandlersDictionary {
386 |     private let lock = NSLock()
387 |     private var handlers = [URLSessionTask: TaskHandler]()
    |                            `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
388 |
389 |     subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:12:35: error: cannot find type 'URLSessionTaskDelegate' in scope
 10 |         }
 11 |     }
 12 |     private var userTaskDelegate: URLSessionTaskDelegate?
    |                                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
 13 |
 14 |     private static let downloadDirectoryURL = FileManager.default.temporaryDirectory
/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 |         }
 11 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:18:62: error: cannot find type 'URLSessionTaskDelegate' in scope
 16 |         .appendingPathComponent("Downloads", isDirectory: true)
 17 |
 18 |     func startDataTask(_ task: URLSessionDataTask, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                              `- error: cannot find type 'URLSessionTaskDelegate' in scope
 19 |         try await withTaskCancellationHandler(operation: {
 20 |             try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:18:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         .appendingPathComponent("Downloads", isDirectory: true)
 17 |
 18 |     func startDataTask(_ task: URLSessionDataTask, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         try await withTaskCancellationHandler(operation: {
 20 |             try await withCheckedThrowingContinuation { 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:34:70: error: cannot find type 'URLSessionTaskDelegate' in scope
 32 |     }
 33 |
 34 |     func startDownloadTask(_ task: URLSessionDownloadTask, delegate: URLSessionTaskDelegate?) async throws -> Response<URL> {
    |                                                                      `- error: cannot find type 'URLSessionTaskDelegate' in scope
 35 |         try await withTaskCancellationHandler(operation: {
 36 |             try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:34:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |     }
 33 |
 34 |     func startDownloadTask(_ task: URLSessionDownloadTask, delegate: URLSessionTaskDelegate?) async throws -> Response<URL> {
    |                                    `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 35 |         try await withTaskCancellationHandler(operation: {
 36 |             try await withCheckedThrowingContinuation { 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:50:66: error: cannot find type 'URLSessionTaskDelegate' in scope
 48 |     }
 49 |
 50 |     func startUploadTask(_ task: URLSessionUploadTask, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                                                  `- error: cannot find type 'URLSessionTaskDelegate' in scope
 51 |         try await withTaskCancellationHandler(operation: {
 52 |             try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:50:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     func startUploadTask(_ task: URLSessionUploadTask, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
    |                                  `- error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |         try await withTaskCancellationHandler(operation: {
 52 |             try await withCheckedThrowingContinuation { 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: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:83:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 81 |         _ session: URLSession,
 82 |         didReceive challenge: URLAuthenticationChallenge,
 83 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
 84 |     ) {
 85 |         userSessionDelegate?.urlSession?(
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:81:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |
 80 |     func urlSession(
 81 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 82 |         didReceive challenge: URLAuthenticationChallenge,
 83 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |     func urlSession(
 81 |         _ session: URLSession,
 82 |         didReceive challenge: URLAuthenticationChallenge,
    |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
 84 |     ) {
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:94:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |     // MARK: - URLSessionTaskDelegate
 93 |
 94 |     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.
 95 |         guard let handler = handlers[task] else { return assertionFailure() }
 96 |         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:94:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |     // MARK: - URLSessionTaskDelegate
 93 |
 94 |     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.
 95 |         guard let handler = handlers[task] else { return assertionFailure() }
 96 |         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:141:95: error: cannot find type 'URLSessionTaskMetrics' in scope
139 |     }
140 |
141 |     func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                                                               `- error: cannot find type 'URLSessionTaskMetrics' in scope
142 |         let handler = handlers[task]
143 |         handler?.metrics = metrics
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:141:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |     }
140 |
141 |     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.
142 |         let handler = handlers[task]
143 |         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:141:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 |     }
140 |
141 |     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.
142 |         let handler = handlers[task]
143 |         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:152:29: error: cannot find type 'URLRequest' in scope
150 |         task: URLSessionTask,
151 |         willPerformHTTPRedirection response: HTTPURLResponse,
152 |         newRequest request: URLRequest,
    |                             `- error: cannot find type 'URLRequest' in scope
153 |         completionHandler: @escaping @Sendable (URLRequest?) -> Void
154 |     ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:153:49: error: cannot find type 'URLRequest' in scope
151 |         willPerformHTTPRedirection response: HTTPURLResponse,
152 |         newRequest request: URLRequest,
153 |         completionHandler: @escaping @Sendable (URLRequest?) -> Void
    |                                                 `- error: cannot find type 'URLRequest' in scope
154 |     ) {
155 |         handlers[task]?.delegate?.urlSession?(
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:149:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |
148 |     func urlSession(
149 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
150 |         task: URLSessionTask,
151 |         willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:150:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |     func urlSession(
149 |         _ session: URLSession,
150 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |         willPerformHTTPRedirection response: HTTPURLResponse,
152 |         newRequest request: URLRequest,
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:151:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |         _ session: URLSession,
150 |         task: URLSessionTask,
151 |         willPerformHTTPRedirection response: HTTPURLResponse,
    |                                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |         newRequest request: URLRequest,
153 |         completionHandler: @escaping @Sendable (URLRequest?) -> Void
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:172:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     }
171 |
172 |     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.
173 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
174 |         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:172:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |     }
171 |
172 |     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.
173 |         handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
174 |         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:178:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
176 |
177 |     func urlSession(
178 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |         task: URLSessionTask,
180 |         didSendBodyData bytesSent: Int64,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:179:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 |     func urlSession(
178 |         _ session: URLSession,
179 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |         didSendBodyData bytesSent: Int64,
181 |         totalBytesSent: Int64,
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:201:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |
200 |     func urlSession(
201 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |         task: URLSessionTask,
203 |         needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:202:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 |     func urlSession(
201 |         _ session: URLSession,
202 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
203 |         needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
204 |     ) {
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:222:60: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
220 |         task: URLSessionTask,
221 |         didReceive challenge: URLAuthenticationChallenge,
222 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
    |                                                            `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
223 |     ) {
224 |         handlers[task]?.delegate?.urlSession?(
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:219:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 |
218 |     func urlSession(
219 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 |         task: URLSessionTask,
221 |         didReceive challenge: URLAuthenticationChallenge,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:220:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
218 |     func urlSession(
219 |         _ session: URLSession,
220 |         task: URLSessionTask,
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
221 |         didReceive challenge: URLAuthenticationChallenge,
222 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
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:221:31: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |         _ session: URLSession,
220 |         task: URLSessionTask,
221 |         didReceive challenge: URLAuthenticationChallenge,
    |                               `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
222 |         completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
223 |     ) {
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:239:99: error: cannot find type 'URLRequest' in scope
237 |     }
238 |
239 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                   `- error: cannot find type 'URLRequest' in scope
240 |         handlers[task]?.delegate?.urlSession?(
241 |             session,
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:162: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
237 |     }
238 |
239 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                  `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
240 |         handlers[task]?.delegate?.urlSession?(
241 |             session,
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:189: error: cannot find type 'URLRequest' in scope
237 |     }
238 |
239 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                                                                                                                             `- error: cannot find type 'URLRequest' in scope
240 |         handlers[task]?.delegate?.urlSession?(
241 |             session,
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |     }
238 |
239 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |         handlers[task]?.delegate?.urlSession?(
241 |             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:239:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
237 |     }
238 |
239 |     func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 |         handlers[task]?.delegate?.urlSession?(
241 |             session,
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:260:60: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
258 |         dataTask: URLSessionDataTask,
259 |         didReceive response: URLResponse,
260 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
    |                                                            `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
261 |     ) {
262 |         completionHandler(.allow)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:257:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     // MARK: - URLSessionDataDelegate
256 |     func urlSession(
257 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 |         dataTask: URLSessionDataTask,
259 |         didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:258:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
256 |     func urlSession(
257 |         _ session: URLSession,
258 |         dataTask: URLSessionDataTask,
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 |         didReceive response: URLResponse,
260 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
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:259:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
257 |         _ session: URLSession,
258 |         dataTask: URLSessionDataTask,
259 |         didReceive response: URLResponse,
    |                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
260 |         completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
261 |     ) {
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:265:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
263 |     }
264 |
265 |     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.
266 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
267 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:265:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
263 |     }
264 |
265 |     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.
266 |         guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
267 |
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:276:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 |
275 |     func urlSession(
276 |         _ session: URLSession,
    |                    `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |         dataTask: URLSessionDataTask,
278 |         willCacheResponse proposedResponse: CachedURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:277:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |     func urlSession(
276 |         _ session: URLSession,
277 |         dataTask: URLSessionDataTask,
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 |         willCacheResponse proposedResponse: CachedURLResponse,
279 |         completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
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:278:45: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |         _ session: URLSession,
277 |         dataTask: URLSessionDataTask,
278 |         willCacheResponse proposedResponse: CachedURLResponse,
    |                                             `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |         completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
280 |     ) {
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:279:49: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |         dataTask: URLSessionDataTask,
278 |         willCacheResponse proposedResponse: CachedURLResponse,
279 |         completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
    |                                                 `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
280 |     ) {
281 |         completionHandler(proposedResponse)
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
  |                  `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:285:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
283 |
284 |     // MARK: - URLSessionDownloadDelegate
285 |     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.
286 |         guard let handler = handlers[downloadTask] as? DownloadTaskHandler else { return }
287 |         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:285:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
283 |
284 |     // MARK: - URLSessionDownloadDelegate
285 |     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.
286 |         guard let handler = handlers[downloadTask] as? DownloadTaskHandler else { return }
287 |         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:307:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
305 |     }
306 |
307 |     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.
308 |
309 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {}
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:307:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
305 |     }
306 |
307 |     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.
308 |
309 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {}
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:309:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {}
308 |
309 |     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.
310 | }
311 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking 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:309:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |     func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {}
308 |
309 |     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.
310 | }
311 |
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:314:19: error: cannot find type 'URLSessionTaskDelegate' in scope
312 | // MARK: - TaskHandlers
313 | private class TaskHandler {
314 |     let delegate: URLSessionTaskDelegate?
    |                   `- error: cannot find type 'URLSessionTaskDelegate' in scope
315 |     var metrics: URLSessionTaskMetrics?
316 |
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:315:18: error: cannot find type 'URLSessionTaskMetrics' in scope
313 | private class TaskHandler {
314 |     let delegate: URLSessionTaskDelegate?
315 |     var metrics: URLSessionTaskMetrics?
    |                  `- error: cannot find type 'URLSessionTaskMetrics' in scope
316 |
317 |     init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:317:20: error: cannot find type 'URLSessionTaskDelegate' in scope
315 |     var metrics: URLSessionTaskMetrics?
316 |
317 |     init(delegate: URLSessionTaskDelegate?) {
    |                    `- error: cannot find type 'URLSessionTaskDelegate' in scope
318 |         self.delegate = delegate
319 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:335:29: error: cannot find type 'URLSessionTaskDelegate' in scope
333 |     var fileResult: Result<URL, Error>?
334 |
335 |     override init(delegate: URLSessionTaskDelegate?) {
    |                             `- error: cannot find type 'URLSessionTaskDelegate' in scope
336 |         super.init(delegate: delegate)
337 |     }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:344:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
342 |
343 | struct DataLoaderError: Error {
344 |     let task: URLSessionTask
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
345 |     let error: Error
346 | }
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:344:9: warning: stored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-Sendable type 'AnyObject'
342 |
343 | struct DataLoaderError: Error {
344 |     let task: URLSessionTask
    |         `- warning: stored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-Sendable type 'AnyObject'
345 |     let error: Error
346 | }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:389:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
387 |     private var handlers = [URLSessionTask: TaskHandler]()
388 |
389 |     subscript(task: URLSessionTask) -> TaskHandler? {
    |                     `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
390 |         get {
391 |             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/APIError.swift:77:25: error: cannot find type 'URLRequest' in scope
 75 | public struct TransportError: Error, LocalizedError, Sendable {
 76 |     public let requestID: String?
 77 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 78 |     public let underlyingError: any Error
 79 |
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIError.swift:80:46: error: cannot find type 'URLRequest' in scope
 78 |     public let underlyingError: any Error
 79 |
 80 |     public init(requestID: String?, request: URLRequest?, underlyingError: any Error) {
    |                                              `- error: cannot find type 'URLRequest' in scope
 81 |         self.requestID = requestID
 82 |         self.request = request
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIError.swift:120:20: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
118 |     }
119 |
120 |     init(response: HTTPURLResponse, data: Data, requestID: String?) {
    |                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
121 |         self.init(
122 |             statusCode: 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/Models/Request.swift:37:29: error: cannot find type 'NSURLRequest' in scope
 35 |     public var id: String?
 36 |     /// The constants used to specify interaction with the cached responses.
 37 |     public var cachePolicy: NSURLRequest.CachePolicy = .useProtocolCachePolicy
    |                             `- error: cannot find type 'NSURLRequest' in scope
 38 |
 39 |     /// Initializes the request with the given parameters.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:47:22: error: cannot find type 'NSURLRequest' in scope
 45 |         headers: [String: String]? = nil,
 46 |         id: String? = nil,
 47 |         cachePolicy: NSURLRequest.CachePolicy = .useProtocolCachePolicy
    |                      `- error: cannot find type 'NSURLRequest' in scope
 48 |     ) {
 49 |         self.method = method
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:66:22: error: cannot find type 'NSURLRequest' in scope
 64 |         headers: [String: String]? = nil,
 65 |         id: String? = nil,
 66 |         cachePolicy: NSURLRequest.CachePolicy = .useProtocolCachePolicy
    |                      `- error: cannot find type 'NSURLRequest' in scope
 67 |     ) {
 68 |         self.method = method
/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:15:33: error: cannot find type 'URLRequest' in scope
13 |     public let data: Data
14 |     /// Original request.
15 |     public var originalRequest: URLRequest? { task.originalRequest }
   |                                 `- error: cannot find type 'URLRequest' in scope
16 |     /// The URL request object currently being handled by the task. May be
17 |     /// different from the original request.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:18:32: error: cannot find type 'URLRequest' in scope
16 |     /// The URL request object currently being handled by the task. May be
17 |     /// different from the original request.
18 |     public var currentRequest: URLRequest? { task.currentRequest }
   |                                `- error: cannot find type 'URLRequest' in scope
19 |     /// Completed task.
20 |     public let task: URLSessionTask
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:20:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |     public var currentRequest: URLRequest? { task.currentRequest }
19 |     /// Completed task.
20 |     public let task: URLSessionTask
   |                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     /// Task metrics collected for the request.
22 |     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:22:25: error: cannot find type 'URLSessionTaskMetrics' in scope
20 |     public let task: URLSessionTask
21 |     /// Task metrics collected for the request.
22 |     public let metrics: URLSessionTaskMetrics?
   |                         `- error: cannot find type 'URLSessionTaskMetrics' in scope
23 |
24 |     /// Initializes the response.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:25:93: error: cannot find type 'URLSessionTaskMetrics' in scope
23 |
24 |     /// Initializes the response.
25 |     public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
   |                                                                                             `- error: cannot find type 'URLSessionTaskMetrics' in scope
26 |         self.value = value
27 |         self.data = data
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:25:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 |     /// Initializes the response.
25 |     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.
26 |         self.value = value
27 |         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:25:68: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
23 |
24 |     /// Initializes the response.
25 |     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.
26 |         self.value = value
27 |         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
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:8:16: error: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'
 6 |     public let value: T
 7 |     /// Original response.
 8 |     public let response: URLResponse
   |                `- error: stored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'
 9 |     /// Response HTTP status code.
10 |     public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:20:16: error: stored property 'task' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'
18 |     public var currentRequest: URLRequest? { task.currentRequest }
19 |     /// Completed task.
20 |     public let task: URLSessionTask
   |                `- error: stored property 'task' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'
21 |     /// Task metrics collected for the request.
22 |     public let metrics: URLSessionTaskMetrics?
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift /host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift /host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift /host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift /host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIError.swift /host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift /host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SkavokNetworking -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/SkavokNetworking_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/Modules/SkavokNetworking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/Modules/SkavokNetworking.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/SkavokNetworking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/SkavokNetworking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/SkavokNetworking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-webassembly-wasm32/SkavokNetworking-t.build/Objects-normal/wasm32/Modules/SkavokNetworking.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm