Build Information
Failed to build SwiftPresso, reference 2.0.3 (51394b
), with Swift 5.9 for Linux on 17 Sep 2024 12:27:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/SwiftPresso.git
Reference: 2.0.3
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/SwiftPresso
* tag 2.0.3 -> FETCH_HEAD
HEAD is now at 51394bd Update README.md
Cloned https://github.com/Livsy90/SwiftPresso.git
Revision (git rev-parse @):
51394bd90f619479b9162fbafa71ae96f4595eda
SUCCESS checkout https://github.com/Livsy90/SwiftPresso.git at 2.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/Livsy90/SwiftPresso.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:66706f89ac15d55dcb11e8d3274e2fe11925b5da93d240b09d5a1eb775db6cc2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/Livsy90/ApricotNavigation.git
Fetching https://github.com/Livsy90/SkavokNetworking.git
[1/25] Fetching apricotnavigation
[26/71] Fetching apricotnavigation, skavoknetworking
Fetched https://github.com/Livsy90/SkavokNetworking.git (0.43s)
Fetched https://github.com/Livsy90/ApricotNavigation.git (0.43s)
Computing version for https://github.com/Livsy90/ApricotNavigation.git
Computed https://github.com/Livsy90/ApricotNavigation.git at 1.0.0 (0.53s)
Computing version for https://github.com/Livsy90/SkavokNetworking.git
Computed https://github.com/Livsy90/SkavokNetworking.git at 1.0.2 (0.52s)
Creating working copy for https://github.com/Livsy90/ApricotNavigation.git
Working copy of https://github.com/Livsy90/ApricotNavigation.git resolved at 1.0.0
Creating working copy for https://github.com/Livsy90/SkavokNetworking.git
Working copy of https://github.com/Livsy90/SkavokNetworking.git resolved at 1.0.2
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/11] Emitting module ApricotNavigation
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/11] Compiling ApricotNavigation Router.swift
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module SkavokNetworking
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:8:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public nonisolated let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:13:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:24:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:24:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:26:37: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:37:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:37:62: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:84:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:85:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:103:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:104:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:120:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:121:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:152:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:153:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:173:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:174:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:182:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:183:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:214:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:215:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:235:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:236:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:244:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:245:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:264:76: error: cannot find type 'URLRequest' in scope
public func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:270:30: error: cannot find type 'URLRequest' in scope
_ configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:271:23: error: cannot find type 'URLRequest' in scope
) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:7:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:13:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:19:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:36:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:37:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:52:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:53:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:70:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:71:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:86:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:87:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:92:69: error: cannot find type 'URLRequest' in scope
func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:65:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:7:30: error: cannot find type 'URLSessionDelegate' in scope
var userSessionDelegate: URLSessionDelegate? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:26:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:26:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:41:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:74:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:78:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:82:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:82:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:14:35: error: cannot find type 'URLSessionTaskDelegate' in scope
private var userTaskDelegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:9:56: error: cannot find type 'URLSessionTaskDelegate' in scope
userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:15:35: error: cannot find type 'URLSessionDataDelegate' in scope
private var userDataDelegate: URLSessionDataDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:10:56: error: cannot find type 'URLSessionDataDelegate' in scope
userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:16:39: error: cannot find type 'URLSessionDownloadDelegate' in scope
private var userDownloadDelegate: URLSessionDownloadDelegate?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:11:60: error: cannot find type 'URLSessionDownloadDelegate' in scope
userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:83: error: cannot find type 'URLSessionDataDelegate' in scope
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:61: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:38:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:38:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:38:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:87: error: cannot find type 'URLSessionTaskDelegate' in scope
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:68:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:72:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:82:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:82:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:140: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:182: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:121:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:121:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:99: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:179: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:145:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:145:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:165:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:165:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:176:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:176:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:181:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:181:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:4:35: error: cannot find type 'URLSessionDataDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:4:59: error: cannot find type 'URLSessionDownloadDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:189:19: error: cannot find type 'URLSessionTaskDelegate' in scope
let delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:190:18: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:192:20: error: cannot find type 'URLSessionTaskDelegate' in scope
init(delegate: URLSessionTaskDelegate?) {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:200:23: error: cannot find type 'URLSessionDataDelegate' in scope
let dataDelegate: URLSessionDataDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:204:29: error: cannot find type 'URLSessionTaskDelegate' in scope
override init(delegate: URLSessionTaskDelegate?) {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:204:14: error: initializer does not override a designated initializer from its superclass
override init(delegate: URLSessionTaskDelegate?) {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:213:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
let downloadDelegate: URLSessionDownloadDelegate?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:217:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
init(delegate: URLSessionDownloadDelegate?) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:227:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:283:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:283:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:285:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(task: URLSessionTask) -> TaskHandler? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:8:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:8:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:10:33: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:21:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:21:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:8:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: URLResponse
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:14:33: error: cannot find type 'URLRequest' in scope
public var originalRequest: URLRequest? { task.originalRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:17:32: error: cannot find type 'URLRequest' in scope
public var currentRequest: URLRequest? { task.currentRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:19:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:21:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:93: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:68: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
[4/11] Compiling ApricotNavigation AnyIdentifiable.swift
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/11] Compiling SkavokNetworking Response.swift
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:8:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: URLResponse
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:14:33: error: cannot find type 'URLRequest' in scope
public var originalRequest: URLRequest? { task.originalRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:17:32: error: cannot find type 'URLRequest' in scope
public var currentRequest: URLRequest? { task.currentRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:19:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:21:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:93: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:68: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:10:67: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[6/11] Compiling SkavokNetworking Request.swift
[7/11] Compiling SkavokNetworking APIConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:8:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:8:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:10:33: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:21:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/APIConfiguration.swift:21:58: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
[8/11] Compiling SkavokNetworking APIClient.swift
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:8:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public nonisolated let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:13:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:24:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:24:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:26:37: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:37:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
sessionConfiguration: URLSessionConfiguration = .default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:37:62: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
sessionConfiguration: URLSessionConfiguration = .default,
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:84:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:85:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:103:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:104:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:120:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:121:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:152:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:153:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:173:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:174:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:182:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:183:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:214:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:215:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:235:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate? = nil,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:236:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)? = nil
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:244:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:245:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:264:76: error: cannot find type 'URLRequest' in scope
public func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:270:30: error: cannot find type 'URLRequest' in scope
_ configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:271:23: error: cannot find type 'URLRequest' in scope
) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:7:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:13:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:19:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:36:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:37:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:52:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:53:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:70:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:71:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:86:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:87:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:92:69: error: cannot find type 'URLRequest' in scope
func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:65:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: dataLoader, delegateQueue: delegateQueue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:7:30: error: cannot find type 'URLSessionDelegate' in scope
var userSessionDelegate: URLSessionDelegate? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:74:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:273:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:280:25: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration.httpAdditionalHeaders?["Content-Type"] == nil {
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:285:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration.httpAdditionalHeaders?["Accept"] == nil {
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:332:56: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
guard let httpResponse = response.response as? HTTPURLResponse else { return }
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:83: error: cannot find type 'URLSessionDataDelegate' in scope
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:127:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = session.dataTask(with: request)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:87: error: cannot find type 'URLSessionTaskDelegate' in scope
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:189:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
let task = session.uploadTask(with: request, fromFile: fileURL)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClient.swift:251:32: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
let task = session.uploadTask(with: request, from: data)
~~~~~~~ ^~~~~~~~~~
error: fatalError
[9/11] Compiling SkavokNetworking APIClientDelegate.swift
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:13:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:26:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:26:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:41:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:74:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:78:56: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, shouldRetry task: URLSessionTask, error: Error, attempts: Int) async throws -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:82:65: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:82:100: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, validateResponse response: HTTPURLResponse, data: Data, task: URLSessionTask) throws {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:83:45: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard (200..<300).contains(response.statusCode) else {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientDelegate.swift:84:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
throw APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
[10/11] Compiling SkavokNetworking APIClientProtocol.swift
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:6:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:7:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:12:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:13:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:18:19: error: cannot find type 'URLSessionDataDelegate' in scope
delegate: URLSessionDataDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:19:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:36:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:37:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:52:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:53:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:70:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:71:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:86:19: error: cannot find type 'URLSessionTaskDelegate' in scope
delegate: URLSessionTaskDelegate?,
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:87:28: error: cannot find type 'URLRequest' in scope
configure: ((inout URLRequest) throws -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:92:69: error: cannot find type 'URLRequest' in scope
func makeURLRequest<T>(for request: Request<T>) async throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:13: error: cannot convert return expression of type 'Int' to return type 'Response<T>'
try await send(request, delegate: nil, configure: nil)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:19: error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:19: note: use 'SwiftGlibc.' to reference the global function in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
SwiftGlibc.
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:23: error: extraneous argument labels 'delegate:configure:' in call
try await send(request, delegate: nil, configure: nil)
^ ~~~~~~~~~~ ~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:62: error: missing argument for parameter #4 in call
try await send(request, delegate: nil, configure: nil)
^
, <#Int32#>
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:24: error: cannot convert value of type 'Request<T>' to expected argument type 'Int32'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:97:59: error: 'nil' is not compatible with expected argument type 'Int'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:13: error: cannot convert return expression of type 'Int' to return type 'Response<Void>'
try await send(request, delegate: nil, configure: nil)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:19: error: use of 'send' refers to instance method rather than global function 'send' in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:19: note: use 'SwiftGlibc.' to reference the global function in module 'SwiftGlibc'
try await send(request, delegate: nil, configure: nil)
^
SwiftGlibc.
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:23: error: extraneous argument labels 'delegate:configure:' in call
try await send(request, delegate: nil, configure: nil)
^ ~~~~~~~~~~ ~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:62: error: missing argument for parameter #4 in call
try await send(request, delegate: nil, configure: nil)
^
, <#Int32#>
SwiftGlibc.send:1:13: note: 'send' declared here
public func send(_ __fd: Int32, _ __buf: UnsafeRawPointer!, _ __n: Int, _ __flags: Int32) -> Int
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:24: error: cannot convert value of type 'Request<Void>' to expected argument type 'Int32'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:102:59: error: 'nil' is not compatible with expected argument type 'Int'
try await send(request, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:107:25: error: extra arguments at positions #3, #4 in call
try await upload(for: request, from: data, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:106:10: note: 'upload(for:from:)' declared here
func upload(for request: Request<Void>, from data: Data) async throws -> Response<Void> {
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:107:62: error: 'nil' requires a contextual type
try await upload(for: request, from: data, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/APIClientProtocol.swift:107:78: error: 'nil' requires a contextual type
try await upload(for: request, from: data, delegate: nil, configure: nil)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:7:30: error: cannot find type 'URLSessionDelegate' in scope
var userSessionDelegate: URLSessionDelegate? {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:14:35: error: cannot find type 'URLSessionTaskDelegate' in scope
private var userTaskDelegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:9:56: error: cannot find type 'URLSessionTaskDelegate' in scope
userTaskDelegate = userSessionDelegate as? URLSessionTaskDelegate
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:15:35: error: cannot find type 'URLSessionDataDelegate' in scope
private var userDataDelegate: URLSessionDataDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:10:56: error: cannot find type 'URLSessionDataDelegate' in scope
userDataDelegate = userSessionDelegate as? URLSessionDataDelegate
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:16:39: error: cannot find type 'URLSessionDownloadDelegate' in scope
private var userDownloadDelegate: URLSessionDownloadDelegate?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:11:60: error: cannot find type 'URLSessionDownloadDelegate' in scope
userDownloadDelegate = userSessionDelegate as? URLSessionDownloadDelegate
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:83: error: cannot find type 'URLSessionDataDelegate' in scope
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:32: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:24:61: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:38:91: error: cannot find type 'URLSessionDownloadDelegate' in scope
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:38:36: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:38:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:87: error: cannot find type 'URLSessionTaskDelegate' in scope
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:34: error: 'URLSessionUploadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionUploadTask:2:18: note: 'URLSessionUploadTask' has been explicitly marked unavailable here
public typealias URLSessionUploadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:52:65: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:68:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:72:69: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:82:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:82:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:140: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:182: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:115:103: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willPerformHTTPRedirection response: HTTPURLResponse, newRequest request: URLRequest, completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:121:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:121:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:157: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:126:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:99: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:152: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:179: error: cannot find type 'URLRequest' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:132:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, willBeginDelayedRequest request: URLRequest, completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:149: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:139:95: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive response: URLResponse, completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:145:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:145:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:110: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:158:159: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, willCacheResponse proposedResponse: CachedURLResponse, completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:165:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:165:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:176:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:176:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:181:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:181:58: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset fileOffset: Int64, expectedTotalBytes: Int64) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:4:35: error: cannot find type 'URLSessionDataDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:4:59: error: cannot find type 'URLSessionDownloadDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:189:19: error: cannot find type 'URLSessionTaskDelegate' in scope
let delegate: URLSessionTaskDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:190:18: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:192:20: error: cannot find type 'URLSessionTaskDelegate' in scope
init(delegate: URLSessionTaskDelegate?) {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:200:23: error: cannot find type 'URLSessionDataDelegate' in scope
let dataDelegate: URLSessionDataDelegate?
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:204:29: error: cannot find type 'URLSessionTaskDelegate' in scope
override init(delegate: URLSessionTaskDelegate?) {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:204:14: error: initializer does not override a designated initializer from its superclass
override init(delegate: URLSessionTaskDelegate?) {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:213:27: error: cannot find type 'URLSessionDownloadDelegate' in scope
let downloadDelegate: URLSessionDownloadDelegate?
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:217:20: error: cannot find type 'URLSessionDownloadDelegate' in scope
init(delegate: URLSessionDownloadDelegate?) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:227:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let task: URLSessionTask
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:283:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:283:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:285:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(task: URLSessionTask) -> TaskHandler? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:34:18: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:48:18: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:62:18: error: value of type 'URLSessionUploadTask' (aka 'AnyObject') has no member 'cancel'
task.cancel()
~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:89:36: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
if let response = task.response, error == nil {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:24:93: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, response: URLResponse, task: URLSessionTask, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:91:32: error: generic parameter 'T' could not be inferred
let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:4:24: note: 'T' declared as parameter to type 'Response'
public struct Response<T> {
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:91:32: note: explicitly specify the generic arguments to fix this issue
let response = Response(value: data, data: data, response: response, task: task, metrics: handler.metrics)
^
<Any>
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:97:69: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
if let location = handler.location, let response = task.response, error == nil {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:98:32: error: generic parameter 'T' could not be inferred
let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/Models/Response.swift:4:24: note: 'T' declared as parameter to type 'Response'
public struct Response<T> {
^
/host/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:98:32: note: explicitly specify the generic arguments to fix this issue
let response = Response(value: location, data: Data(), response: response, task: task, metrics: handler.metrics)
^
<Any>
BUILD FAILURE 5.9 linux