The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Endpoints, reference develop (c3b213), with Swift 5.10 for Linux on 5 Feb 2025 14:52:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/diamirio/Endpoints.git
Reference: develop
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/diamirio/Endpoints
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at c3b2131 Update V3_0_0.md
Cloned https://github.com/diamirio/Endpoints.git
Revision (git rev-parse @):
c3b21312ef15157dadbf58fe020b873568a37209
SUCCESS checkout https://github.com/diamirio/Endpoints.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/diamirio/Endpoints.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/nicklockwood/SwiftFormat
[1/46482] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (24.75s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.5 (1.17s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.5
[1/1] Compiling plugin SwiftFormatPlugin
Building for debugging...
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/39] Compiling Endpoints JSONParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        try parse(data: data, encoding: response.stringEncoding)
                                        ~~~~~~~~ ^~~~~~~~~~~~~~
[5/39] Compiling Endpoints NoContentParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        try parse(data: data, encoding: response.stringEncoding)
                                        ~~~~~~~~ ^~~~~~~~~~~~~~
[6/39] Compiling Endpoints ResponseParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        try parse(data: data, encoding: response.stringEncoding)
                                        ~~~~~~~~ ^~~~~~~~~~~~~~
[7/39] Compiling Endpoints StringConvertibleParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        try parse(data: data, encoding: response.stringEncoding)
                                        ~~~~~~~~ ^~~~~~~~~~~~~~
[8/39] Compiling Endpoints StringParser.swift
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:15:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        try parse(data: data, encoding: response.stringEncoding)
                                        ~~~~~~~~ ^~~~~~~~~~~~~~
[9/44] Compiling Endpoints JSONEncodedBody.swift
[10/44] Compiling Endpoints MultipartBody.swift
[11/44] Compiling Endpoints MultipartBodyPart.swift
[12/44] Compiling Endpoints CodableString.swift
[13/44] Compiling Endpoints Encodable+toJSON.swift
[14/44] Compiling Endpoints AnyCall.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ValidationBlock = (HTTPURLResponse?, Data?) throws -> Void
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestEncodable {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
[15/44] Compiling Endpoints BasicAuthorization.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ValidationBlock = (HTTPURLResponse?, Data?) throws -> Void
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestEncodable {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
[16/44] Compiling Endpoints HTTPURLResponse+Encoding.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ValidationBlock = (HTTPURLResponse?, Data?) throws -> Void
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestEncodable {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
[17/44] Compiling Endpoints URL+URLRequestEncodable.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ValidationBlock = (HTTPURLResponse?, Data?) throws -> Void
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestEncodable {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
[18/44] Compiling Endpoints URLRequest+Extensions.swift
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ValidationBlock = (HTTPURLResponse?, Data?) throws -> Void
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestEncodable {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
[19/44] Compiling Endpoints URLRequestEncodable.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        response as? HTTPURLResponse
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response as? HTTPURLResponse
                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(error: Error, response: HTTPURLResponse?) {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[20/44] Compiling Endpoints URLSessionTaskResult.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        response as? HTTPURLResponse
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response as? HTTPURLResponse
                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(error: Error, response: HTTPURLResponse?) {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[21/44] Compiling Endpoints ContinuationError.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        response as? HTTPURLResponse
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response as? HTTPURLResponse
                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(error: Error, response: HTTPURLResponse?) {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[22/44] Compiling Endpoints EndpointsError.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        response as? HTTPURLResponse
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response as? HTTPURLResponse
                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(error: Error, response: HTTPURLResponse?) {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[23/44] Compiling Endpoints EndpointsParsingError.swift
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:18: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
        response as? HTTPURLResponse
        ~~~~~~~~~^~~~~~~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:23:22: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response as? HTTPURLResponse
                     ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(error: Error, response: HTTPURLResponse?) {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[24/44] Compiling Endpoints EndpointsSessionError.swift
/host/spi-builder-workspace/Sources/Error/StatusCodeError.swift:16:39: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
            reason ?? HTTPURLResponse.localizedString(forStatusCode: code)
                      ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[25/44] Compiling Endpoints StatusCodeError.swift
/host/spi-builder-workspace/Sources/Error/StatusCodeError.swift:16:39: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
            reason ?? HTTPURLResponse.localizedString(forStatusCode: code)
                      ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[26/44] Compiling Endpoints DataParser.swift
/host/spi-builder-workspace/Sources/Error/StatusCodeError.swift:16:39: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
            reason ?? HTTPURLResponse.localizedString(forStatusCode: code)
                      ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[27/44] Compiling Endpoints DataResponseParser.swift
/host/spi-builder-workspace/Sources/Error/StatusCodeError.swift:16:39: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
            reason ?? HTTPURLResponse.localizedString(forStatusCode: code)
                      ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[28/44] Compiling Endpoints DictionaryParser.swift
/host/spi-builder-workspace/Sources/Error/StatusCodeError.swift:16:39: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
            reason ?? HTTPURLResponse.localizedString(forStatusCode: code)
                      ~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
[29/44] Compiling Endpoints Call.swift
/host/spi-builder-workspace/Sources/Core/Logger.swift:9:62: warning: unrecognized platform name 'visionOS'
    @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *)
                                                             ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response _: HTTPURLResponse?,
                    ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        var description = "\(resp.statusCode)\n"
                             ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        httpResponse?.allHeaderFields.forEach {
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        if let data, let string = String(data: data, encoding: resp.stringEncoding) {
                                                               ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[30/44] Compiling Endpoints Debugging.swift
/host/spi-builder-workspace/Sources/Core/Logger.swift:9:62: warning: unrecognized platform name 'visionOS'
    @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *)
                                                             ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response _: HTTPURLResponse?,
                    ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        var description = "\(resp.statusCode)\n"
                             ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        httpResponse?.allHeaderFields.forEach {
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        if let data, let string = String(data: data, encoding: resp.stringEncoding) {
                                                               ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[31/44] Compiling Endpoints HTTPMethod.swift
/host/spi-builder-workspace/Sources/Core/Logger.swift:9:62: warning: unrecognized platform name 'visionOS'
    @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *)
                                                             ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response _: HTTPURLResponse?,
                    ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        var description = "\(resp.statusCode)\n"
                             ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        httpResponse?.allHeaderFields.forEach {
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        if let data, let string = String(data: data, encoding: resp.stringEncoding) {
                                                               ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[32/44] Compiling Endpoints Logger.swift
/host/spi-builder-workspace/Sources/Core/Logger.swift:9:62: warning: unrecognized platform name 'visionOS'
    @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *)
                                                             ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response _: HTTPURLResponse?,
                    ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        var description = "\(resp.statusCode)\n"
                             ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        httpResponse?.allHeaderFields.forEach {
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        if let data, let string = String(data: data, encoding: resp.stringEncoding) {
                                                               ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[33/44] Compiling Endpoints Request.swift
/host/spi-builder-workspace/Sources/Core/Logger.swift:9:62: warning: unrecognized platform name 'visionOS'
    @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *)
                                                             ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response _: HTTPURLResponse?,
                    ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:51:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        var description = "\(resp.statusCode)\n"
                             ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:53:23: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
        httpResponse?.allHeaderFields.forEach {
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Debugging.swift:57:69: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
        if let data, let string = String(data: data, encoding: resp.stringEncoding) {
                                                               ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:39:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: url)
                         ^~~~~~~~~~
[34/44] Compiling Endpoints ResponseValidator.swift
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:23:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:43:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let code = response?.statusCode,
                      ~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:14: error: only protocols can inherit from 'AnyObject'
public class FakeHTTPURLResponse: HTTPURLResponse {
             ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class FakeHTTPURLResponse: HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:12:9: error: 'super' members cannot be referenced in a root class
        super.init(
        ^
/host/spi-builder-workspace/Sources/Testing/FakeResultProvider.swift:4:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data<C: Call>(for call: C) async throws -> (URLResponse, Data)
                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:19:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:39: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let response = response as? HTTPURLResponse else {
                                      ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:24:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:40:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
            message += "\(response.debugDescription)\n"
                          ~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:41:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
            message += "\(data.debugDescription(encoding: response.stringEncoding))"
                                                          ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
[35/44] Compiling Endpoints StatusCodeValidator.swift
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:23:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:43:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let code = response?.statusCode,
                      ~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:14: error: only protocols can inherit from 'AnyObject'
public class FakeHTTPURLResponse: HTTPURLResponse {
             ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class FakeHTTPURLResponse: HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:12:9: error: 'super' members cannot be referenced in a root class
        super.init(
        ^
/host/spi-builder-workspace/Sources/Testing/FakeResultProvider.swift:4:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data<C: Call>(for call: C) async throws -> (URLResponse, Data)
                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:19:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:39: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let response = response as? HTTPURLResponse else {
                                      ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:24:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:40:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
            message += "\(response.debugDescription)\n"
                          ~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:41:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
            message += "\(data.debugDescription(encoding: response.stringEncoding))"
                                                          ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
[36/44] Compiling Endpoints FakeHTTPURLResponse.swift
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:23:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:43:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let code = response?.statusCode,
                      ~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:14: error: only protocols can inherit from 'AnyObject'
public class FakeHTTPURLResponse: HTTPURLResponse {
             ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class FakeHTTPURLResponse: HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:12:9: error: 'super' members cannot be referenced in a root class
        super.init(
        ^
/host/spi-builder-workspace/Sources/Testing/FakeResultProvider.swift:4:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data<C: Call>(for call: C) async throws -> (URLResponse, Data)
                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:19:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:39: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let response = response as? HTTPURLResponse else {
                                      ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:24:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:40:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
            message += "\(response.debugDescription)\n"
                          ~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:41:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
            message += "\(data.debugDescription(encoding: response.stringEncoding))"
                                                          ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
[37/44] Compiling Endpoints FakeResultProvider.swift
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:23:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:43:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let code = response?.statusCode,
                      ~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:14: error: only protocols can inherit from 'AnyObject'
public class FakeHTTPURLResponse: HTTPURLResponse {
             ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class FakeHTTPURLResponse: HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:12:9: error: 'super' members cannot be referenced in a root class
        super.init(
        ^
/host/spi-builder-workspace/Sources/Testing/FakeResultProvider.swift:4:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data<C: Call>(for call: C) async throws -> (URLResponse, Data)
                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:19:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:39: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let response = response as? HTTPURLResponse else {
                                      ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:24:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:40:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
            message += "\(response.debugDescription)\n"
                          ~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:41:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
            message += "\(data.debugDescription(encoding: response.stringEncoding))"
                                                          ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
[38/44] Compiling Endpoints FakeSession.swift
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:23:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:43:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if let code = response?.statusCode,
                      ~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:14: error: only protocols can inherit from 'AnyObject'
public class FakeHTTPURLResponse: HTTPURLResponse {
             ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class FakeHTTPURLResponse: HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:12:9: error: 'super' members cannot be referenced in a root class
        super.init(
        ^
/host/spi-builder-workspace/Sources/Testing/FakeResultProvider.swift:4:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data<C: Call>(for call: C) async throws -> (URLResponse, Data)
                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:19:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:39: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let response = response as? HTTPURLResponse else {
                                      ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:22:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:24:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:26:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:40:36: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'debugDescription'
            message += "\(response.debugDescription)\n"
                          ~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:41:68: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'stringEncoding'
            message += "\(data.debugDescription(encoding: response.stringEncoding))"
                                                          ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:44:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:46:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/44] Emitting module Endpoints
/host/spi-builder-workspace/Sources/Core/Logger.swift:9:62: warning: unrecognized platform name 'visionOS'
    @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *)
                                                             ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Client.swift:10:51: error: cannot find type 'URLRequest' in scope
    func encode<C: Call>(call: C) async throws -> URLRequest
                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var urlSession: URLSession
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        using urlSession: URLSession = URLSession(
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:76:29: error: cannot find type 'URLRequest' in scope
        newRequest request: URLRequest,
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
        completionHandler: @escaping (URLRequest?) -> Void
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        willPerformHTTPRedirection response: HTTPURLResponse,
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:8:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ValidationBlock = (HTTPURLResponse?, Data?) throws -> Void
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/AnyCall.swift:23:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Convenience/HTTPURLResponse+Encoding.swift:5:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URL+URLRequestEncodable.swift:6:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:5:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestEncodable {
          ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Convenience/URLRequest+Extensions.swift:11:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Call.swift:51:21: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response _: HTTPURLResponse?,
                    ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/Debugging.swift:70:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
public extension HTTPURLResponse {
       ^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/Request.swift:38:28: error: cannot find type 'URLRequest' in scope
    public var urlRequest: URLRequest {
                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:11:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var response: URLResponse?
                         ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:15:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(response: URLResponse? = nil, data: Data? = nil, error: Error? = nil) {
                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Core/URLSessionTaskResult.swift:22:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var httpResponse: HTTPURLResponse? {
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:9:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public let response: HTTPURLResponse?
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Error/EndpointsError.swift:11:41: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(error: Error, response: HTTPURLResponse?) {
                                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/NoContentParser.swift:12:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public func parse(response _: HTTPURLResponse, data _: Data) throws -> OutputType {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:8:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Parsing/ResponseParser/ResponseParser.swift:14:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func parse(response: HTTPURLResponse, data: Data) throws -> OutputType {
                         ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/ResponseValidator.swift:12:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/ResponseValidator/StatusCodeValidator.swift:15:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:14: error: only protocols can inherit from 'AnyObject'
public class FakeHTTPURLResponse: HTTPURLResponse {
             ^
/host/spi-builder-workspace/Sources/Testing/FakeHTTPURLResponse.swift:5:35: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public class FakeHTTPURLResponse: HTTPURLResponse {
                                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeResultProvider.swift:4:54: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func data<C: Call>(for call: C) async throws -> (URLResponse, Data)
                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Testing/FakeSession.swift:19:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
[40/44] Compiling Endpoints AnyClient.swift
/host/spi-builder-workspace/Sources/Async/Session.swift:33:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:52:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:81:69: warning: unrecognized platform name 'visionOS'
        if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                    ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Client.swift:10:51: error: cannot find type 'URLRequest' in scope
    func encode<C: Call>(call: C) async throws -> URLRequest
                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var urlSession: URLSession
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        using urlSession: URLSession = URLSession(
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:76:29: error: cannot find type 'URLRequest' in scope
        newRequest request: URLRequest,
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
        completionHandler: @escaping (URLRequest?) -> Void
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        willPerformHTTPRedirection response: HTTPURLResponse,
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await urlSession.data(for: urlRequest)
                                         ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
                         ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:13: error: cannot find 'Logger' in scope
            Logger.default.debug("\(message, privacy: .private)")
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
            Logger.default.debug("\(message, privacy: .private)")
                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
            Logger.default.debug("\(message, privacy: .private)")
                                                      ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
            os_log("%s", log: .default, type: .debug, message)
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
            os_log("%s", log: .default, type: .debug, message)
                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
            os_log("%s", log: .default, type: .debug, message)
                                              ~^~~~~
[41/44] Compiling Endpoints Client.swift
/host/spi-builder-workspace/Sources/Async/Session.swift:33:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:52:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:81:69: warning: unrecognized platform name 'visionOS'
        if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                    ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Client.swift:10:51: error: cannot find type 'URLRequest' in scope
    func encode<C: Call>(call: C) async throws -> URLRequest
                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var urlSession: URLSession
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        using urlSession: URLSession = URLSession(
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:76:29: error: cannot find type 'URLRequest' in scope
        newRequest request: URLRequest,
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
        completionHandler: @escaping (URLRequest?) -> Void
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        willPerformHTTPRedirection response: HTTPURLResponse,
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await urlSession.data(for: urlRequest)
                                         ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
                         ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:13: error: cannot find 'Logger' in scope
            Logger.default.debug("\(message, privacy: .private)")
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
            Logger.default.debug("\(message, privacy: .private)")
                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
            Logger.default.debug("\(message, privacy: .private)")
                                                      ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
            os_log("%s", log: .default, type: .debug, message)
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
            os_log("%s", log: .default, type: .debug, message)
                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
            os_log("%s", log: .default, type: .debug, message)
                                              ~^~~~~
[42/44] Compiling Endpoints Session.swift
/host/spi-builder-workspace/Sources/Async/Session.swift:33:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:52:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:81:69: warning: unrecognized platform name 'visionOS'
        if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                    ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Client.swift:10:51: error: cannot find type 'URLRequest' in scope
    func encode<C: Call>(call: C) async throws -> URLRequest
                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var urlSession: URLSession
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        using urlSession: URLSession = URLSession(
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:76:29: error: cannot find type 'URLRequest' in scope
        newRequest request: URLRequest,
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
        completionHandler: @escaping (URLRequest?) -> Void
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        willPerformHTTPRedirection response: HTTPURLResponse,
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await urlSession.data(for: urlRequest)
                                         ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
                         ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:13: error: cannot find 'Logger' in scope
            Logger.default.debug("\(message, privacy: .private)")
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
            Logger.default.debug("\(message, privacy: .private)")
                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
            Logger.default.debug("\(message, privacy: .private)")
                                                      ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
            os_log("%s", log: .default, type: .debug, message)
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
            os_log("%s", log: .default, type: .debug, message)
                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
            os_log("%s", log: .default, type: .debug, message)
                                              ~^~~~~
[43/44] Compiling Endpoints Body.swift
/host/spi-builder-workspace/Sources/Async/Session.swift:33:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:52:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:81:69: warning: unrecognized platform name 'visionOS'
        if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                    ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Client.swift:10:51: error: cannot find type 'URLRequest' in scope
    func encode<C: Call>(call: C) async throws -> URLRequest
                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var urlSession: URLSession
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        using urlSession: URLSession = URLSession(
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:76:29: error: cannot find type 'URLRequest' in scope
        newRequest request: URLRequest,
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
        completionHandler: @escaping (URLRequest?) -> Void
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        willPerformHTTPRedirection response: HTTPURLResponse,
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await urlSession.data(for: urlRequest)
                                         ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
                         ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:13: error: cannot find 'Logger' in scope
            Logger.default.debug("\(message, privacy: .private)")
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
            Logger.default.debug("\(message, privacy: .private)")
                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
            Logger.default.debug("\(message, privacy: .private)")
                                                      ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
            os_log("%s", log: .default, type: .debug, message)
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
            os_log("%s", log: .default, type: .debug, message)
                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
            os_log("%s", log: .default, type: .debug, message)
                                              ~^~~~~
[44/44] Compiling Endpoints FormEncodedBody.swift
/host/spi-builder-workspace/Sources/Async/Session.swift:33:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:52:73: warning: unrecognized platform name 'visionOS'
            if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                        ^
/host/spi-builder-workspace/Sources/Async/Session.swift:81:69: warning: unrecognized platform name 'visionOS'
        if #available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, visionOS 1.0, *) {
                                                                    ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:19:23: error: cannot find type 'URLRequest' in scope
    ) async throws -> URLRequest {
                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:30:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/AnyClient.swift:42:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Client.swift:10:51: error: cannot find type 'URLRequest' in scope
    func encode<C: Call>(call: C) async throws -> URLRequest
                                                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Core/URLRequestEncodable.swift:10:21: error: cannot find type 'URLRequest' in scope
    var urlRequest: URLRequest { get }
                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Client.swift:17:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        response: HTTPURLResponse?,
                  ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:11:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public var urlSession: URLSession
                           ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:27: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        using urlSession: URLSession = URLSession(
                          ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:16:40: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        using urlSession: URLSession = URLSession(
                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:17:29: error: cannot infer contextual base in reference to member 'default'
            configuration: .default,
                           ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:19:28: error: 'nil' requires a contextual type
            delegateQueue: nil
                           ^
/host/spi-builder-workspace/Sources/Async/Session.swift:27:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    open func dataTask<C: Call>(for call: C) async throws -> (C.Parser.OutputType, HTTPURLResponse) {
                                                                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:76:29: error: cannot find type 'URLRequest' in scope
        newRequest request: URLRequest,
                            ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:77:39: error: cannot find type 'URLRequest' in scope
        completionHandler: @escaping (URLRequest?) -> Void
                                      ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:73:20: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        _ session: URLSession,
                   ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:74:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        task: URLSessionTask,
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:75:46: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        willPerformHTTPRedirection response: HTTPURLResponse,
                                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Async/Session.swift:71:51: error: cannot find type 'URLSessionTaskDelegate' in scope
public class URLSessionDelegateHandler: NSObject, URLSessionTaskDelegate {
                                                  ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:30:53: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        let (data, response) = try await urlSession.data(for: urlRequest)
                                         ~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:34:17: error: cannot find 'Logger' in scope
                Logger.default.debug("no response.")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:17: error: cannot find 'os_log' in scope
                os_log("no response.", log: .default, type: .debug)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:46: error: cannot infer contextual base in reference to member 'default'
                os_log("no response.", log: .default, type: .debug)
                                            ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:36:62: error: cannot infer contextual base in reference to member 'debug'
                os_log("no response.", log: .default, type: .debug)
                                                            ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:17: error: cannot find 'Logger' in scope
                Logger.default.debug("\(message, privacy: .private)")
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: extra argument 'privacy' in call
                Logger.default.debug("\(message, privacy: .private)")
                                       ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:53:60: error: cannot infer contextual base in reference to member 'private'
                Logger.default.debug("\(message, privacy: .private)")
                                                          ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:17: error: cannot find 'os_log' in scope
                os_log("%s", log: .default, type: .debug, message)
                ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:36: error: cannot infer contextual base in reference to member 'default'
                os_log("%s", log: .default, type: .debug, message)
                                  ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:55:52: error: cannot infer contextual base in reference to member 'debug'
                os_log("%s", log: .default, type: .debug, message)
                                                  ~^~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:79:35: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        let message = "\(response.url?.absoluteString ?? "") -> redirected to -> \(request.url?.absoluteString ?? "")"
                         ~~~~~~~~ ^~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:13: error: cannot find 'Logger' in scope
            Logger.default.debug("\(message, privacy: .private)")
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: extra argument 'privacy' in call
            Logger.default.debug("\(message, privacy: .private)")
                                   ~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:82:56: error: cannot infer contextual base in reference to member 'private'
            Logger.default.debug("\(message, privacy: .private)")
                                                      ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:13: error: cannot find 'os_log' in scope
            os_log("%s", log: .default, type: .debug, message)
            ^~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:32: error: cannot infer contextual base in reference to member 'default'
            os_log("%s", log: .default, type: .debug, message)
                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Async/Session.swift:84:48: error: cannot infer contextual base in reference to member 'debug'
            os_log("%s", log: .default, type: .debug, message)
                                              ~^~~~~
error: fatalError
BUILD FAILURE 5.10 linux