The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UCLKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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/tiferrei/UCLKit.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/tiferrei/UCLKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 823da01 Update LICENSE
Cloned https://github.com/tiferrei/UCLKit.git
Revision (git rev-parse @):
823da018a17d77852cf92841bef600bf7dc89657
SUCCESS checkout https://github.com/tiferrei/UCLKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/tiferrei/UCLKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/nerdishbynature/RequestKit.git
[1/1554] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git from cache (0.25s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at xcode-10.2 (eb41e20)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module RequestKit
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:9:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                       ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:54:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func post<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder:JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol { }
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: RequestKitURLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest?
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest? {
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:76: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                                ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:149:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:157:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:192:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                ~~~~~~~~~~ ^~~~~~
[5/7] Compiling RequestKit JSONPostRouter.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:9:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                       ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:54:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func post<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder:JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest?
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest? {
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:24:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if !response.wasSuccessful {
                    ~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:69:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if !response.wasSuccessful {
                    ~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[6/7] Compiling RequestKit Router.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest?
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest? {
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:76: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                                ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:149:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:157:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:192:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:130:37: error: cannot find 'URLRequest' in scope
            var mutableURLRequest = URLRequest(url: url)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:136:37: error: cannot find 'URLRequest' in scope
            var mutableURLRequest = URLRequest(url: urlComponents.url!)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:164:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if response.wasSuccessful == false {
                   ~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:199:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if response.wasSuccessful == false {
                   ~~~~~~~~ ^~~~~~~~~~~~~
[7/7] Compiling RequestKit RequestKitSession.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol { }
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: RequestKitURLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:40: error: cannot find type 'URLRequest' in scope
    public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:19:42: error: cannot find type 'URLRequest' in scope
    public func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol {
                                         ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module RequestKit
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:9:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                       ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:54:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func post<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder:JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol { }
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: RequestKitURLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest?
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest? {
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:76: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                                ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:149:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:157:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:192:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                ~~~~~~~~~~ ^~~~~~
[3/5] Compiling RequestKit RequestKitSession.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: URLSessionDataTaskProtocol { }
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: RequestKitURLSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                                                                                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:15:40: error: cannot find type 'URLRequest' in scope
    public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
                                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:19:42: error: cannot find type 'URLRequest' in scope
    public func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol {
                                         ^~~~~~~~~~
[4/5] Compiling RequestKit JSONPostRouter.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:9:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                       ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:54:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func post<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder:JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest?
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest? {
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:24:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if !response.wasSuccessful {
                    ~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:69:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if !response.wasSuccessful {
                    ~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
[5/5] Compiling RequestKit Router.swift
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
    func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
                                  ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest?
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
    func request() -> URLRequest? {
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
    func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:76: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                                ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:149:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:157:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                            ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:192:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:130:37: error: cannot find 'URLRequest' in scope
            var mutableURLRequest = URLRequest(url: url)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:136:37: error: cannot find 'URLRequest' in scope
            var mutableURLRequest = URLRequest(url: urlComponents.url!)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:164:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if response.wasSuccessful == false {
                   ~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:199:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'wasSuccessful'
                if response.wasSuccessful == false {
                   ~~~~~~~~ ^~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2