Build Information
Failed to build SkavokNetworking, reference 2.0.0 (df65f7), with Swift 6.4 for Android on 27 Sep 2026 17:18:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build 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: android
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-54344843-2":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
[27 / 35] SkavokNetworking
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:8:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m public nonisolated let configuration: Configuration
[0;36m7 |[0;0m
[0;36m8 |[0;0m private let session: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m private let decoderFactory: @Sendable () -> JSONDecoder
[0;36m10 |[0;0m private let encoderFactory: @Sendable () -> JSONEncoder
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:13:69: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m /// - client: The client that sends the request.
[0;36m12 |[0;0m /// - request: The request about to be sent. Can be modified
[0;36m13 |[0;0m func client(_ client: APIClient, willSendRequest request: inout [4;39mURLRequest[0;0m) async throws
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Validates response for the given request.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:42: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m /// Background configurations are rejected when executing a request because
[0;36m25 |[0;0m /// this client supports foreground, one-shot transfers only.
[0;36m26 |[0;0m public var sessionConfiguration: [4;39mURLSessionConfiguration[0;0m = .default
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m /// The optional URLSession delegate used for session and task callbacks,
[0;36m28 |[0;0m /// including authentication, redirection, upload progress, and metrics.
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:69: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m24 |[0;0m /// Background configurations are rejected when executing a request because
[0;36m25 |[0;0m /// this client supports foreground, one-shot transfers only.
[0;36m26 |[0;0m public var sessionConfiguration: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m27 |[0;0m /// The optional URLSession delegate used for session and task callbacks,
[0;36m28 |[0;0m /// including authentication, redirection, upload progress, and metrics.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:69: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m24 |[0;0m /// Background configurations are rejected when executing a request because
[0;36m25 |[0;0m /// this client supports foreground, one-shot transfers only.
[0;36m26 |[0;0m public var sessionConfiguration: URLSessionConfiguration = [4;39m.default[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m27 |[0;0m /// The optional URLSession delegate used for session and task callbacks,
[0;36m28 |[0;0m /// including authentication, redirection, upload progress, and metrics.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:30:37: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m28 |[0;0m /// including authentication, redirection, upload progress, and metrics.
[0;36m29 |[0;0m /// Data- and download-specific callbacks remain managed by the client.
[0;36m30 |[0;0m public var sessionDelegate: [4;39mURLSessionDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m31 |[0;0m /// An optional underlying queue used for URLSession delegate callbacks.
[0;36m32 |[0;0m /// The client wraps it in an internally owned serial operation queue to
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:49:35: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m47 |[0;0m public init(
[0;36m48 |[0;0m baseURL: URL?,
[0;36m49 |[0;0m sessionConfiguration: [4;39mURLSessionConfiguration[0;0m = .default,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m delegate: APIClientDelegate? = nil
[0;36m51 |[0;0m ) {
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:49:62: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m47 |[0;0m public init(
[0;36m48 |[0;0m baseURL: URL?,
[0;36m49 |[0;0m sessionConfiguration: URLSessionConfiguration = .default,
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m50 |[0;0m delegate: APIClientDelegate? = nil
[0;36m51 |[0;0m ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:49:62: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m47 |[0;0m public init(
[0;36m48 |[0;0m baseURL: URL?,
[0;36m49 |[0;0m sessionConfiguration: URLSessionConfiguration = [4;39m.default[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m50 |[0;0m delegate: APIClientDelegate? = nil
[0;36m51 |[0;0m ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:26:20: [1;31merror: [1;39mstored property 'sessionConfiguration' of 'Sendable'-conforming struct 'Configuration' has non-Sendable type 'AnyObject'[0;0m
[0;36m24 |[0;0m /// Background configurations are rejected when executing a request because
[0;36m25 |[0;0m /// this client supports foreground, one-shot transfers only.
[0;36m26 |[0;0m public var sessionConfiguration: URLSessionConfiguration = .default
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'sessionConfiguration' of 'Sendable'-conforming struct 'Configuration' has non-Sendable type 'AnyObject'[0;0m
[0;36m27 |[0;0m /// The optional URLSession delegate used for session and task callbacks,
[0;36m28 |[0;0m /// including authentication, redirection, upload progress, and metrics.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:118:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m116 |[0;0m @discardableResult public func send<T: Decodable & Sendable>(
[0;36m117 |[0;0m _ request: Request<T>,
[0;36m118 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m119 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m120 |[0;0m ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:119:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m117 |[0;0m _ request: Request<T>,
[0;36m118 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m119 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m120 |[0;0m ) async throws -> Response<T> {
[0;36m121 |[0;0m let response = try await data(for: request, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:135:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m133 |[0;0m @discardableResult public func send(
[0;36m134 |[0;0m _ request: Request<Void>,
[0;36m135 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m136 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m137 |[0;0m ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:136:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m134 |[0;0m _ request: Request<Void>,
[0;36m135 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m136 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m137 |[0;0m ) async throws -> Response<Void> {
[0;36m138 |[0;0m try await data(for: request, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:152:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m150 |[0;0m public func data<T>(
[0;36m151 |[0;0m for request: Request<T>,
[0;36m152 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m153 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m154 |[0;0m ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:153:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m151 |[0;0m for request: Request<T>,
[0;36m152 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m153 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m154 |[0;0m ) async throws -> Response<Data> {
[0;36m155 |[0;0m let urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:187:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m185 |[0;0m for request: Request<Void>,
[0;36m186 |[0;0m destination: URL? = nil,
[0;36m187 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m188 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m189 |[0;0m ) async throws -> Response<URL> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:188:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m186 |[0;0m destination: URL? = nil,
[0;36m187 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m188 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m189 |[0;0m ) async throws -> Response<URL> {
[0;36m190 |[0;0m try validateDownloadDestination(destination)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:237:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m235 |[0;0m for request: Request<T>,
[0;36m236 |[0;0m fromFile fileURL: URL,
[0;36m237 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m238 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m239 |[0;0m ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:238:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m236 |[0;0m fromFile fileURL: URL,
[0;36m237 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m238 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m239 |[0;0m ) async throws -> Response<T> {
[0;36m240 |[0;0m let response = try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:256:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m254 |[0;0m for request: Request<Void>,
[0;36m255 |[0;0m fromFile fileURL: URL,
[0;36m256 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m257 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m258 |[0;0m ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:257:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m255 |[0;0m fromFile fileURL: URL,
[0;36m256 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m257 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m258 |[0;0m ) async throws -> Response<Void> {
[0;36m259 |[0;0m try await _upload(for: request, fromFile: fileURL, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:265:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m263 |[0;0m for request: Request<T>,
[0;36m264 |[0;0m fromFile fileURL: URL,
[0;36m265 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m266 |[0;0m configure: ((inout URLRequest) throws -> Void)?
[0;36m267 |[0;0m ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:266:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m264 |[0;0m fromFile fileURL: URL,
[0;36m265 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m266 |[0;0m configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m267 |[0;0m ) async throws -> Response<Data> {
[0;36m268 |[0;0m let urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:298:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m296 |[0;0m for request: Request<T>,
[0;36m297 |[0;0m from data: Data,
[0;36m298 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m299 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m300 |[0;0m ) async throws -> Response<T> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:299:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m297 |[0;0m from data: Data,
[0;36m298 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m299 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m300 |[0;0m ) async throws -> Response<T> {
[0;36m301 |[0;0m let response = try await _upload(for: request, from: data, delegate: delegate, configure: configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:317:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m315 |[0;0m for request: Request<Void>,
[0;36m316 |[0;0m from data: Data,
[0;36m317 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m318 |[0;0m configure: sending ((inout URLRequest) throws -> Void)? = nil
[0;36m319 |[0;0m ) async throws -> Response<Void> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:318:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m316 |[0;0m from data: Data,
[0;36m317 |[0;0m delegate: URLSessionTaskDelegate? = nil,
[0;36m318 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)? = nil
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m319 |[0;0m ) async throws -> Response<Void> {
[0;36m320 |[0;0m try await _upload(for: request, from: data, delegate: delegate, configure: configure).map { _ in () }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:326:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m324 |[0;0m for request: Request<T>,
[0;36m325 |[0;0m from data: Data,
[0;36m326 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m327 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m328 |[0;0m ) async throws -> Response<Data> {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:327:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m325 |[0;0m from data: Data,
[0;36m326 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m327 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m328 |[0;0m ) async throws -> Response<Data> {
[0;36m329 |[0;0m let urlRequest = try await makeURLRequest(for: request, configure)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:347:76: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m345 |[0;0m // MARK: Making Requests
[0;36m346 |[0;0m /// Creates `URLRequest` for the given request.
[0;36m347 |[0;0m public func makeURLRequest<T>(for request: Request<T>) async throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m348 |[0;0m try await makeURLRequest(for: request, { _ in })
[0;36m349 |[0;0m }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:359:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m357 |[0;0m private func makeURLRequest<T>(
[0;36m358 |[0;0m for request: Request<T>,
[0;36m359 |[0;0m _ configure: ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m360 |[0;0m ) async throws -> URLRequest {
[0;36m361 |[0;0m let url = try makeURL(for: request)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:360:23: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m358 |[0;0m for request: Request<T>,
[0;36m359 |[0;0m _ configure: ((inout URLRequest) throws -> Void)?
[0;36m360 |[0;0m ) async throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m361 |[0;0m let url = try makeURL(for: request)
[0;36m362 |[0;0m var urlRequest = URLRequest(url: url)
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m4 |[0;0m func send<T: Decodable & Sendable>(
[0;36m5 |[0;0m _ request: Request<T>,
[0;36m6 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m7 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m8 |[0;0m ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:7:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m5 |[0;0m _ request: Request<T>,
[0;36m6 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m7 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m8 |[0;0m ) async throws -> Response<T>
[0;36m9 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m10 |[0;0m func send(
[0;36m11 |[0;0m _ request: Request<Void>,
[0;36m12 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m13 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m14 |[0;0m ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:13:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m _ request: Request<Void>,
[0;36m12 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m13 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m ) async throws -> Response<Void>
[0;36m15 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m16 |[0;0m func data<T>(
[0;36m17 |[0;0m for request: Request<T>,
[0;36m18 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m19 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m20 |[0;0m ) async throws -> Response<Data>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:19:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m17 |[0;0m for request: Request<T>,
[0;36m18 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m19 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m20 |[0;0m ) async throws -> Response<Data>
[0;36m21 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:26:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m24 |[0;0m for request: Request<Void>,
[0;36m25 |[0;0m destination: URL?,
[0;36m26 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m27 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m28 |[0;0m ) async throws -> Response<URL>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:27:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m destination: URL?,
[0;36m26 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m27 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m28 |[0;0m ) async throws -> Response<URL>
[0;36m29 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:44:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m42 |[0;0m for request: Request<T>,
[0;36m43 |[0;0m fromFile fileURL: URL,
[0;36m44 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m45 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m46 |[0;0m ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:45:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m43 |[0;0m fromFile fileURL: URL,
[0;36m44 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m45 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m ) async throws -> Response<T>
[0;36m47 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:60:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m58 |[0;0m for request: Request<Void>,
[0;36m59 |[0;0m fromFile fileURL: URL,
[0;36m60 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m61 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m62 |[0;0m ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:61:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m fromFile fileURL: URL,
[0;36m60 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m61 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m62 |[0;0m ) async throws -> Response<Void>
[0;36m63 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:78:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m76 |[0;0m for request: Request<T>,
[0;36m77 |[0;0m from data: Data,
[0;36m78 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m79 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m80 |[0;0m ) async throws -> Response<T>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:79:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m77 |[0;0m from data: Data,
[0;36m78 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m79 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m80 |[0;0m ) async throws -> Response<T>
[0;36m81 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:94:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m92 |[0;0m for request: Request<Void>,
[0;36m93 |[0;0m from data: Data,
[0;36m94 |[0;0m delegate: [4;39mURLSessionTaskDelegate[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m95 |[0;0m configure: sending ((inout URLRequest) throws -> Void)?
[0;36m96 |[0;0m ) async throws -> Response<Void>
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:95:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m93 |[0;0m from data: Data,
[0;36m94 |[0;0m delegate: URLSessionTaskDelegate?,
[0;36m95 |[0;0m configure: sending ((inout [4;39mURLRequest[0;0m) throws -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m96 |[0;0m ) async throws -> Response<Void>
[0;36m97 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientProtocol.swift:100:69: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m98 |[0;0m // MARK: Making Requests
[0;36m99 |[0;0m /// Creates `URLRequest` for the given request.
[0;36m100 |[0;0m func makeURLRequest<T>(for request: Request<T>) async throws -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m101 |[0;0m
[0;36m102 |[0;0m /// Clears responses stored in the client's configured URL cache.
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:82:81: [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'[0;0m
[0;36m80 |[0;0m public init(configuration: Configuration) {
[0;36m81 |[0;0m var configuration = configuration
[0;36m82 |[0;0m configuration.sessionConfiguration = [4;39mconfiguration.sessionConfiguration[0;0m.[4;39mcopy[0;0m() as! URLSessionConfiguration
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'copy'[0;0m
[0;36m83 |[0;0m let sharedCache = URLCache.shared
[0;36m84 |[0;0m if configuration.sessionConfiguration.urlCache === sharedCache {
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:83:36: [1;31merror: [1;39mtype 'URLCache' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m81 |[0;0m var configuration = configuration
[0;36m82 |[0;0m configuration.sessionConfiguration = configuration.sessionConfiguration.copy() as! URLSessionConfiguration
[0;36m83 |[0;0m let sharedCache = [4;39mURLCache[0;0m.[4;39mshared[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLCache' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m84 |[0;0m if configuration.sessionConfiguration.urlCache === sharedCache {
[0;36m85 |[0;0m configuration.sessionConfiguration.urlCache = URLCache(
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:84:47: [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'[0;0m
[0;36m82 |[0;0m configuration.sessionConfiguration = configuration.sessionConfiguration.copy() as! URLSessionConfiguration
[0;36m83 |[0;0m let sharedCache = URLCache.shared
[0;36m84 |[0;0m if [4;39mconfiguration.sessionConfiguration[0;0m.[4;39murlCache[0;0m === sharedCache {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'[0;0m
[0;36m85 |[0;0m configuration.sessionConfiguration.urlCache = URLCache(
[0;36m86 |[0;0m memoryCapacity: sharedCache.memoryCapacity,
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:85:48: [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'[0;0m
[0;36m83 |[0;0m let sharedCache = URLCache.shared
[0;36m84 |[0;0m if configuration.sessionConfiguration.urlCache === sharedCache {
[0;36m85 |[0;0m [4;39mconfiguration.sessionConfiguration[0;0m.[4;39murlCache[0;0m = URLCache(
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'[0;0m
[0;36m86 |[0;0m memoryCapacity: sharedCache.memoryCapacity,
[0;36m87 |[0;0m diskCapacity: sharedCache.diskCapacity
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:85:59: [1;31merror: [1;39m'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m83 |[0;0m let sharedCache = URLCache.shared
[0;36m84 |[0;0m if configuration.sessionConfiguration.urlCache === sharedCache {
[0;36m85 |[0;0m configuration.sessionConfiguration.urlCache = [4;39mURLCache[0;0m(
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m86 |[0;0m memoryCapacity: sharedCache.memoryCapacity,
[0;36m87 |[0;0m diskCapacity: sharedCache.diskCapacity
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:95:24: [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m93 |[0;0m delegateQueue.maxConcurrentOperationCount = 1
[0;36m94 |[0;0m delegateQueue.underlyingQueue = configuration.sessionDelegateUnderlyingQueue
[0;36m95 |[0;0m self.session = [4;39mURLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be an instance of a class or class-constrained type in assignment[0;0m
[0;36m96 |[0;0m self.dataLoader.userSessionDelegate = configuration.sessionDelegate
[0;36m97 |[0;0m self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClient.swift:95:24: [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m93 |[0;0m delegateQueue.maxConcurrentOperationCount = 1
[0;36m94 |[0;0m delegateQueue.underlyingQueue = configuration.sessionDelegateUnderlyingQueue
[0;36m95 |[0;0m self.session = [4;39mURLSession[0;0m(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers[0;0m
[0;36m96 |[0;0m self.dataLoader.userSessionDelegate = configuration.sessionDelegate
[0;36m97 |[0;0m self.delegate = configuration.delegate ?? DefaultAPIClientDelegate()
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:7:30: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m5 |[0;0m private let handlers = TaskHandlersDictionary()
[0;36m6 |[0;0m
[0;36m7 |[0;0m var userSessionDelegate: [4;39mURLSessionDelegate[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m8 |[0;0m didSet {
[0;36m9 |[0;0m userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:29:36: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m27 |[0;0m func client(
[0;36m28 |[0;0m _ client: APIClient,
[0;36m29 |[0;0m validateResponse response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m30 |[0;0m data: Data,
[0;36m31 |[0;0m task: URLSessionTask,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:31:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m validateResponse response: HTTPURLResponse,
[0;36m30 |[0;0m data: Data,
[0;36m31 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m requestID: String?
[0;36m33 |[0;0m ) throws
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:41:44: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m39 |[0;0m func client(
[0;36m40 |[0;0m _ client: APIClient,
[0;36m41 |[0;0m validateDownloadResponse response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m42 |[0;0m fileURL: URL,
[0;36m43 |[0;0m task: URLSessionDownloadTask,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:43:15: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m validateDownloadResponse response: HTTPURLResponse,
[0;36m42 |[0;0m fileURL: URL,
[0;36m43 |[0;0m task: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m44 |[0;0m requestID: String?
[0;36m45 |[0;0m ) throws
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:60:56: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m58 |[0;0m ///
[0;36m59 |[0;0m /// - returns: Return `true` to retry the request.
[0;36m60 |[0;0m func client(_ client: APIClient, shouldRetry task: [4;39mURLSessionTask[0;0m, error: Error, attempts: Int) async throws -> Bool
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m61 |[0;0m
[0;36m62 |[0;0m /// Constructs URL for the given request.
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:93:69: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m91 |[0;0m
[0;36m92 |[0;0m public extension APIClientDelegate {
[0;36m93 |[0;0m func client(_ client: APIClient, willSendRequest request: inout [4;39mURLRequest[0;0m) async throws {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m94 |[0;0m // Do nothing
[0;36m95 |[0;0m }
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:97:56: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m }
[0;36m96 |[0;0m
[0;36m97 |[0;0m func client(_ client: APIClient, shouldRetry task: [4;39mURLSessionTask[0;0m, error: Error, attempts: Int) async throws -> Bool {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m98 |[0;0m false // Disabled by default
[0;36m99 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:103:36: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m101 |[0;0m func client(
[0;36m102 |[0;0m _ client: APIClient,
[0;36m103 |[0;0m validateResponse response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m104 |[0;0m data: Data,
[0;36m105 |[0;0m task: URLSessionTask,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:105:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m103 |[0;0m validateResponse response: HTTPURLResponse,
[0;36m104 |[0;0m data: Data,
[0;36m105 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m106 |[0;0m requestID: String?
[0;36m107 |[0;0m ) throws {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:117:44: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m115 |[0;0m func client(
[0;36m116 |[0;0m _ client: APIClient,
[0;36m117 |[0;0m validateDownloadResponse response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m118 |[0;0m fileURL: URL,
[0;36m119 |[0;0m task: URLSessionDownloadTask,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/APIClientDelegate.swift:119:15: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m117 |[0;0m validateDownloadResponse response: HTTPURLResponse,
[0;36m118 |[0;0m fileURL: URL,
[0;36m119 |[0;0m task: [4;39mURLSessionDownloadTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m120 |[0;0m requestID: String?
[0;36m121 |[0;0m ) throws {
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:35: [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
[0;36m4 |[0;0m final class DataLoader: NSObject, [4;39mURLSessionDataDelegate[0;0m, URLSessionDownloadDelegate, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDataDelegate' in scope[0;0m
[0;36m5 |[0;0m private let handlers = TaskHandlersDictionary()
[0;36m6 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:59: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m // A simple URLSession wrapper adding async/await APIs compatible with older platforms.
[0;36m4 |[0;0m final class DataLoader: NSObject, URLSessionDataDelegate, [4;39mURLSessionDownloadDelegate[0;0m, @unchecked Sendable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m5 |[0;0m private let handlers = TaskHandlersDictionary()
[0;36m6 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:387:28: [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m385 |[0;0m private final class TaskHandlersDictionary {
[0;36m386 |[0;0m private let lock = NSLock()
[0;36m387 |[0;0m private var handlers = [URLSessionTask: TaskHandler]()
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'[0;0m
[0;36m388 |[0;0m
[0;36m389 |[0;0m subscript(task: URLSessionTask) -> TaskHandler? {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:12:35: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m10 |[0;0m }
[0;36m11 |[0;0m }
[0;36m12 |[0;0m private var userTaskDelegate: [4;39mURLSessionTaskDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m private static let downloadDirectoryURL = FileManager.default.temporaryDirectory
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:9:56: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m7 |[0;0m var userSessionDelegate: URLSessionDelegate? {
[0;36m8 |[0;0m didSet {
[0;36m9 |[0;0m userTaskDelegate = userSessionDelegate as? [4;39mURLSessionTaskDelegate[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m10 |[0;0m }
[0;36m11 |[0;0m }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:18:62: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m16 |[0;0m .appendingPathComponent("Downloads", isDirectory: true)
[0;36m17 |[0;0m
[0;36m18 |[0;0m func startDataTask(_ task: URLSessionDataTask, delegate: [4;39mURLSessionTaskDelegate[0;0m?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m19 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m20 |[0;0m try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:18:32: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m .appendingPathComponent("Downloads", isDirectory: true)
[0;36m17 |[0;0m
[0;36m18 |[0;0m func startDataTask(_ task: [4;39mURLSessionDataTask[0;0m, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m20 |[0;0m try await withCheckedThrowingContinuation { continuation in
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:34:70: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
[0;36m34 |[0;0m func startDownloadTask(_ task: URLSessionDownloadTask, delegate: [4;39mURLSessionTaskDelegate[0;0m?) async throws -> Response<URL> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m35 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m36 |[0;0m try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:34:36: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
[0;36m34 |[0;0m func startDownloadTask(_ task: [4;39mURLSessionDownloadTask[0;0m, delegate: URLSessionTaskDelegate?) async throws -> Response<URL> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m35 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m36 |[0;0m try await withCheckedThrowingContinuation { continuation in
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:50:66: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m48 |[0;0m }
[0;36m49 |[0;0m
[0;36m50 |[0;0m func startUploadTask(_ task: URLSessionUploadTask, delegate: [4;39mURLSessionTaskDelegate[0;0m?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m51 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m52 |[0;0m try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:50:34: [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m48 |[0;0m }
[0;36m49 |[0;0m
[0;36m50 |[0;0m func startUploadTask(_ task: [4;39mURLSessionUploadTask[0;0m, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m51 |[0;0m try await withTaskCancellationHandler(operation: {
[0;36m52 |[0;0m try await withCheckedThrowingContinuation { continuation in
Foundation.URLSessionUploadTask:2:18: [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionUploadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionUploadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:68:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m66 |[0;0m // MARK: - URLSessionDelegate
[0;36m67 |[0;0m
[0;36m68 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, didBecomeInvalidWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m69 |[0;0m userSessionDelegate?.urlSession?(session, didBecomeInvalidWithError: error)
[0;36m70 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:72:69: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m70 |[0;0m }
[0;36m71 |[0;0m
[0;36m72 |[0;0m func urlSessionDidFinishEvents(forBackgroundURLSession session: [4;39mURLSession[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m73 |[0;0m if #available(macOS 11.0, *) {
[0;36m74 |[0;0m userSessionDelegate?.urlSessionDidFinishEvents?(forBackgroundURLSession: session)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:83:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m81 |[0;0m _ session: URLSession,
[0;36m82 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m83 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m84 |[0;0m ) {
[0;36m85 |[0;0m userSessionDelegate?.urlSession?(
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:81:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m
[0;36m80 |[0;0m func urlSession(
[0;36m81 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m83 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:82:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m80 |[0;0m func urlSession(
[0;36m81 |[0;0m _ session: URLSession,
[0;36m82 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m83 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m84 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:94:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m // MARK: - URLSessionTaskDelegate
[0;36m93 |[0;0m
[0;36m94 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m guard let handler = handlers[task] else { return assertionFailure() }
[0;36m96 |[0;0m handlers[task] = nil
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:94:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m92 |[0;0m // MARK: - URLSessionTaskDelegate
[0;36m93 |[0;0m
[0;36m94 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m95 |[0;0m guard let handler = handlers[task] else { return assertionFailure() }
[0;36m96 |[0;0m handlers[task] = nil
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:141:95: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
[0;36m141 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: [4;39mURLSessionTaskMetrics[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m142 |[0;0m let handler = handlers[task]
[0;36m143 |[0;0m handler?.metrics = metrics
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:141:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
[0;36m141 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m142 |[0;0m let handler = handlers[task]
[0;36m143 |[0;0m handler?.metrics = metrics
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:141:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m139 |[0;0m }
[0;36m140 |[0;0m
[0;36m141 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didFinishCollecting metrics: URLSessionTaskMetrics) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m142 |[0;0m let handler = handlers[task]
[0;36m143 |[0;0m handler?.metrics = metrics
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:152:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m150 |[0;0m task: URLSessionTask,
[0;36m151 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m152 |[0;0m newRequest request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m153 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
[0;36m154 |[0;0m ) {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:153:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m151 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m152 |[0;0m newRequest request: URLRequest,
[0;36m153 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLRequest[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m154 |[0;0m ) {
[0;36m155 |[0;0m handlers[task]?.delegate?.urlSession?(
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:149:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m147 |[0;0m
[0;36m148 |[0;0m func urlSession(
[0;36m149 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m150 |[0;0m task: URLSessionTask,
[0;36m151 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:150:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m148 |[0;0m func urlSession(
[0;36m149 |[0;0m _ session: URLSession,
[0;36m150 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m151 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m152 |[0;0m newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:151:46: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m149 |[0;0m _ session: URLSession,
[0;36m150 |[0;0m task: URLSessionTask,
[0;36m151 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m152 |[0;0m newRequest request: URLRequest,
[0;36m153 |[0;0m completionHandler: @escaping @Sendable (URLRequest?) -> Void
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:172:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m170 |[0;0m }
[0;36m171 |[0;0m
[0;36m172 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, taskIsWaitingForConnectivity task: URLSessionTask) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m173 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m174 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:172:79: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m170 |[0;0m }
[0;36m171 |[0;0m
[0;36m172 |[0;0m func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: [4;39mURLSessionTask[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m173 |[0;0m handlers[task]?.delegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
[0;36m174 |[0;0m userTaskDelegate?.urlSession?(session, taskIsWaitingForConnectivity: task)
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:178:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m176 |[0;0m
[0;36m177 |[0;0m func urlSession(
[0;36m178 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m179 |[0;0m task: URLSessionTask,
[0;36m180 |[0;0m didSendBodyData bytesSent: Int64,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:179:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m177 |[0;0m func urlSession(
[0;36m178 |[0;0m _ session: URLSession,
[0;36m179 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m180 |[0;0m didSendBodyData bytesSent: Int64,
[0;36m181 |[0;0m totalBytesSent: Int64,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:201:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m199 |[0;0m
[0;36m200 |[0;0m func urlSession(
[0;36m201 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m202 |[0;0m task: URLSessionTask,
[0;36m203 |[0;0m needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:202:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m200 |[0;0m func urlSession(
[0;36m201 |[0;0m _ session: URLSession,
[0;36m202 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m203 |[0;0m needNewBodyStream completionHandler: @escaping @Sendable (InputStream?) -> Void
[0;36m204 |[0;0m ) {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:222:60: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m220 |[0;0m task: URLSessionTask,
[0;36m221 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m222 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m223 |[0;0m ) {
[0;36m224 |[0;0m handlers[task]?.delegate?.urlSession?(
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:219:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m217 |[0;0m
[0;36m218 |[0;0m func urlSession(
[0;36m219 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m220 |[0;0m task: URLSessionTask,
[0;36m221 |[0;0m didReceive challenge: URLAuthenticationChallenge,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:220:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m218 |[0;0m func urlSession(
[0;36m219 |[0;0m _ session: URLSession,
[0;36m220 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m221 |[0;0m didReceive challenge: URLAuthenticationChallenge,
[0;36m222 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:221:31: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m219 |[0;0m _ session: URLSession,
[0;36m220 |[0;0m task: URLSessionTask,
[0;36m221 |[0;0m didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m222 |[0;0m completionHandler: @escaping @Sendable (URLSession.AuthChallengeDisposition, URLCredential?) -> Void
[0;36m223 |[0;0m ) {
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:99: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m237 |[0;0m }
[0;36m238 |[0;0m
[0;36m239 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: [4;39mURLRequest[0;0m, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m240 |[0;0m handlers[task]?.delegate?.urlSession?(
[0;36m241 |[0;0m session,
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:162: [1;31merror: [1;39m'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m237 |[0;0m }
[0;36m238 |[0;0m
[0;36m239 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m240 |[0;0m handlers[task]?.delegate?.urlSession?(
[0;36m241 |[0;0m session,
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:189: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m237 |[0;0m }
[0;36m238 |[0;0m
[0;36m239 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, [4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m240 |[0;0m handlers[task]?.delegate?.urlSession?(
[0;36m241 |[0;0m session,
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m237 |[0;0m }
[0;36m238 |[0;0m
[0;36m239 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m240 |[0;0m handlers[task]?.delegate?.urlSession?(
[0;36m241 |[0;0m session,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:239:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m237 |[0;0m }
[0;36m238 |[0;0m
[0;36m239 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping @Sendable (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m240 |[0;0m handlers[task]?.delegate?.urlSession?(
[0;36m241 |[0;0m session,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:260:60: [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m258 |[0;0m dataTask: URLSessionDataTask,
[0;36m259 |[0;0m didReceive response: URLResponse,
[0;36m260 |[0;0m completionHandler: @escaping @Sendable ([4;39mURLSession[0;0m.ResponseDisposition) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m261 |[0;0m ) {
[0;36m262 |[0;0m completionHandler(.allow)
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:257:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m255 |[0;0m // MARK: - URLSessionDataDelegate
[0;36m256 |[0;0m func urlSession(
[0;36m257 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m258 |[0;0m dataTask: URLSessionDataTask,
[0;36m259 |[0;0m didReceive response: URLResponse,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:258:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m256 |[0;0m func urlSession(
[0;36m257 |[0;0m _ session: URLSession,
[0;36m258 |[0;0m dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m259 |[0;0m didReceive response: URLResponse,
[0;36m260 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:259:30: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m257 |[0;0m _ session: URLSession,
[0;36m258 |[0;0m dataTask: URLSessionDataTask,
[0;36m259 |[0;0m didReceive response: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m260 |[0;0m completionHandler: @escaping @Sendable (URLSession.ResponseDisposition) -> Void
[0;36m261 |[0;0m ) {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:265:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m263 |[0;0m }
[0;36m264 |[0;0m
[0;36m265 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, dataTask: URLSessionDataTask, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m266 |[0;0m guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
[0;36m267 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:265:54: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m263 |[0;0m }
[0;36m264 |[0;0m
[0;36m265 |[0;0m func urlSession(_ session: URLSession, dataTask: [4;39mURLSessionDataTask[0;0m, didReceive data: Data) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m266 |[0;0m guard let handler = handlers[dataTask] as? DataTaskHandler else { return }
[0;36m267 |[0;0m
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:276:20: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m274 |[0;0m
[0;36m275 |[0;0m func urlSession(
[0;36m276 |[0;0m _ session: [4;39mURLSession[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m277 |[0;0m dataTask: URLSessionDataTask,
[0;36m278 |[0;0m willCacheResponse proposedResponse: CachedURLResponse,
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:277:19: [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m275 |[0;0m func urlSession(
[0;36m276 |[0;0m _ session: URLSession,
[0;36m277 |[0;0m dataTask: [4;39mURLSessionDataTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m278 |[0;0m willCacheResponse proposedResponse: CachedURLResponse,
[0;36m279 |[0;0m completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
Foundation.URLSessionDataTask:2:18: [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDataTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDataTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:278:45: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m276 |[0;0m _ session: URLSession,
[0;36m277 |[0;0m dataTask: URLSessionDataTask,
[0;36m278 |[0;0m willCacheResponse proposedResponse: [4;39mCachedURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m279 |[0;0m completionHandler: @escaping @Sendable (CachedURLResponse?) -> Void
[0;36m280 |[0;0m ) {
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:279:49: [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m277 |[0;0m dataTask: URLSessionDataTask,
[0;36m278 |[0;0m willCacheResponse proposedResponse: CachedURLResponse,
[0;36m279 |[0;0m completionHandler: @escaping @Sendable ([4;39mCachedURLResponse[0;0m?) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m280 |[0;0m ) {
[0;36m281 |[0;0m completionHandler(proposedResponse)
Foundation.CachedURLResponse:2:18: [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias CachedURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'CachedURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:285:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m283 |[0;0m
[0;36m284 |[0;0m // MARK: - URLSessionDownloadDelegate
[0;36m285 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m286 |[0;0m guard let handler = handlers[downloadTask] as? DownloadTaskHandler else { return }
[0;36m287 |[0;0m let downloadsURL = DataLoader.downloadDirectoryURL
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:285:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m283 |[0;0m
[0;36m284 |[0;0m // MARK: - URLSessionDownloadDelegate
[0;36m285 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didFinishDownloadingTo location: URL) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m286 |[0;0m guard let handler = handlers[downloadTask] as? DownloadTaskHandler else { return }
[0;36m287 |[0;0m let downloadsURL = DataLoader.downloadDirectoryURL
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:307:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m305 |[0;0m }
[0;36m306 |[0;0m
[0;36m307 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m308 |[0;0m
[0;36m309 |[0;0m func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {}
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:307:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m305 |[0;0m }
[0;36m306 |[0;0m
[0;36m307 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m308 |[0;0m
[0;36m309 |[0;0m func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {}
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:309:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m307 |[0;0m func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {}
[0;36m308 |[0;0m
[0;36m309 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m }
[0;36m311 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:309:58: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m307 |[0;0m func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {}
[0;36m308 |[0;0m
[0;36m309 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m310 |[0;0m }
[0;36m311 |[0;0m
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:314:19: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m312 |[0;0m // MARK: - TaskHandlers
[0;36m313 |[0;0m private class TaskHandler {
[0;36m314 |[0;0m let delegate: [4;39mURLSessionTaskDelegate[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m315 |[0;0m var metrics: URLSessionTaskMetrics?
[0;36m316 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:315:18: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m313 |[0;0m private class TaskHandler {
[0;36m314 |[0;0m let delegate: URLSessionTaskDelegate?
[0;36m315 |[0;0m var metrics: [4;39mURLSessionTaskMetrics[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m316 |[0;0m
[0;36m317 |[0;0m init(delegate: URLSessionTaskDelegate?) {
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:317:20: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m315 |[0;0m var metrics: URLSessionTaskMetrics?
[0;36m316 |[0;0m
[0;36m317 |[0;0m init(delegate: [4;39mURLSessionTaskDelegate[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m318 |[0;0m self.delegate = delegate
[0;36m319 |[0;0m }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:335:29: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m333 |[0;0m var fileResult: Result<URL, Error>?
[0;36m334 |[0;0m
[0;36m335 |[0;0m override init(delegate: [4;39mURLSessionTaskDelegate[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m336 |[0;0m super.init(delegate: delegate)
[0;36m337 |[0;0m }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:344:15: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m342 |[0;0m
[0;36m343 |[0;0m struct DataLoaderError: Error {
[0;36m344 |[0;0m let task: [4;39mURLSessionTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m345 |[0;0m let error: Error
[0;36m346 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:344:9: [1;33mwarning: [1;39mstored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-Sendable type 'AnyObject'[0;0m
[0;36m342 |[0;0m
[0;36m343 |[0;0m struct DataLoaderError: Error {
[0;36m344 |[0;0m let task: URLSessionTask
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'task' of 'Sendable'-conforming struct 'DataLoaderError' has non-Sendable type 'AnyObject'[0;0m
[0;36m345 |[0;0m let error: Error
[0;36m346 |[0;0m }
/host/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:389:21: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m387 |[0;0m private var handlers = [URLSessionTask: TaskHandler]()
[0;36m388 |[0;0m
[0;36m389 |[0;0m subscript(task: [4;39mURLSessionTask[0;0m) -> TaskHandler? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m390 |[0;0m get {
[0;36m391 |[0;0m lock.lock()
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIError.swift:77:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m75 |[0;0m public struct TransportError: Error, LocalizedError, Sendable {
[0;36m76 |[0;0m public let requestID: String?
[0;36m77 |[0;0m public let request: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m78 |[0;0m public let underlyingError: any Error
[0;36m79 |[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIError.swift:80:46: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m78 |[0;0m public let underlyingError: any Error
[0;36m79 |[0;0m
[0;36m80 |[0;0m public init(requestID: String?, request: [4;39mURLRequest[0;0m?, underlyingError: any Error) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m81 |[0;0m self.requestID = requestID
[0;36m82 |[0;0m self.request = request
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/APIError.swift:120:20: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m118 |[0;0m }
[0;36m119 |[0;0m
[0;36m120 |[0;0m init(response: [4;39mHTTPURLResponse[0;0m, data: Data, requestID: String?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m121 |[0;0m self.init(
[0;36m122 |[0;0m statusCode: response.statusCode,
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:37:29: [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m35 |[0;0m public var id: String?
[0;36m36 |[0;0m /// The constants used to specify interaction with the cached responses.
[0;36m37 |[0;0m public var cachePolicy: [4;39mNSURLRequest[0;0m.CachePolicy = .useProtocolCachePolicy
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m /// Initializes the request with the given parameters.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:47:22: [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m45 |[0;0m headers: [String: String]? = nil,
[0;36m46 |[0;0m id: String? = nil,
[0;36m47 |[0;0m cachePolicy: [4;39mNSURLRequest[0;0m.CachePolicy = .useProtocolCachePolicy
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m48 |[0;0m ) {
[0;36m49 |[0;0m self.method = method
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Request.swift:66:22: [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m64 |[0;0m headers: [String: String]? = nil,
[0;36m65 |[0;0m id: String? = nil,
[0;36m66 |[0;0m cachePolicy: [4;39mNSURLRequest[0;0m.CachePolicy = .useProtocolCachePolicy
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSURLRequest' in scope[0;0m
[0;36m67 |[0;0m ) {
[0;36m68 |[0;0m self.method = method
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:8:26: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m6 |[0;0m public let value: T
[0;36m7 |[0;0m /// Original response.
[0;36m8 |[0;0m public let response: [4;39mURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m9 |[0;0m /// Response HTTP status code.
[0;36m10 |[0;0m public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:15:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m13 |[0;0m public let data: Data
[0;36m14 |[0;0m /// Original request.
[0;36m15 |[0;0m public var originalRequest: [4;39mURLRequest[0;0m? { task.originalRequest }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m /// The URL request object currently being handled by the task. May be
[0;36m17 |[0;0m /// different from the original request.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:18:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m /// The URL request object currently being handled by the task. May be
[0;36m17 |[0;0m /// different from the original request.
[0;36m18 |[0;0m public var currentRequest: [4;39mURLRequest[0;0m? { task.currentRequest }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m /// Completed task.
[0;36m20 |[0;0m public let task: URLSessionTask
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:20:22: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m public var currentRequest: URLRequest? { task.currentRequest }
[0;36m19 |[0;0m /// Completed task.
[0;36m20 |[0;0m public let task: [4;39mURLSessionTask[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m /// Task metrics collected for the request.
[0;36m22 |[0;0m public let metrics: URLSessionTaskMetrics?
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:22:25: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m20 |[0;0m public let task: URLSessionTask
[0;36m21 |[0;0m /// Task metrics collected for the request.
[0;36m22 |[0;0m public let metrics: [4;39mURLSessionTaskMetrics[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m /// Initializes the response.
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:25:93: [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m /// Initializes the response.
[0;36m25 |[0;0m public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: [4;39mURLSessionTaskMetrics[0;0m? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskMetrics' in scope[0;0m
[0;36m26 |[0;0m self.value = value
[0;36m27 |[0;0m self.data = data
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:25:49: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m /// Initializes the response.
[0;36m25 |[0;0m public init(value: T, data: Data, response: [4;39mURLResponse[0;0m, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m self.value = value
[0;36m27 |[0;0m self.data = data
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:25:68: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m /// Initializes the response.
[0;36m25 |[0;0m public init(value: T, data: Data, response: URLResponse, task: [4;39mURLSessionTask[0;0m, metrics: URLSessionTaskMetrics? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m self.value = value
[0;36m27 |[0;0m self.data = data
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:8:16: [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'[0;0m
[0;36m6 |[0;0m public let value: T
[0;36m7 |[0;0m /// Original response.
[0;36m8 |[0;0m public let response: URLResponse
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'response' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'[0;0m
[0;36m9 |[0;0m /// Response HTTP status code.
[0;36m10 |[0;0m public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
/host/spi-builder-workspace/Sources/SkavokNetworking/Models/Response.swift:20:16: [1;31merror: [1;39mstored property 'task' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'[0;0m
[0;36m18 |[0;0m public var currentRequest: URLRequest? { task.currentRequest }
[0;36m19 |[0;0m /// Completed task.
[0;36m20 |[0;0m public let task: URLSessionTask
[0;36m|[0;0m `- [1;31merror: [1;39mstored property 'task' of 'Sendable'-conforming generic struct 'Response' has non-Sendable type 'AnyObject'[0;0m
[0;36m21 |[0;0m /// Task metrics collected for the request.
[0;36m22 |[0;0m public let metrics: URLSessionTaskMetrics?
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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 aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/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-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/SkavokNetworking_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/Modules/SkavokNetworking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/Modules/SkavokNetworking.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/SkavokNetworking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/SkavokNetworking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/SkavokNetworking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SkavokNetworking.build/Debug-android-aarch64/SkavokNetworking-t.build/Objects-normal/aarch64/Modules/SkavokNetworking.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android