Build Information
Failed to build replicate-kit-swift, reference v1.0.1 (1b2583), with Swift 6.4 for Linux on 21 Sep 2026 13:29:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/replicate-kit-swift.git
Reference: v1.0.1
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/swiftuiux/replicate-kit-swift
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 1b25838 Update .gitignore
Cloned https://github.com/swiftuiux/replicate-kit-swift.git
Revision (git rev-parse @):
1b2583850bfa3f16ed611c48d61340fe5124b23d
SUCCESS checkout https://github.com/swiftuiux/replicate-kit-swift.git at v1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/swiftuiux/replicate-kit-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/The-Igor/async-http-client.git
[1/904] Fetching async-http-client
Fetched https://github.com/The-Igor/async-http-client.git (0.53s)
Computing version for https://github.com/The-Igor/async-http-client.git
Computed https://github.com/The-Igor/async-http-client.git at 1.5.0 (0.74s)
Fetching https://github.com/swiftuiux/retry-policy-service.git
[1/101] Fetching retry-policy-service
Fetched https://github.com/swiftuiux/retry-policy-service.git (0.47s)
Computing version for https://github.com/swiftuiux/retry-policy-service.git
Computed https://github.com/swiftuiux/retry-policy-service.git at 1.0.1 (0.67s)
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.5.0
Creating working copy for https://github.com/swiftuiux/retry-policy-service.git
Working copy of https://github.com/swiftuiux/retry-policy-service.git resolved at 1.0.1
Building for debugging...
[Pre-planning 1 / 126]
[35 / 57] retry-policy-service
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/validate/IValidate.swift:17:32: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m15 |[0;0m /// Validate
[0;36m16 |[0;0m /// - Parameter data: URLResponse
[0;36m17 |[0;0m func validate(_ response : [4;39mURLResponse[0;0m, with data : Data?) throws
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m }
[0;36m19 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:26:13: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m24 |[0;0m body : Data? = nil,
[0;36m25 |[0;0m headers : Http.Headers?
[0;36m26 |[0;0m ) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m //url + query
[0;36m28 |[0;0m let url = try buildURL(baseURL: baseURL, for: path, query: query)
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift:64:13: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m62 |[0;0m headers : Http.Headers?
[0;36m63 |[0;0m
[0;36m64 |[0;0m ) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m65 |[0;0m
[0;36m66 |[0;0m var request = URLRequest(url: url)
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:16:20: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m /// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
[0;36m15 |[0;0m internal func sendRetry(
[0;36m16 |[0;0m with request : [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m17 |[0;0m retry strategy : RetryService.Strategy,
[0;36m18 |[0;0m _ taskDelegate: ITaskDelegate? = nil,
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:17: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m17 |[0;0m retry strategy : RetryService.Strategy,
[0;36m18 |[0;0m _ taskDelegate: ITaskDelegate? = nil,
[0;36m19 |[0;0m _ session : [4;39mURLSession[0;0m = .shared
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m20 |[0;0m ) async throws -> (Data, URLResponse)
[0;36m21 |[0;0m {
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:20:26: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m18 |[0;0m _ taskDelegate: ITaskDelegate? = nil,
[0;36m19 |[0;0m _ session : URLSession = .shared
[0;36m20 |[0;0m ) async throws -> (Data, [4;39mURLResponse[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m {
[0;36m22 |[0;0m let service = RetryService(strategy: strategy)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:31: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m17 |[0;0m retry strategy : RetryService.Strategy,
[0;36m18 |[0;0m _ taskDelegate: ITaskDelegate? = nil,
[0;36m19 |[0;0m _ session : URLSession = .shared
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m20 |[0;0m ) async throws -> (Data, URLResponse)
[0;36m21 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift:19:31: [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m17 |[0;0m retry strategy : RetryService.Strategy,
[0;36m18 |[0;0m _ taskDelegate: ITaskDelegate? = nil,
[0;36m19 |[0;0m _ session : URLSession = [4;39m.shared[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSession' (aka 'AnyObject') has no member 'shared'[0;0m
[0;36m20 |[0;0m ) async throws -> (Data, URLResponse)
[0;36m21 |[0;0m {
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:23:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m /// Get session
[0;36m22 |[0;0m /// @unchecked Sendable
[0;36m23 |[0;0m public var getSession: [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m24 |[0;0m session
[0;36m25 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:40:30: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m /// An object that coordinates a group of related, network data transfer task
[0;36m39 |[0;0m /// @unchecked Sendable
[0;36m40 |[0;0m public let session : [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m
[0;36m42 |[0;0m // MARK: - Life circle
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:56:23: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m54 |[0;0m baseURL: URL,
[0;36m55 |[0;0m sessionConfiguration: URLSessionConfiguration,
[0;36m56 |[0;0m delegate: [4;39mURLSessionDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m57 |[0;0m delegateQueue queue: OperationQueue? = nil
[0;36m58 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:55:35: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m writer: W,
[0;36m54 |[0;0m baseURL: URL,
[0;36m55 |[0;0m sessionConfiguration: [4;39mURLSessionConfiguration[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m56 |[0;0m delegate: URLSessionDelegate? = nil,
[0;36m57 |[0;0m delegateQueue queue: OperationQueue? = nil
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:74:23: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m72 |[0;0m writer: W,
[0;36m73 |[0;0m baseURL: URL,
[0;36m74 |[0;0m session : [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m75 |[0;0m ) {
[0;36m76 |[0;0m self.reader = reader
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:105:20: [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m103 |[0;0m baseURL: URL,
[0;36m104 |[0;0m sessionConfiguration: URLSessionConfiguration,
[0;36m105 |[0;0m delegate: [4;39mURLSessionDelegate[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDelegate' in scope[0;0m
[0;36m106 |[0;0m delegateQueue queue: OperationQueue? = nil
[0;36m107 |[0;0m ) {
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift:104:32: [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m102 |[0;0m init(
[0;36m103 |[0;0m baseURL: URL,
[0;36m104 |[0;0m sessionConfiguration: [4;39mURLSessionConfiguration[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m105 |[0;0m delegate: URLSessionDelegate? = nil,
[0;36m106 |[0;0m delegateQueue queue: OperationQueue? = nil
Foundation.URLSessionConfiguration:2:18: [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionConfiguration = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionConfiguration' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Direct.swift:28:34: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m26 |[0;0m retry : UInt = 1,
[0;36m27 |[0;0m taskDelegate: ITaskDelegate? = nil
[0;36m28 |[0;0m ) async throws -> (Data, [4;39mURLResponse[0;0m){
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m let request = try buildURLRequest(for: url, query: query, headers: headers)
[0;36m30 |[0;0m let strategy = RetryService.Strategy.exponential(retry: retry)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Direct.swift:52:34: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m50 |[0;0m retry : UInt = 1,
[0;36m51 |[0;0m taskDelegate: ITaskDelegate? = nil
[0;36m52 |[0;0m ) async throws -> (Data, [4;39mURLResponse[0;0m){
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m53 |[0;0m let request = try buildURLRequest(for: url, method: .post, query: query, body: body, headers: headers)
[0;36m54 |[0;0m let strategy = RetryService.Strategy.exponential(retry: retry)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Direct.swift:76:34: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m74 |[0;0m retry : UInt = 1,
[0;36m75 |[0;0m taskDelegate: ITaskDelegate? = nil
[0;36m76 |[0;0m ) async throws -> (Data, [4;39mURLResponse[0;0m){
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m77 |[0;0m let request = try buildURLRequest(for: url, method: .put, query: query, body: body, headers: headers)
[0;36m78 |[0;0m let strategy = RetryService.Strategy.exponential(retry: retry)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Direct.swift:99:34: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m retry : UInt = 1,
[0;36m98 |[0;0m taskDelegate: ITaskDelegate? = nil
[0;36m99 |[0;0m ) async throws -> (Data, [4;39mURLResponse[0;0m){
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m100 |[0;0m let request = try buildURLRequest(for: url, method: .delete, query: query, headers: headers)
[0;36m101 |[0;0m let strategy = RetryService.Strategy.exponential(retry: retry)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:176:28: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m174 |[0;0m /// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
[0;36m175 |[0;0m public func send<T>(
[0;36m176 |[0;0m with request : [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m177 |[0;0m retry strategy : RetryService.Strategy = .exponential(),
[0;36m178 |[0;0m _ validate : [Http.Validate] = [.status(200)],
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:208:71: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m206 |[0;0m /// - request: URLRequest
[0;36m207 |[0;0m /// - Returns: true - content-type header is not empty
[0;36m208 |[0;0m fileprivate func hasNotContentType(_ session : URLSession,_ request : [4;39mURLRequest[0;0m) -> Bool{
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m209 |[0;0m request.value(forHTTPHeaderField: "Content-Type") == nil &&
[0;36m210 |[0;0m session.configuration.httpAdditionalHeaders?["Content-Type"] == nil
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift:208:48: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m206 |[0;0m /// - request: URLRequest
[0;36m207 |[0;0m /// - Returns: true - content-type header is not empty
[0;36m208 |[0;0m fileprivate func hasNotContentType(_ session : [4;39mURLSession[0;0m,_ request : URLRequest) -> Bool{
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m209 |[0;0m request.value(forHTTPHeaderField: "Content-Type") == nil &&
[0;36m210 |[0;0m session.configuration.httpAdditionalHeaders?["Content-Type"] == nil
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:30:33: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /// Response
[0;36m30 |[0;0m public let urlResponse: [4;39mURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m /// Request
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:33:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m /// Request
[0;36m33 |[0;0m public let urlRequest: [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m34 |[0;0m
[0;36m35 |[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:48:27: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m data: Data,
[0;36m47 |[0;0m _ urlRresponse: URLResponse,
[0;36m48 |[0;0m _ urlRequest: [4;39mURLRequest[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m {
[0;36m50 |[0;0m self.value = value
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift:47:29: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m45 |[0;0m value: T,
[0;36m46 |[0;0m data: Data,
[0;36m47 |[0;0m _ urlRresponse: [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m48 |[0;0m _ urlRequest: URLRequest)
[0;36m49 |[0;0m {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/error/Errors.swift:13:27: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m enum Errors : Error{
[0;36m13 |[0;0m case status(Int?, [4;39mURLResponse[0;0m, Data?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/protocol/ITaskDelegate.swift:11:32: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m // A protocol that defines methods that URL session instances call on their delegates to handle task-level events
[0;36m11 |[0;0m public protocol ITaskDelegate: [4;39mURLSessionTaskDelegate[0;0m{
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:18:53: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m public typealias Predicate = (Int) -> Bool
[0;36m17 |[0;0m
[0;36m18 |[0;0m public typealias ErrorFn = @Sendable (Int, [4;39mURLResponse[0;0m, Data?) -> Error?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m
[0;36m20 |[0;0m /// Validate by exact value
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:54:32: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m52 |[0;0m /// - response: URLResponse
[0;36m53 |[0;0m /// - data: Received data
[0;36m54 |[0;0m func validate(_ response : [4;39mURLResponse[0;0m, with data : Data?) throws{
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m55 |[0;0m
[0;36m56 |[0;0m guard let status = (response as? HTTPURLResponse)?.statusCode else{ return try err(nil, response, with: data) }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:83:18: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m81 |[0;0m @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
[0;36m82 |[0;0m public func validateStatus(
[0;36m83 |[0;0m _ response : [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m84 |[0;0m by rule : Http.Validate.Status,
[0;36m85 |[0;0m with data : Data? = nil
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:100:18: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m98 |[0;0m @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
[0;36m99 |[0;0m public func validateStatus(
[0;36m100 |[0;0m _ response : [4;39mURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m101 |[0;0m by rules : [Http.Validate.Status],
[0;36m102 |[0;0m with data : Data? = nil
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift:112:34: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m110 |[0;0m
[0;36m111 |[0;0m fileprivate func err(
[0;36m112 |[0;0m _ status: Int?, _ response : [4;39mURLResponse[0;0m, with data : Data?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m113 |[0;0m )throws{
[0;36m114 |[0;0m throw Http.Errors.status(status, response, data)
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/IConfiguration.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/IProxy.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/IResponse.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/code/IReader.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/code/IWriter.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/protocol/validate/IValidate.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/RequestHelper.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/SendHelper.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/helper/UrlHelper.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Configuration.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Direct.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Http.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy+.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Proxy.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/Response.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/enum/HttpMethod.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/error/Errors.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/proxy/http/protocol/ITaskDelegate.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/reader/JsonReader.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/Validate.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/type/Status.swift /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/writer/JsonWriter.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name async_http_client -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/async-http-client_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/Modules/async_http_client.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/Modules/async_http_client.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/async-http-client-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/async-http-client-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/async-http-client-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/async-http-client.build/Debug-linux-x86_64/async-http-client-t.build/Objects-normal/x86_64/Modules/async_http_client.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux