The Swift Package Index logo.Swift Package Index

Build Information

Failed to build openai-async-image-swiftui with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/The-Igor/openai-async-image-swiftui.git
Reference: v1.0.0
Cloned https://github.com/The-Igor/openai-async-image-swiftui.git into spi-builder-workspace
SUCCESS checkout https://github.com/The-Igor/openai-async-image-swiftui.git at v1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/The-Igor/async-http-client.git
[1/864] Fetching async-http-client
Fetched https://github.com/The-Igor/async-http-client.git (0.28s)
Creating working copy for https://github.com/The-Igor/async-http-client.git
Working copy of https://github.com/The-Igor/async-http-client.git resolved at main
Building for debugging...
[1/14] Compiling async_http_client IResponse.swift
[2/14] Compiling async_http_client IReader.swift
[3/14] Compiling async_http_client IWriter.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        public var getSession: URLSession {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:40:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        private let session : URLSession
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:57:23: error: cannot find type 'URLSessionDelegate' in scope
            delegate: URLSessionDelegate? = nil,
                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            sessionConfiguration: URLSessionConfiguration,
                                  ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:75:23: 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/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:63:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
            self.session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: queue)
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:95:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        self.session = URLSession.shared
                       ~~~~~~~~~~ ^~~~~~
[4/14] Compiling async_http_client Configuration.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        public var getSession: URLSession {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:40:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        private let session : URLSession
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:57:23: error: cannot find type 'URLSessionDelegate' in scope
            delegate: URLSessionDelegate? = nil,
                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            sessionConfiguration: URLSessionConfiguration,
                                  ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:75:23: 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/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:63:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
            self.session = URLSession(configuration: sessionConfiguration, delegate: delegate, delegateQueue: queue)
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:95:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
        self.session = URLSession.shared
                       ~~~~~~~~~~ ^~~~~~
[5/15] Compiling async_http_client Http.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:57:23: error: cannot find type 'URLSessionDelegate' in scope
            delegate: URLSessionDelegate? = nil,
                      ^~~~~~~~~~~~~~~~~~
[6/15] Compiling async_http_client Proxy+.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:57:23: error: cannot find type 'URLSessionDelegate' in scope
            delegate: URLSessionDelegate? = nil,
                      ^~~~~~~~~~~~~~~~~~
[7/15] Compiling async_http_client JsonReader.swift
[8/15] Compiling async_http_client JsonWriter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/15] Compiling async_http_client IConfiguration.swift
[10/15] Compiling async_http_client IProxy.swift
[11/15] Emitting module async_http_client
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:23:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        public var getSession: URLSession {
                               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:40:31: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        private let session : URLSession
                              ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:57:23: error: cannot find type 'URLSessionDelegate' in scope
            delegate: URLSessionDelegate? = nil,
                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56:35: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            sessionConfiguration: URLSessionConfiguration,
                                  ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:75:23: 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/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:129:28: error: cannot find type 'URLRequest' in scope
            with request : URLRequest,
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:156:24: error: cannot find type 'URLRequest' in scope
        with request : URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:159:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:225:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:257:63: error: cannot find type 'URLRequest' in scope
    func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
                                                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:257:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:30:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        public let urlResponse: URLResponse
                                ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:33:32: error: cannot find type 'URLRequest' in scope
        public let urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:48:27: error: cannot find type 'URLRequest' in scope
            _ urlRequest: URLRequest)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:47:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ urlRresponse: URLResponse,
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency 
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
                               ^~~~~~~~~~~~~~~~~~~~~~
[12/15] Compiling async_http_client HttpMethod.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
                               ^~~~~~~~~~~~~~~~~~~~~~
[13/15] Compiling async_http_client ITaskDelegate.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
                               ^~~~~~~~~~~~~~~~~~~~~~
[14/15] Compiling async_http_client Proxy.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:129:28: error: cannot find type 'URLRequest' in scope
            with request : URLRequest,
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:156:24: error: cannot find type 'URLRequest' in scope
        with request : URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:159:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:225:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:257:63: error: cannot find type 'URLRequest' in scope
    func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
                                                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:257:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:72:67: error: cannot infer contextual base in reference to member 'post'
            let request = try buildURLRequest(for: path, method: .post, query: query, body: body, headers: headers)
                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:96:67: error: cannot infer contextual base in reference to member 'put'
            let request = try buildURLRequest(for: path, method: .put, query: query, body: body, headers: headers)
                                                                 ~^~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:117:67: error: cannot infer contextual base in reference to member 'delete'
            let request = try buildURLRequest(for: path, method: .delete, query: query, headers: headers)
                                                                 ~^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:48:27: error: cannot find type 'URLRequest' in scope
            _ urlRequest: URLRequest)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:169:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                    return try await session.data(for: request, delegate: taskDelegate)
                                     ~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:183:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        return try await session.data(for: request, delegate: taskDelegate)
                         ~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:229:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:259:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
        session.configuration.httpAdditionalHeaders?["Content-Type"] == nil
        ~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:30:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        public let urlResponse: URLResponse
                                ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:33:32: error: cannot find type 'URLRequest' in scope
        public let urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:47:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ urlRresponse: URLResponse,
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency 
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:18:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            (urlResponse as? HTTPURLResponse)?.statusCode
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[15/15] Compiling async_http_client Response.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:129:28: error: cannot find type 'URLRequest' in scope
            with request : URLRequest,
                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:156:24: error: cannot find type 'URLRequest' in scope
        with request : URLRequest,
                       ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:159:30: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    ) async throws -> (Data, URLResponse)
                             ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:225:17: error: cannot find type 'URLRequest' in scope
    ) throws -> URLRequest {
                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:257:63: error: cannot find type 'URLRequest' in scope
    func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
                                                              ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:257:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:72:67: error: cannot infer contextual base in reference to member 'post'
            let request = try buildURLRequest(for: path, method: .post, query: query, body: body, headers: headers)
                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:96:67: error: cannot infer contextual base in reference to member 'put'
            let request = try buildURLRequest(for: path, method: .put, query: query, body: body, headers: headers)
                                                                 ~^~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:117:67: error: cannot infer contextual base in reference to member 'delete'
            let request = try buildURLRequest(for: path, method: .delete, query: query, headers: headers)
                                                                 ~^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:48:27: error: cannot find type 'URLRequest' in scope
            _ urlRequest: URLRequest)
                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:169:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
                    return try await session.data(for: request, delegate: taskDelegate)
                                     ~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:183:34: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
        return try await session.data(for: request, delegate: taskDelegate)
                         ~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:229:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:259:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
        session.configuration.httpAdditionalHeaders?["Content-Type"] == nil
        ~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:30:33: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        public let urlResponse: URLResponse
                                ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:33:32: error: cannot find type 'URLRequest' in scope
        public let urlRequest: URLRequest
                               ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:47:29: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
            _ urlRresponse: URLResponse,
                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency 
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:18:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            (urlResponse as? HTTPURLResponse)?.statusCode
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1