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 APIKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/ishkawa/APIKit.git
Reference: 5.4.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/ishkawa/APIKit
 * tag               5.4.0      -> FETCH_HEAD
HEAD is now at b839e53 Set version 5.4.0
Cloned https://github.com/ishkawa/APIKit.git
Revision (git rev-parse @):
b839e53b870104798035b279d2a6168b0a2227b1
SUCCESS checkout https://github.com/ishkawa/APIKit.git at 5.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ishkawa/APIKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/APIKitTests/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/APIKit/Info.plist
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module APIKit
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
[4/27] Compiling APIKit CallbackQueue.swift
[5/27] Compiling APIKit Combine.swift
[6/27] Compiling APIKit Concurrency.swift
[7/27] Compiling APIKit BodyParameters.swift
[8/27] Compiling APIKit Data+InputStream.swift
[9/27] Compiling APIKit FormURLEncodedBodyParameters.swift
[10/27] Compiling APIKit ResponseError.swift
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[11/27] Compiling APIKit SessionTaskError.swift
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[12/27] Compiling APIKit HTTPMethod.swift
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[13/27] Compiling APIKit Request.swift
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:97:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard 200..<300 ~= urlResponse.statusCode else {
                           ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:98:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
                                                       ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:111:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:12: error: cannot find 'CFURLCreateStringByReplacingPercentEscapes' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:70: error: cannot find type 'CFString' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                     ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:55: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                      ^
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:80: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                               ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:82:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:67: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:125:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskRequestKey) as? Request
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[14/27] Compiling APIKit URLEncodedSerialization.swift
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:97:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard 200..<300 ~= urlResponse.statusCode else {
                           ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:98:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
                                                       ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:111:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:12: error: cannot find 'CFURLCreateStringByReplacingPercentEscapes' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:70: error: cannot find type 'CFString' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                     ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:55: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                      ^
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:80: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                               ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:82:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:67: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:125:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskRequestKey) as? Request
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[15/27] Compiling APIKit Session.swift
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:97:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard 200..<300 ~= urlResponse.statusCode else {
                           ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:98:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
                                                       ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:111:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:12: error: cannot find 'CFURLCreateStringByReplacingPercentEscapes' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:70: error: cannot find type 'CFString' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                     ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:55: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                      ^
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:80: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                               ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:82:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:67: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:125:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskRequestKey) as? Request
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[16/27] Compiling APIKit DataParser.swift
[17/27] Compiling APIKit FormURLEncodedDataParser.swift
[18/27] Compiling APIKit JSONDataParser.swift
[19/27] Compiling APIKit ProtobufDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
[20/27] Compiling APIKit StringDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
[21/27] Compiling APIKit RequestError.swift
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
[22/27] Compiling APIKit SessionAdapter.swift
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:99: error: 'nil' requires a contextual type
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:29:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = urlSession.dataTask(with: URLRequest)
                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:39:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'getTasksWithCompletionHandler'
        urlSession.getTasksWithCompletionHandler { dataTasks, uploadTasks, downloadTasks in
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: error: cannot convert value of type '[URLSessionTask]' (aka 'Array<AnyObject>') to expected argument type '[any SessionTask]'
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: note: arguments to generic parameter 'Element' ('URLSessionTask' (aka 'AnyObject') and 'any SessionTask') are expected to be equal
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:77: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:50:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:100: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:58:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:63:62: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
        handler(for: task)?(buffer(for: task) as Data?, task.response, error)
                                                        ~~~~ ^~~~~~~~
[23/27] Compiling APIKit URLSessionAdapter.swift
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:99: error: 'nil' requires a contextual type
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:29:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = urlSession.dataTask(with: URLRequest)
                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:39:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'getTasksWithCompletionHandler'
        urlSession.getTasksWithCompletionHandler { dataTasks, uploadTasks, downloadTasks in
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: error: cannot convert value of type '[URLSessionTask]' (aka 'Array<AnyObject>') to expected argument type '[any SessionTask]'
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: note: arguments to generic parameter 'Element' ('URLSessionTask' (aka 'AnyObject') and 'any SessionTask') are expected to be equal
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:77: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:50:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:100: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:58:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:63:62: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
        handler(for: task)?(buffer(for: task) as Data?, task.response, error)
                                                        ~~~~ ^~~~~~~~
[24/27] Compiling APIKit Unavailable.swift
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:99: error: 'nil' requires a contextual type
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:29:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = urlSession.dataTask(with: URLRequest)
                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:39:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'getTasksWithCompletionHandler'
        urlSession.getTasksWithCompletionHandler { dataTasks, uploadTasks, downloadTasks in
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: error: cannot convert value of type '[URLSessionTask]' (aka 'Array<AnyObject>') to expected argument type '[any SessionTask]'
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: note: arguments to generic parameter 'Element' ('URLSessionTask' (aka 'AnyObject') and 'any SessionTask') are expected to be equal
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:77: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:50:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:100: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:58:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:63:62: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
        handler(for: task)?(buffer(for: task) as Data?, task.response, error)
                                                        ~~~~ ^~~~~~~~
[25/27] Compiling APIKit JSONBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:36: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:74: error: cannot find 'kUTTagClassFilenameExtension' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:28: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:64: error: cannot find 'kUTTagClassMIMEType' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                                                               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:129: error: cannot find type 'CFString' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:139: error: 'nil' requires a contextual type
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                          ^
[26/27] Compiling APIKit MultipartFormDataBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:36: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:74: error: cannot find 'kUTTagClassFilenameExtension' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:28: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:64: error: cannot find 'kUTTagClassMIMEType' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                                                               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:129: error: cannot find type 'CFString' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:139: error: 'nil' requires a contextual type
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                          ^
[27/27] Compiling APIKit ProtobufBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:36: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:74: error: cannot find 'kUTTagClassFilenameExtension' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:28: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:64: error: cannot find 'kUTTagClassMIMEType' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                                                               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:129: error: cannot find type 'CFString' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:139: error: 'nil' requires a contextual type
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                          ^
error: fatalError
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/APIKitTests/Info.plist
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/APIKit/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling APIKit ResponseError.swift
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[3/16] Compiling APIKit SessionTaskError.swift
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[4/17] Compiling APIKit StringDataParser.swift
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
[5/17] Compiling APIKit RequestError.swift
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
[6/17] Compiling APIKit SessionAdapter.swift
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:99: error: 'nil' requires a contextual type
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:29:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = urlSession.dataTask(with: URLRequest)
                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:39:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'getTasksWithCompletionHandler'
        urlSession.getTasksWithCompletionHandler { dataTasks, uploadTasks, downloadTasks in
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: error: cannot convert value of type '[URLSessionTask]' (aka 'Array<AnyObject>') to expected argument type '[any SessionTask]'
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: note: arguments to generic parameter 'Element' ('URLSessionTask' (aka 'AnyObject') and 'any SessionTask') are expected to be equal
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:77: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:50:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:100: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:58:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:63:62: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
        handler(for: task)?(buffer(for: task) as Data?, task.response, error)
                                                        ~~~~ ^~~~~~~~
[7/17] Compiling APIKit URLSessionAdapter.swift
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:24:99: error: 'nil' requires a contextual type
        self.urlSession = URLSession(configuration: configuration, delegate: self, delegateQueue: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:29:31: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
        let task = urlSession.dataTask(with: URLRequest)
                   ~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:39:20: error: value of type 'URLSession' (aka 'AnyObject') has no member 'getTasksWithCompletionHandler'
        urlSession.getTasksWithCompletionHandler { dataTasks, uploadTasks, downloadTasks in
        ~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: error: cannot convert value of type '[URLSessionTask]' (aka 'Array<AnyObject>') to expected argument type '[any SessionTask]'
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:41:21: note: arguments to generic parameter 'Element' ('URLSessionTask' (aka 'AnyObject') and 'any SessionTask') are expected to be equal
            handler(allTasks)
                    ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:46:77: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &dataTaskResponseBufferKey, buffer, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:50:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &dataTaskResponseBufferKey) as? NSMutableData
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:54:100: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey, handler as Any, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:58:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskAssociatedObjectCompletionHandlerKey) as? (Data?, URLResponse?, Error?) -> Void
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:63:62: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
        handler(for: task)?(buffer(for: task) as Data?, task.response, error)
                                                        ~~~~ ^~~~~~~~
[8/17] Compiling APIKit ProtobufBodyParameters.swift
[9/17] Compiling APIKit ProtobufDataParser.swift
[10/17] Compiling APIKit HTTPMethod.swift
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:97:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard 200..<300 ~= urlResponse.statusCode else {
                           ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:98:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
                                                       ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:111:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[11/17] Compiling APIKit Request.swift
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:97:40: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        guard 200..<300 ~= urlResponse.statusCode else {
                           ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:98:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw ResponseError.unacceptableStatusCode(urlResponse.statusCode)
                                                       ~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:111:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[12/17] Compiling APIKit URLEncodedSerialization.swift
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:12: error: cannot find 'CFURLCreateStringByReplacingPercentEscapes' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:70: error: cannot find type 'CFString' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                     ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:55: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                      ^
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:80: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                               ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:82:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:67: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:125:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskRequestKey) as? Request
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[13/17] Compiling APIKit Session.swift
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:12: error: cannot find 'CFURLCreateStringByReplacingPercentEscapes' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:70: error: cannot find type 'CFString' in scope
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                     ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:55: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                      ^
/host/spi-builder-workspace/Sources/APIKit/Serializations/URLEncodedSerialization.swift:41:80: error: 'nil' requires a contextual type
    return CFURLCreateStringByReplacingPercentEscapes(nil, string as CFString, nil) as String
                                                                               ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:82:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:9: error: cannot find 'objc_setAssociatedObject' in scope
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
        ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:121:67: error: cannot infer contextual base in reference to member 'OBJC_ASSOCIATION_RETAIN_NONATOMIC'
        objc_setAssociatedObject(task, &taskRequestKey, request, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
                                                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:125:16: error: cannot find 'objc_getAssociatedObject' in scope
        return objc_getAssociatedObject(task, &taskRequestKey) as? Request
               ^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
[14/17] Compiling APIKit Unavailable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/18] Emitting module APIKit
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Error/RequestError.swift:9:31: error: cannot find type 'URLRequest' in scope
    case unexpectedURLRequest(URLRequest)
                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Error/ResponseError.swift:7:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case nonHTTPURLResponse(URLResponse?)
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:48:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:55:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:60:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws -> Response
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:54: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:92:32: error: cannot find type 'URLRequest' in scope
    func intercept(urlRequest: URLRequest) throws -> URLRequest {
                               ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:96:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func intercept(object: Any, urlResponse: HTTPURLResponse) throws -> Any {
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:105:38: error: cannot find type 'URLRequest' in scope
    func buildURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Request.swift:142:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(data: Data, urlResponse: HTTPURLResponse) throws -> Response {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/Request.swift:150:50: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func response(from object: Any, urlResponse: HTTPURLResponse) throws {
                                                 ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:38: error: cannot find type 'URLRequest' in scope
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/Session.swift:23:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
        let configuration = URLSessionConfiguration.default
                            ~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/SessionAdapter.swift:14:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask
                                                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:3:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: SessionTask {
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:19:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open var urlSession: URLSession!
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:22:32: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(configuration: URLSessionConfiguration) {
                               ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:43: error: cannot find type 'URLRequest' in scope
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:28:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func createTask(with URLRequest: URLRequest, handler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionTask {
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:45:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setBuffer(_ buffer: NSMutableData, forTask task: URLSessionTask) {
                                                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:49:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func buffer(for task: URLSessionTask) -> NSMutableData? {
                                  ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:58: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:53:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func setHandler(_ handler: @escaping (Data?, URLResponse?, Error?) -> Void, forTask task: URLSessionTask) {
                                                                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:57:64: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func handler(for task: URLSessionTask) -> ((Data?, URLResponse?, Error?) -> Void)? {
                                                               ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:62:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
                                                      ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                    ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:67:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
                                                          ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:57: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:77: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                            ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/SessionAdapter/URLSessionAdapter.swift:17:101: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionAdapter: NSObject, SessionAdapter, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~
[16/18] Compiling APIKit JSONBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:36: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:74: error: cannot find 'kUTTagClassFilenameExtension' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:28: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:64: error: cannot find 'kUTTagClassMIMEType' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                                                               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:129: error: cannot find type 'CFString' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:139: error: 'nil' requires a contextual type
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                          ^
[17/18] Compiling APIKit MultipartFormDataBodyParameters.swift
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:78: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:32:92: error: cannot find 'arc4random' in scope
    public init(parts: [Part], boundary: String = String(format: "%08x%08x", arc4random(), arc4random()), entityType: EntityType = .data) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:36: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:74: error: cannot find 'kUTTagClassFilenameExtension' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:28: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:116:64: error: cannot find 'kUTTagClassMIMEType' in scope
                .flatMap { UTTypeCopyPreferredTagWithClass($0, kUTTagClassMIMEType)?.takeRetainedValue() }
                                                               ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:129: error: cannot find type 'CFString' in scope
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                ^~~~~~~~
/host/spi-builder-workspace/Sources/APIKit/BodyParameters/MultipartFormDataBodyParameters.swift:114:139: error: 'nil' requires a contextual type
            let detectedMimeType = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, fileURL.pathExtension as CFString, nil)
                                                                                                                                          ^
[18/18] Compiling APIKit Concurrency.swift
error: fatalError
BUILD FAILURE 5.10 linux