Build Information
Failed to build Coinpaprika, reference master (824311), with Swift 6.4 for Linux on 16 Sep 2026 14:32:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/coinpaprika/coinpaprika-api-swift-client.git
Reference: master
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/coinpaprika/coinpaprika-api-swift-client
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 8243118 Update the stale coin count in the podspec description (#23)
Cloned https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Revision (git rev-parse @):
82431181a136a2df1ffa3f26dfaaa52b1c4ef139
SUCCESS checkout https://github.com/coinpaprika/coinpaprika-api-swift-client.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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
Building for debugging...
[Pre-planning 1 / 182]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:43:59: [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m41 |[0;0m /// Creates a new session. In most cases use `CoinpaprikaSession.shared` instead.
[0;36m42 |[0;0m /// - Parameter configuration: URLSession configuration; defaults to `.default`.
[0;36m43 |[0;0m public init(configuration: URLSessionConfiguration = .default) {
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type '_' expected to be instance of class or class-constrained type[0;0m
[0;36m44 |[0;0m let delegate = RedirectRewriter()
[0;36m45 |[0;0m self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:43:59: [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m41 |[0;0m /// Creates a new session. In most cases use `CoinpaprikaSession.shared` instead.
[0;36m42 |[0;0m /// - Parameter configuration: URLSession configuration; defaults to `.default`.
[0;36m43 |[0;0m public init(configuration: URLSessionConfiguration = [4;39m.default[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mtype 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'[0;0m
[0;36m44 |[0;0m let delegate = RedirectRewriter()
[0;36m45 |[0;0m self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:39:26: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m37 |[0;0m public static let shared = CoinpaprikaSession()
[0;36m38 |[0;0m
[0;36m39 |[0;0m private 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;36m40 |[0;0m
[0;36m41 |[0;0m /// Creates a new session. In most cases use `CoinpaprikaSession.shared` instead.
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/Sources/Networking/CoinpaprikaSession.swift:43: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;36m41 |[0;0m /// Creates a new session. In most cases use `CoinpaprikaSession.shared` instead.
[0;36m42 |[0;0m /// - Parameter configuration: URLSession configuration; defaults to `.default`.
[0;36m43 |[0;0m public init(configuration: [4;39mURLSessionConfiguration[0;0m = .default) {
[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;36m44 |[0;0m let delegate = RedirectRewriter()
[0;36m45 |[0;0m self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: 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/Sources/Networking/CoinpaprikaSession.swift:48:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m
[0;36m48 |[0;0m public func loadData(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m let task = session.dataTask(with: request) { data, response, error in
[0;36m50 |[0;0m completionHandler(data, response, error)
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:48:89: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m }
[0;36m47 |[0;0m
[0;36m48 |[0;0m public func loadData(with request: URLRequest, completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void) {
[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;36m49 |[0;0m let task = session.dataTask(with: request) { data, response, error in
[0;36m50 |[0;0m completionHandler(data, response, error)
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/Sources/Networking/NetworkSession.swift:11:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m public protocol NetworkSession {
[0;36m11 |[0;0m func loadData(with request: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void)
[0;36m13 |[0;0m }
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:69:41: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m67 |[0;0m /// crosses to a non-coinpaprika host mid-chain short-circuits the
[0;36m68 |[0;0m /// `isCoinpaprikaHost` guard and headers stay stripped.
[0;36m69 |[0;0m final class RedirectRewriter: NSObject, [4;39mURLSessionTaskDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m70 |[0;0m
[0;36m71 |[0;0m /// Headers re-attached from the original request when the redirect target
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:82:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m80 |[0;0m task: URLSessionTask,
[0;36m81 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m82 |[0;0m newRequest: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m83 |[0;0m completionHandler: @escaping (URLRequest?) -> Void) {
[0;36m84 |[0;0m completionHandler(rewrite(newRequest, originalRequest: task.originalRequest))
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:83:51: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m81 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m82 |[0;0m newRequest: URLRequest,
[0;36m83 |[0;0m completionHandler: @escaping ([4;39mURLRequest[0;0m?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m84 |[0;0m completionHandler(rewrite(newRequest, originalRequest: task.originalRequest))
[0;36m85 |[0;0m }
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:79: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;36m77 |[0;0m static let preservedHeaders = ["Authorization", "Accept", "User-Agent"]
[0;36m78 |[0;0m
[0;36m79 |[0;0m func urlSession(_ 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;36m80 |[0;0m task: URLSessionTask,
[0;36m81 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
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/Sources/Networking/CoinpaprikaSession.swift:80:27: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m78 |[0;0m
[0;36m79 |[0;0m func urlSession(_ session: URLSession,
[0;36m80 |[0;0m task: [4;39mURLSessionTask[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m81 |[0;0m willPerformHTTPRedirection response: HTTPURLResponse,
[0;36m82 |[0;0m newRequest: URLRequest,
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' 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 URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:81:58: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m func urlSession(_ session: URLSession,
[0;36m80 |[0;0m task: URLSessionTask,
[0;36m81 |[0;0m willPerformHTTPRedirection response: [4;39mHTTPURLResponse[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m82 |[0;0m newRequest: URLRequest,
[0;36m83 |[0;0m completionHandler: @escaping (URLRequest?) -> Void) {
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:97:80: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m95 |[0;0m ///
[0;36m96 |[0;0m /// Non-coinpaprika hosts pass through unchanged.
[0;36m97 |[0;0m func rewrite(_ request: URLRequest, originalRequest: URLRequest? = nil) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m98 |[0;0m var rewritten = request
[0;36m99 |[0;0m
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:97:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m95 |[0;0m ///
[0;36m96 |[0;0m /// Non-coinpaprika hosts pass through unchanged.
[0;36m97 |[0;0m func rewrite(_ request: [4;39mURLRequest[0;0m, originalRequest: URLRequest? = nil) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m98 |[0;0m var rewritten = request
[0;36m99 |[0;0m
/host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift:97:58: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m95 |[0;0m ///
[0;36m96 |[0;0m /// Non-coinpaprika hosts pass through unchanged.
[0;36m97 |[0;0m func rewrite(_ request: URLRequest, originalRequest: [4;39mURLRequest[0;0m? = nil) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m98 |[0;0m var rewritten = request
[0;36m99 |[0;0m
/host/spi-builder-workspace/Sources/Networking/NetworkSession.swift:12:56: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m10 |[0;0m public protocol NetworkSession {
[0;36m11 |[0;0m func loadData(with request: URLRequest,
[0;36m12 |[0;0m completionHandler: @escaping (Data?, [4;39mURLResponse[0;0m?, Error?) -> Void)
[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;36m13 |[0;0m }
[0;36m14 |[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/Sources/Networking/NetworkSession.swift:15:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m13 |[0;0m }
[0;36m14 |[0;0m
[0;36m15 |[0;0m extension [4;39mURLSession[0;0m: NetworkSession {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m16 |[0;0m public func loadData(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
[0;36m17 |[0;0m let task = dataTask(with: request) { (data, response, error) in
/host/spi-builder-workspace/Sources/Networking/Request.swift:13:62: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m public protocol Requestable {
[0;36m12 |[0;0m associatedtype Model: Decodable
[0;36m13 |[0;0m func perform(responseQueue: DispatchQueue?, cachePolicy: [4;39mURLRequest[0;0m.CachePolicy?, session: NetworkSession, _ callback: @escaping (Result<Model, Error>) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m }
[0;36m15 |[0;0m
/host/spi-builder-workspace/Sources/Networking/Request.swift:51:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m49 |[0;0m case bearer(token: String)
[0;36m50 |[0;0m case custom(headers: [String: String])
[0;36m51 |[0;0m case dynamic(signer: (inout [4;39mURLRequest[0;0m) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m52 |[0;0m }
[0;36m53 |[0;0m
/host/spi-builder-workspace/Sources/Networking/Request.swift:56:49: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m54 |[0;0m private let authorisation: AuthorisationMethod
[0;36m55 |[0;0m
[0;36m56 |[0;0m public typealias ErrorParser = (_ response: [4;39mHTTPURLResponse[0;0m, _ data: Data) -> Error?
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m57 |[0;0m private let errorParser: ErrorParser
[0;36m58 |[0;0m
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/Networking/Request.swift:83:75: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m81 |[0;0m /// - cachePolicy: cache policy that should be used in this request
[0;36m82 |[0;0m /// - callback: Completion handler triggered on request success & failure
[0;36m83 |[0;0m public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: [4;39mURLRequest[0;0m.CachePolicy? = nil, session: NetworkSession = CoinpaprikaSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m84 |[0;0m let onQueue = { (_ block: @escaping () -> Void) -> Void in
[0;36m85 |[0;0m (responseQueue ?? DispatchQueue.main).async(execute: block)
/host/spi-builder-workspace/Sources/Networking/Request.swift:138:85: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m139 |[0;0m var request = URLRequest(url: url)
[0;36m140 |[0;0m request.httpMethod = method.rawValue.uppercased()
/host/spi-builder-workspace/Sources/Networking/Request.swift:138:44: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m136 |[0;0m }
[0;36m137 |[0;0m
[0;36m138 |[0;0m private func buildRequest(cachePolicy: [4;39mURLRequest[0;0m.CachePolicy? = nil) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m139 |[0;0m var request = URLRequest(url: url)
[0;36m140 |[0;0m request.httpMethod = method.rawValue.uppercased()
/host/spi-builder-workspace/Sources/Networking/Request.swift:204:59: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m202 |[0;0m }
[0;36m203 |[0;0m
[0;36m204 |[0;0m private func findFailureReason(data: Data?, response: [4;39mURLResponse[0;0m?) -> 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;36m205 |[0;0m guard let response = response as? HTTPURLResponse else {
[0;36m206 |[0;0m return ResponseError.emptyResponse(url: 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
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Networking/CodableModel.swift /host/spi-builder-workspace/Sources/Networking/CoinpaprikaSession.swift /host/spi-builder-workspace/Sources/Networking/Errors.swift /host/spi-builder-workspace/Sources/Networking/NetworkSession.swift /host/spi-builder-workspace/Sources/Networking/Request.swift /host/spi-builder-workspace/Sources/Networking/Result.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 -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/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CoinpaprikaNetworking -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/CoinpaprikaNetworking_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/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/Modules/CoinpaprikaNetworking.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/Modules/CoinpaprikaNetworking.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/CoinpaprikaNetworking-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/CoinpaprikaNetworking-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/CoinpaprikaNetworking-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Coinpaprika.build/Debug-linux-x86_64/CoinpaprikaNetworking-t.build/Objects-normal/x86_64/Modules/CoinpaprikaNetworking.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux