Build Information
Failed to build openai-async-image-swiftui, reference main (ac4601
), with Swift 5.8 for Linux on 20 Sep 2024 19:06:57 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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igor11191708/openai-async-image-swiftui.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/openai-async-image-swiftui
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ac4601f Update README.md
Cloned https://github.com/igor11191708/openai-async-image-swiftui.git
Revision (git rev-parse @):
ac4601f7d9b8630b96411f700e689a02ec5a471c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/igor11191708/openai-async-image-swiftui.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD
https://github.com/igor11191708/openai-async-image-swiftui.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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/The-Igor/async-http-client.git
Fetching https://github.com/The-Igor/retry-policy-service.git
[1/95] Fetching retry-policy-service
[96/979] Fetching retry-policy-service, async-http-client
Fetched https://github.com/The-Igor/async-http-client.git (0.20s)
Fetched https://github.com/The-Igor/retry-policy-service.git (0.20s)
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.33s)
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.38s)
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...
[1/4] Compiling retry_policy_service DispatchTimeInterval.swift
[2/4] Compiling retry_policy_service Strategy.swift
[3/4] Emitting module retry_policy_service
[4/4] Compiling retry_policy_service RetryService.swift
[7/27] Compiling async_http_client IConfiguration.swift
[8/27] Compiling async_http_client IProxy.swift
[9/27] Compiling async_http_client IResponse.swift
[10/27] 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{
^~~~~~~~~~~~~~~~~~~~~~
[11/27] 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{
^~~~~~~~~~~~~~~~~~~~~~
[12/27] 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{
^~~~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/29] 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/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/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
^
[14/29] Compiling async_http_client JsonReader.swift
[15/29] Compiling async_http_client Validate.swift
[16/29] 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,
^~~~~~~~~~
[17/29] 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,
^~~~~~~~~~
[18/29] 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,
^~~~~~~~~~
[19/29] 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
^
[20/29] 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
^
[21/29] 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
^
[22/29] 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)
~~~~~~~ ^~~~
[23/29] 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)
~~~~~~~ ^~~~
[24/29] 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)
~~~~~~~ ^~~~
[25/29] 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: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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[26/29] 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: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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[27/29] 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: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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[28/29] 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) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[29/29] 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) }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
BUILD FAILURE 5.8 linux