Build Information
Failed to build replicate-kit-swift, reference main (1e7cea
), with Swift 5.10 for Linux on 14 Sep 2024 19:22:14 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/replicate-kit-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/igor11191708/replicate-kit-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1e7ceaf Update .spi.yml
Cloned https://github.com/igor11191708/replicate-kit-swift.git
Revision (git rev-parse @):
1e7ceaf765764c477437f5bae6ebc64285c913d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/igor11191708/replicate-kit-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/igor11191708/replicate-kit-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/The-Igor/async-http-client.git
Fetching https://github.com/The-Igor/retry-policy-service.git
[1/884] Fetching async-http-client
[885/979] Fetching async-http-client, retry-policy-service
Fetched https://github.com/The-Igor/retry-policy-service.git from cache (0.22s)
Fetched https://github.com/The-Igor/async-http-client.git from cache (0.22s)
Computing version for https://github.com/The-Igor/async-http-client.git
Computed https://github.com/The-Igor/async-http-client.git at 1.4.6 (0.38s)
Computing version for https://github.com/The-Igor/retry-policy-service.git
Computed https://github.com/The-Igor/retry-policy-service.git at 1.0.1 (0.40s)
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 1.4.6
Creating working copy for https://github.com/The-Igor/retry-policy-service.git
Working copy of https://github.com/The-Igor/retry-policy-service.git resolved at 1.0.1
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/8] Compiling retry_policy_service Strategy.swift
[6/8] Compiling retry_policy_service DispatchTimeInterval.swift
[7/8] Emitting module retry_policy_service
[8/8] Compiling retry_policy_service RetryService.swift
[10/30] Compiling async_http_client IConfiguration.swift
[11/30] Compiling async_http_client IProxy.swift
[12/30] Compiling async_http_client IResponse.swift
[13/32] Compiling async_http_client HttpMethod.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/error/Errors.swift:13:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case status(Int?, URLResponse, Data?)
^~~~~~~~~~~
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/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
^~~~~~~~~~~~~~~~~~~~~~
[14/32] Compiling async_http_client Errors.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/error/Errors.swift:13:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case status(Int?, URLResponse, Data?)
^~~~~~~~~~~
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/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
^~~~~~~~~~~~~~~~~~~~~~
[15/32] Compiling async_http_client ITaskDelegate.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/error/Errors.swift:13:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case status(Int?, URLResponse, Data?)
^~~~~~~~~~~
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/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
^~~~~~~~~~~~~~~~~~~~~~
[16/32] Compiling async_http_client IReader.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/validate/IValidate.swift:17:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[17/32] Compiling async_http_client IWriter.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/validate/IValidate.swift:17:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[18/32] Compiling async_http_client IValidate.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/validate/IValidate.swift:17:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[19/32] 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:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public 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:56: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:55: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:74: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:105:20: 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:104:32: 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:62: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:94:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
self.session = URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:111:24: 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/Direct.swift:28:34: 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/Direct.swift:52:34: 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/Direct.swift:76:34: 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/Direct.swift:99:34: 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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
[20/32] Compiling async_http_client Direct.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:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public 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:56: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:55: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:74: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:105:20: 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:104:32: 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:62: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:94:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
self.session = URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:111:24: 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/Direct.swift:28:34: 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/Direct.swift:52:34: 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/Direct.swift:76:34: 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/Direct.swift:99:34: 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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
[21/32] Compiling async_http_client Http.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:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public 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:56: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:55: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:74: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:105:20: 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:104:32: 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:62: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:94:35: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
self.session = URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:111:24: 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/Direct.swift:28:34: 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/Direct.swift:52:34: 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/Direct.swift:76:34: 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/Direct.swift:99:34: 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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
[22/32] Compiling async_http_client JsonReader.swift
[23/32] Compiling async_http_client Validate.swift
[24/32] Compiling async_http_client RequestHelper.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:30:19: 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/helper/RequestHelper.swift:66:19: 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/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session : URLSession = .shared
^~~~~~~~~~
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/helper/SendHelper.swift:20:26: 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/helper/SendHelper.swift:19:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ session : URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:26:38: 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/helper/SendHelper.swift:41:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
return try await session.data(for: request, delegate: taskDelegate)
~~~~~~~ ^~~~
[25/32] Compiling async_http_client SendHelper.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:30:19: 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/helper/RequestHelper.swift:66:19: 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/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session : URLSession = .shared
^~~~~~~~~~
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/helper/SendHelper.swift:20:26: 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/helper/SendHelper.swift:19:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ session : URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:26:38: 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/helper/SendHelper.swift:41:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
return try await session.data(for: request, delegate: taskDelegate)
~~~~~~~ ^~~~
[26/32] Compiling async_http_client UrlHelper.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:30:19: 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/helper/RequestHelper.swift:66:19: 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/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session : URLSession = .shared
^~~~~~~~~~
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/helper/SendHelper.swift:20:26: 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/helper/SendHelper.swift:19:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ session : URLSession = .shared
~^~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:26:38: 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/helper/SendHelper.swift:41:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
return try await session.data(for: request, delegate: taskDelegate)
~~~~~~~ ^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/32] Emitting module async_http_client
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/validate/IValidate.swift:17:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws
^~~~~~~~~~~
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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: error: cannot find type 'URLRequest' in scope
with request : URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:17: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ session : URLSession = .shared
^~~~~~~~~~
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/helper/SendHelper.swift:20:26: 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/helper/SendHelper.swift:19:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
_ session : URLSession = .shared
~^~~~~~
/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:30: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public 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:56: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:55: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:74: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:105:20: 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:104:32: 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/Direct.swift:28:34: 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/Direct.swift:52:34: 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/Direct.swift:76:34: 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/Direct.swift:99:34: 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:176: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:208:71: error: cannot find type 'URLRequest' in scope
fileprivate func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:208:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
fileprivate 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/error/Errors.swift:13:27: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case status(Int?, URLResponse, Data?)
^~~~~~~~~~~
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/protocol/ITaskDelegate.swift:11:32: error: cannot find type 'URLSessionTaskDelegate' in scope
public protocol ITaskDelegate: URLSessionTaskDelegate{
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:18:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias ErrorFn = @Sendable (Int, URLResponse, Data?) -> Error?
^~~~~~~~~~~
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/validate/type/Status.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws{
^~~~~~~~~~~
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/validate/type/Status.swift:83:18: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response : 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/validate/type/Status.swift:100:18: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response : 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/validate/type/Status.swift:112:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ status: Int?, _ response : URLResponse, with data : Data?
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[28/32] Compiling async_http_client Proxy+.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56: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:105:20: 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/Proxy.swift:176: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:208:71: error: cannot find type 'URLRequest' in scope
fileprivate func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:208:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
fileprivate 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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: 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/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:210:13: 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:18:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
(urlResponse as? HTTPURLResponse)?.statusCode
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[29/32] Compiling async_http_client Proxy.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56: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:105:20: 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/Proxy.swift:176: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:208:71: error: cannot find type 'URLRequest' in scope
fileprivate func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:208:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
fileprivate 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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: 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/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:210:13: 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:18:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
(urlResponse as? HTTPURLResponse)?.statusCode
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[30/32] Compiling async_http_client Response.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56: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:105:20: 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/Proxy.swift:176: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:208:71: error: cannot find type 'URLRequest' in scope
fileprivate func hasNotContentType(_ session : URLSession,_ request : URLRequest) -> Bool{
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:208:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
fileprivate 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/helper/RequestHelper.swift:26:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: error: cannot find type 'URLRequest' in scope
) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: 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/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:210:13: 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:18:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
(urlResponse as? HTTPURLResponse)?.statusCode
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[31/32] Compiling async_http_client Status.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:18:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias ErrorFn = @Sendable (Int, URLResponse, Data?) -> Error?
^~~~~~~~~~~
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/validate/type/Status.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws{
^~~~~~~~~~~
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/validate/type/Status.swift:83:18: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response : 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/validate/type/Status.swift:100:18: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response : 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/validate/type/Status.swift:112:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ status: Int?, _ response : URLResponse, with data : Data?
^~~~~~~~~~~
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/validate/type/Status.swift:56:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let status = (response as? HTTPURLResponse)?.statusCode else{ return try err(nil, response, with: data) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[32/32] Compiling async_http_client JsonWriter.swift
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:18:53: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public typealias ErrorFn = @Sendable (Int, URLResponse, Data?) -> Error?
^~~~~~~~~~~
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/validate/type/Status.swift:54:32: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func validate(_ response : URLResponse, with data : Data?) throws{
^~~~~~~~~~~
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/validate/type/Status.swift:83:18: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response : 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/validate/type/Status.swift:100:18: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response : 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/validate/type/Status.swift:112:34: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ status: Int?, _ response : URLResponse, with data : Data?
^~~~~~~~~~~
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/validate/type/Status.swift:56:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
guard let status = (response as? HTTPURLResponse)?.statusCode else{ return try err(nil, response, with: data) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux