This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftChecksDangerPlugin with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.25.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Reference: 0.3.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/JosephDuffy/SwiftChecksDangerPlugin
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 19a6298 Update to Danger 3.12.3 and Swift 5.5
Cloned https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git
Revision (git rev-parse @):
19a6298dc882b26bd5444ea80a17d1fd97e6d8a9
SUCCESS checkout https://github.com/JosephDuffy/SwiftChecksDangerPlugin.git at 0.3.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/nerdishbynature/RequestKit.git
Fetching https://github.com/nerdishbynature/octokit.swift
Fetching https://github.com/shibapm/Logger
[1/1554] Fetching requestkit
[1555/1670] Fetching requestkit, logger
[1671/5830] Fetching requestkit, logger, octokit.swift
[2678/5714] Fetching requestkit, octokit.swift
Fetching https://github.com/danger/swift.git
Fetched https://github.com/shibapm/Logger (0.28s)
Fetched https://github.com/nerdishbynature/RequestKit.git (0.28s)
Fetching https://github.com/mxcl/Version
[1207/4160] Fetching octokit.swift
Fetched https://github.com/nerdishbynature/octokit.swift (0.40s)
[1/241] Fetching version
Fetched https://github.com/mxcl/Version (0.24s)
[1/9573] Fetching swift
Fetched https://github.com/danger/swift.git (0.47s)
Computing version for https://github.com/danger/swift.git
Computed https://github.com/danger/swift.git at 3.12.3 (0.37s)
Computing version for https://github.com/nerdishbynature/octokit.swift
Computed https://github.com/nerdishbynature/octokit.swift at 0.11.0 (1.17s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 1.2.0 (1.11s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (0.45s)
Computing version for https://github.com/nerdishbynature/RequestKit.git
Computed https://github.com/nerdishbynature/RequestKit.git at 2.3.0 (0.47s)
Creating working copy for https://github.com/danger/swift.git
Working copy of https://github.com/danger/swift.git resolved at 3.12.3
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 1.2.0
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at 2.3.0
Creating working copy for https://github.com/nerdishbynature/octokit.swift
Working copy of https://github.com/nerdishbynature/octokit.swift resolved at 0.11.0
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/15] 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:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:30: error: cannot find type 'URLRequest' in scope
    public func request() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:87: error: cannot find type 'URLRequest' in scope
    public func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:83: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                       ~~~~~~~~~~ ^~~~~~
[2/15] Emitting module DangerShellExecutor
[3/15] Compiling DangerShellExecutor ShellExecutor.swift
[4/16] Compiling Logger Logger.swift
[5/16] Emitting module Logger
[6/16] 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:30: error: cannot find type 'URLRequest' in scope
    public func request() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:87: error: cannot find type 'URLRequest' in scope
    public func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:83: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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/16] 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 {
                                         ^~~~~~~~~~
[8/16] 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:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:87: error: cannot find type 'URLRequest' in scope
    public 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:30: error: cannot find type 'URLRequest' in scope
    public 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 {
       ^         ~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/13] Emitting module DangerShellExecutor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/14] 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:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:30: error: cannot find type 'URLRequest' in scope
    public func request() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:87: error: cannot find type 'URLRequest' in scope
    public func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:83: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
                                                       ~~~~~~~~~~ ^~~~~~
[3/14] 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:74: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:87: error: cannot find type 'URLRequest' in scope
    public 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:30: error: cannot find type 'URLRequest' in scope
    public 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 {
       ^         ~~~~~~~~~~~~~~~
[4/14] 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 {
                                         ^~~~~~~~~~
[5/14] 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:30: error: cannot find type 'URLRequest' in scope
    public func request() -> URLRequest? {
                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:87: error: cannot find type 'URLRequest' in scope
    public func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
                                                                                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:83: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:79: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public 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.9 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.