The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Changelly with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/coinpaprika/changelly-api-swift-client.git
Reference: 1.1.2
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/changelly-api-swift-client
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at cf12ab4 [SPM] Add Coinpaprika prefix to Networking and NetworkingMocks modules
Cloned https://github.com/coinpaprika/changelly-api-swift-client.git
Revision (git rev-parse @):
cf12ab46bdc74579cd25838bbd5764f102a2ae05
SUCCESS checkout https://github.com/coinpaprika/changelly-api-swift-client.git at 1.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/coinpaprika/changelly-api-swift-client.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/coinpaprika/coinpaprika-api-swift-client.git
[1/2930] Fetching coinpaprika-api-swift-client
Fetched https://github.com/coinpaprika/coinpaprika-api-swift-client.git from cache (0.30s)
Computing version for https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Computed https://github.com/coinpaprika/coinpaprika-api-swift-client.git at 2.4.0 (0.41s)
Creating working copy for https://github.com/coinpaprika/coinpaprika-api-swift-client.git
Working copy of https://github.com/coinpaprika/coinpaprika-api-swift-client.git resolved at 2.4.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling CoinpaprikaNetworking CodableModel.swift
[5/9] Compiling CoinpaprikaNetworking Errors.swift
[6/9] Compiling CoinpaprikaNetworking Result.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling CoinpaprikaNetworking NetworkSession.swift
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:15:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: NetworkSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:11:33: error: cannot find type 'URLRequest' in scope
    func loadData(with request: URLRequest,
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:12:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                  completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:16:40: error: cannot find type 'URLRequest' in scope
    public func loadData(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
                                       ^~~~~~~~~~
[8/9] Emitting module CoinpaprikaNetworking
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:15:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: NetworkSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:11:33: error: cannot find type 'URLRequest' in scope
    func loadData(with request: URLRequest,
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:12:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                  completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:13:62: error: cannot find type 'URLRequest' in scope
    func perform(responseQueue: DispatchQueue?, cachePolicy: URLRequest.CachePolicy?, session: NetworkSession, _ callback: @escaping (Result<Model, Error>) -> Void)
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:51:37: error: cannot find type 'URLRequest' in scope
        case dynamic(signer: (inout URLRequest) -> Void)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:56:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ErrorParser = (_ response: HTTPURLResponse, _ data: Data) -> Error?
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:75: error: cannot find type 'URLRequest' in scope
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:143: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                                                                                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:85: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:44: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:204:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func findFailureReason(data: Data?, response: URLResponse?) -> Error {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[9/9] Compiling CoinpaprikaNetworking Request.swift
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:13:62: error: cannot find type 'URLRequest' in scope
    func perform(responseQueue: DispatchQueue?, cachePolicy: URLRequest.CachePolicy?, session: NetworkSession, _ callback: @escaping (Result<Model, Error>) -> Void)
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:51:37: error: cannot find type 'URLRequest' in scope
        case dynamic(signer: (inout URLRequest) -> Void)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:56:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ErrorParser = (_ response: HTTPURLResponse, _ data: Data) -> Error?
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:75: error: cannot find type 'URLRequest' in scope
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:143: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                                                                                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:85: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:44: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:204:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func findFailureReason(data: Data?, response: URLResponse?) -> Error {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:88:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest
                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:11:33: error: cannot find type 'URLRequest' in scope
    func loadData(with request: URLRequest,
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:110:109: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                guard let httpResponse = urlResponse as? HTTPURLResponse, (200..<300).contains(httpResponse.statusCode) else {
                                                                                               ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:139:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:205:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:213:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        return ResponseError.serverError(httpCode: response.statusCode, url: response.url)
                                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:213:87: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        return ResponseError.serverError(httpCode: response.statusCode, url: response.url)
                                                                             ~~~~~~~~ ^~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:218:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            switch response.statusCode {
                   ~~~~~~~~ ^~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module CoinpaprikaNetworking
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:15:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: NetworkSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:11:33: error: cannot find type 'URLRequest' in scope
    func loadData(with request: URLRequest,
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:12:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                  completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:13:62: error: cannot find type 'URLRequest' in scope
    func perform(responseQueue: DispatchQueue?, cachePolicy: URLRequest.CachePolicy?, session: NetworkSession, _ callback: @escaping (Result<Model, Error>) -> Void)
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:51:37: error: cannot find type 'URLRequest' in scope
        case dynamic(signer: (inout URLRequest) -> Void)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:56:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ErrorParser = (_ response: HTTPURLResponse, _ data: Data) -> Error?
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:75: error: cannot find type 'URLRequest' in scope
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:143: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                                                                                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:85: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:44: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:204:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func findFailureReason(data: Data?, response: URLResponse?) -> Error {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
[3/4] Compiling CoinpaprikaNetworking Request.swift
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:13:62: error: cannot find type 'URLRequest' in scope
    func perform(responseQueue: DispatchQueue?, cachePolicy: URLRequest.CachePolicy?, session: NetworkSession, _ callback: @escaping (Result<Model, Error>) -> Void)
                                                             ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:51:37: error: cannot find type 'URLRequest' in scope
        case dynamic(signer: (inout URLRequest) -> Void)
                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:56:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public typealias ErrorParser = (_ response: HTTPURLResponse, _ data: Data) -> Error?
                                                ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:75: error: cannot find type 'URLRequest' in scope
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                          ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:83:143: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public func perform(responseQueue: DispatchQueue? = nil, cachePolicy: URLRequest.CachePolicy? = nil, session: NetworkSession = URLSession.shared, _ callback: @escaping (Result<Model, Error>) -> Void) {
                                                                                                                                   ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:85: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                                                                    ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:138:44: error: cannot find type 'URLRequest' in scope
    private func buildRequest(cachePolicy: URLRequest.CachePolicy? = nil) throws -> URLRequest {
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:204:59: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    private func findFailureReason(data: Data?, response: URLResponse?) -> Error {
                                                          ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:88:22: error: cannot find type 'URLRequest' in scope
        let request: URLRequest
                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:11:33: error: cannot find type 'URLRequest' in scope
    func loadData(with request: URLRequest,
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:110:109: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
                guard let httpResponse = urlResponse as? HTTPURLResponse, (200..<300).contains(httpResponse.statusCode) else {
                                                                                               ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:139:23: error: cannot find 'URLRequest' in scope
        var request = URLRequest(url: url)
                      ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:205:43: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let response = response as? HTTPURLResponse else {
                                          ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:213:61: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        return ResponseError.serverError(httpCode: response.statusCode, url: response.url)
                                                   ~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:213:87: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'url'
        return ResponseError.serverError(httpCode: response.statusCode, url: response.url)
                                                                             ~~~~~~~~ ^~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/Request.swift:218:29: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            switch response.statusCode {
                   ~~~~~~~~ ^~~~~~~~~~
[4/4] Compiling CoinpaprikaNetworking NetworkSession.swift
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:15:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: NetworkSession {
^         ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:11:33: error: cannot find type 'URLRequest' in scope
    func loadData(with request: URLRequest,
                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:12:56: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                  completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void)
                                                       ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/coinpaprika-api-swift-client/Sources/Networking/NetworkSession.swift:16:40: error: cannot find type 'URLRequest' in scope
    public func loadData(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) {
                                       ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux