Build Information
Failed to build SwiftPresso, reference main (51394b
), with Swift 5.10 for Linux on 18 Sep 2024 10:19:46 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.10-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
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.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/Livsy90/ApricotNavigation.git
Fetching https://github.com/Livsy90/SkavokNetworking.git
[2/25] Fetching apricotnavigation
[6/71] Fetching apricotnavigation, skavoknetworking
Fetched https://github.com/Livsy90/SkavokNetworking.git from cache (0.18s)
Fetched https://github.com/Livsy90/ApricotNavigation.git from cache (0.18s)
Computing version for https://github.com/Livsy90/ApricotNavigation.git
Computed https://github.com/Livsy90/ApricotNavigation.git at 1.0.0 (0.32s)
Computing version for https://github.com/Livsy90/SkavokNetworking.git
Computed https://github.com/Livsy90/SkavokNetworking.git at 1.0.2 (0.34s)
Creating working copy for https://github.com/Livsy90/SkavokNetworking.git
Working copy of https://github.com/Livsy90/SkavokNetworking.git resolved at 1.0.2
Creating working copy for https://github.com/Livsy90/ApricotNavigation.git
Working copy of https://github.com/Livsy90/ApricotNavigation.git resolved at 1.0.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] 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)
[6/15] Emitting module ApricotNavigation
/host/spi-builder-workspace/.build/checkouts/ApricotNavigation/Sources/ApricotNavigation/Router/Router.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/15] 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
^
[8/15] 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
~^~~~~~~
[9/15] Compiling SkavokNetworking Request.swift
error: fatalError
/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.10 linux