The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftQuests with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Ast3r10n/swiftquests.git
Reference: develop
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/Ast3r10n/swiftquests
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 18d8aa0 Merge pull request #35 from Ast3r10n/release/0.4.0
Cloned https://github.com/Ast3r10n/swiftquests.git
Revision (git rev-parse @):
18d8aa018ce6d3a91c55a78f116312018703c5ac
SUCCESS checkout https://github.com/Ast3r10n/swiftquests.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/Ast3r10n/swiftquests.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling SwiftQuests Request.swift
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:20:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias Response = (data: Data?, urlResponse: URLResponse?)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:69:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let credential: URLCredential?
                           ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    public var session = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:53: error: cannot infer contextual base in reference to member 'ephemeral'
    public var session = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:77:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest!
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:102:35: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                using credential: URLCredential? = nil,
                                  ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:103:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                onSession session: URLSession? = nil,
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:183:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func perform<T: Decodable>(decoding object: T.Type) async throws -> (T, URLResponse?) {
                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:204:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ result: Result<(T, URLResponse?), Error>) throws -> Void) {
                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:231:38: error: cannot find type 'URLRequest' in scope
    private func prepare() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:129:34: error: type 'URLCredentialStorage' (aka 'AnyObject') has no member 'shared'
            URLCredentialStorage.shared.set(
            ~~~~~~~~~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:135:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let statusCode = (response.1 as? HTTPURLResponse)?.statusCode,
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:158:65: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            if let statusCode = (response as? HTTPURLResponse)?.statusCode,
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:169:34: error: type 'URLCredentialStorage' (aka 'AnyObject') has no member 'shared'
            URLCredentialStorage.shared.set(
            ~~~~~~~~~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:238:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
[4/7] Compiling SwiftQuests RequestConfigurationHolder.swift
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
    open var authenticationMethod = NSURLAuthenticationMethodDefault
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:61: error: cannot infer contextual base in reference to member 'ephemeral'
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                                           ~^~~~~~~~~
[5/7] Compiling SwiftQuests NetworkError.swift
[6/7] Compiling SwiftQuests DefaultRequestConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:34:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var defaultURLSession: URLSession { get }
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:40:26: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var protectionSpace: URLProtectionSpace {
                         ^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
    open var authenticationMethod = NSURLAuthenticationMethodDefault
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:61: error: cannot infer contextual base in reference to member 'ephemeral'
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:41:9: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        URLProtectionSpace(host: baseURL,
        ^~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/7] Emitting module SwiftQuests
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:34:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var defaultURLSession: URLSession { get }
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:40:26: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var protectionSpace: URLProtectionSpace {
                         ^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
    open var authenticationMethod = NSURLAuthenticationMethodDefault
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:61: error: cannot infer contextual base in reference to member 'ephemeral'
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:20:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias Response = (data: Data?, urlResponse: URLResponse?)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:69:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let credential: URLCredential?
                           ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    public var session = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:53: error: cannot infer contextual base in reference to member 'ephemeral'
    public var session = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:77:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest!
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:102:35: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                using credential: URLCredential? = nil,
                                  ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:103:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                onSession session: URLSession? = nil,
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:183:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func perform<T: Decodable>(decoding object: T.Type) async throws -> (T, URLResponse?) {
                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:204:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ result: Result<(T, URLResponse?), Error>) throws -> Void) {
                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:231:38: error: cannot find type 'URLRequest' in scope
    private func prepare() throws -> URLRequest {
                                     ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/5] Compiling SwiftQuests RequestConfigurationHolder.swift
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
    open var authenticationMethod = NSURLAuthenticationMethodDefault
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:61: error: cannot infer contextual base in reference to member 'ephemeral'
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                                           ~^~~~~~~~~
[3/5] Compiling SwiftQuests DefaultRequestConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:34:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var defaultURLSession: URLSession { get }
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:40:26: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var protectionSpace: URLProtectionSpace {
                         ^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
    open var authenticationMethod = NSURLAuthenticationMethodDefault
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:61: error: cannot infer contextual base in reference to member 'ephemeral'
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:41:9: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        URLProtectionSpace(host: baseURL,
        ^~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] Emitting module SwiftQuests
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:34:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var defaultURLSession: URLSession { get }
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:40:26: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    var protectionSpace: URLProtectionSpace {
                         ^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:78:37: error: cannot find 'NSURLAuthenticationMethodDefault' in scope
    open var authenticationMethod = NSURLAuthenticationMethodDefault
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:34: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/DefaultRequestConfiguration.swift:80:61: error: cannot infer contextual base in reference to member 'ephemeral'
    open var defaultURLSession = URLSession(configuration: .ephemeral)
                                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:20:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias Response = (data: Data?, urlResponse: URLResponse?)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:69:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let credential: URLCredential?
                           ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    public var session = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:53: error: cannot infer contextual base in reference to member 'ephemeral'
    public var session = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:77:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest!
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:102:35: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                using credential: URLCredential? = nil,
                                  ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:103:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                onSession session: URLSession? = nil,
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:183:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func perform<T: Decodable>(decoding object: T.Type) async throws -> (T, URLResponse?) {
                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:204:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ result: Result<(T, URLResponse?), Error>) throws -> Void) {
                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:231:38: error: cannot find type 'URLRequest' in scope
    private func prepare() throws -> URLRequest {
                                     ^~~~~~~~~~
[5/5] Compiling SwiftQuests Request.swift
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:20:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias Response = (data: Data?, urlResponse: URLResponse?)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:69:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let credential: URLCredential?
                           ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:26: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    public var session = URLSession(configuration: .ephemeral)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:74:53: error: cannot infer contextual base in reference to member 'ephemeral'
    public var session = URLSession(configuration: .ephemeral)
                                                   ~^~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:77:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest!
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:102:35: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                using credential: URLCredential? = nil,
                                  ^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:103:36: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                onSession session: URLSession? = nil,
                                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:183:84: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func perform<T: Decodable>(decoding object: T.Type) async throws -> (T, URLResponse?) {
                                                                                   ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:204:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ result: Result<(T, URLResponse?), Error>) throws -> Void) {
                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:231:38: error: cannot find type 'URLRequest' in scope
    private func prepare() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:129:34: error: type 'URLCredentialStorage' (aka 'AnyObject') has no member 'shared'
            URLCredentialStorage.shared.set(
            ~~~~~~~~~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:135:63: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let statusCode = (response.1 as? HTTPURLResponse)?.statusCode,
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:158:65: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            if let statusCode = (response as? HTTPURLResponse)?.statusCode,
                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:169:34: error: type 'URLCredentialStorage' (aka 'AnyObject') has no member 'shared'
            URLCredentialStorage.shared.set(
            ~~~~~~~~~~~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftQuests/Request.swift:238:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2