The Swift Package Index logo.Swift Package Index

Build Information

Failed to build VIZ with Swift 5.7 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/viz-blockchain/viz-swift-lib.git
Reference: 0.0.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/viz-blockchain/viz-swift-lib
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at b5d4c0a Update crypto libraries
Cloned https://github.com/viz-blockchain/viz-swift-lib.git
Revision (git rev-parse @):
b5d4c0a7637777b29c281ffddd7127bcbddf576a
SUCCESS checkout https://github.com/viz-blockchain/viz-swift-lib.git at 0.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/viz-blockchain/viz-swift-lib.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/greymass/secp256k1.git
[1/7003] Fetching secp256k1
Fetched https://github.com/greymass/secp256k1.git (0.62s)
Fetching https://github.com/lukaskubanek/OrderedDictionary.git
Fetching https://github.com/Flight-School/AnyCodable.git
[1/756] Fetching anycodable
[757/2456] Fetching anycodable, ordereddictionary
Fetched https://github.com/Flight-School/AnyCodable.git (0.60s)
Fetched https://github.com/lukaskubanek/OrderedDictionary.git (0.61s)
Computing version for https://github.com/lukaskubanek/OrderedDictionary.git
Computed https://github.com/lukaskubanek/OrderedDictionary.git at 4.0.2 (0.36s)
Computing version for https://github.com/Flight-School/AnyCodable.git
Computed https://github.com/Flight-School/AnyCodable.git at 0.6.7 (0.37s)
Creating working copy for https://github.com/lukaskubanek/OrderedDictionary.git
Working copy of https://github.com/lukaskubanek/OrderedDictionary.git resolved at 4.0.2
Creating working copy for https://github.com/greymass/secp256k1.git
Working copy of https://github.com/greymass/secp256k1.git resolved at master
Creating working copy for https://github.com/Flight-School/AnyCodable.git
Working copy of https://github.com/Flight-School/AnyCodable.git resolved at 0.6.7
Building for debugging...
[0/5] Compiling Crypto memzero.c
[1/5] Compiling Crypto sha2.c
[2/5] Compiling Crypto ripemd160.c
[3/5] Compiling Crypto base58.c
[5/16] Compiling OrderedDictionary OrderedDictionary+Deprecated.swift
[6/16] Compiling OrderedDictionary Dictionary+OrderedDictionary.swift
[7/16] Emitting module OrderedDictionary
[8/16] Compiling OrderedDictionary OrderedDictionary+Codable.swift
[9/16] Compiling OrderedDictionary OrderedDictionarySlice.swift
[10/16] Compiling OrderedDictionary OrderedDictionary.swift
[11/16] Compiling OrderedDictionary OrderedDictionary+Description.swift
[14/18] Emitting module AnyCodable
[15/18] Compiling AnyCodable AnyCodable.swift
[16/18] Compiling AnyCodable AnyDecodable.swift
[17/18] Compiling AnyCodable AnyEncodable.swift
[19/20] Compiling secp256k1.c
[21/40] Compiling VIZ Data+Base58Encoding.swift
[22/40] Compiling VIZ Data+RIPEMD160.swift
[23/40] Compiling VIZ Data+Random.swift
[24/42] Compiling VIZ Block.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(address: URL, session: URLSession = URLSession.shared) {
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:64: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(address: URL, session: URLSession = URLSession.shared) {
                                                    ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:256:84: error: cannot find type 'URLRequest' in scope
    internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:268:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: warning: constant 'WARNING' inferred to have type '()', which may be unexpected
    fileprivate let WARNING = print(
                    ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: note: add an explicit type annotation to silence this warning
    fileprivate let WARNING = print(
                    ^
                           : ()
/host/spi-builder-workspace/Sources/VIZ/Client.swift:252:32: error: cannot convert value of type 'URLSession' (aka 'AnyObject') to type 'any SessionAdapter' in coercion
        self.session = session as SessionAdapter
                       ~~~~~~~~^~~~~~~~~~~~~~~~~
                                                 as! any SessionAdapter
/host/spi-builder-workspace/Sources/VIZ/Client.swift:258:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: self.address)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let httpResponse = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let httpResponse = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:275:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if httpResponse.statusCode != 200 {
           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:276:90: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw Error.networkError(message: "Server responded with HTTP \(httpResponse.statusCode)", error: nil)
                                                                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:311:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:67: error: cannot convert value of type '_' to expected argument type 'Data?'
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:83: error: argument type '_' expected to be an instance of a class or class-constrained type
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:191:42: error: cannot find type 'URLRequest' in scope
    internal func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask {
                                         ^~~~~~~~~~
[25/42] Compiling VIZ ChainId.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(address: URL, session: URLSession = URLSession.shared) {
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:64: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(address: URL, session: URLSession = URLSession.shared) {
                                                    ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:256:84: error: cannot find type 'URLRequest' in scope
    internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:268:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: warning: constant 'WARNING' inferred to have type '()', which may be unexpected
    fileprivate let WARNING = print(
                    ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: note: add an explicit type annotation to silence this warning
    fileprivate let WARNING = print(
                    ^
                           : ()
/host/spi-builder-workspace/Sources/VIZ/Client.swift:252:32: error: cannot convert value of type 'URLSession' (aka 'AnyObject') to type 'any SessionAdapter' in coercion
        self.session = session as SessionAdapter
                       ~~~~~~~~^~~~~~~~~~~~~~~~~
                                                 as! any SessionAdapter
/host/spi-builder-workspace/Sources/VIZ/Client.swift:258:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: self.address)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let httpResponse = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let httpResponse = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:275:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if httpResponse.statusCode != 200 {
           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:276:90: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw Error.networkError(message: "Server responded with HTTP \(httpResponse.statusCode)", error: nil)
                                                                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:311:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:67: error: cannot convert value of type '_' to expected argument type 'Data?'
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:83: error: argument type '_' expected to be an instance of a class or class-constrained type
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:191:42: error: cannot find type 'URLRequest' in scope
    internal func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask {
                                         ^~~~~~~~~~
[26/42] Compiling VIZ Client.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(address: URL, session: URLSession = URLSession.shared) {
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:64: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(address: URL, session: URLSession = URLSession.shared) {
                                                    ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:256:84: error: cannot find type 'URLRequest' in scope
    internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:268:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: warning: constant 'WARNING' inferred to have type '()', which may be unexpected
    fileprivate let WARNING = print(
                    ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: note: add an explicit type annotation to silence this warning
    fileprivate let WARNING = print(
                    ^
                           : ()
/host/spi-builder-workspace/Sources/VIZ/Client.swift:252:32: error: cannot convert value of type 'URLSession' (aka 'AnyObject') to type 'any SessionAdapter' in coercion
        self.session = session as SessionAdapter
                       ~~~~~~~~^~~~~~~~~~~~~~~~~
                                                 as! any SessionAdapter
/host/spi-builder-workspace/Sources/VIZ/Client.swift:258:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: self.address)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let httpResponse = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let httpResponse = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:275:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if httpResponse.statusCode != 200 {
           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:276:90: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw Error.networkError(message: "Server responded with HTTP \(httpResponse.statusCode)", error: nil)
                                                                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:311:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:67: error: cannot convert value of type '_' to expected argument type 'Data?'
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:83: error: argument type '_' expected to be an instance of a class or class-constrained type
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:191:42: error: cannot find type 'URLRequest' in scope
    internal func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask {
                                         ^~~~~~~~~~
[27/42] Compiling VIZ Signature.swift
[28/42] Compiling VIZ Transaction.swift
[29/42] Compiling VIZ PublicKey.swift
[30/42] Compiling VIZ Secp256k1.swift
[31/42] Compiling VIZ API.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
[32/42] Compiling VIZ Asset.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
[33/42] Compiling VIZ Authority.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)[34/42] Emitting module VIZ
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(address: URL, session: URLSession = URLSession.shared) {
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:64: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(address: URL, session: URLSession = URLSession.shared) {
                                                    ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:256:84: error: cannot find type 'URLRequest' in scope
    internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:268:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: warning: constant 'WARNING' inferred to have type '()', which may be unexpected
    fileprivate let WARNING = print(
                    ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: note: add an explicit type annotation to silence this warning
    fileprivate let WARNING = print(
                    ^
                           : ()
[35/42] Compiling VIZ VIZEncoder.swift
[36/42] Compiling VIZ VIZURL.swift
[37/42] Compiling VIZ Data+SHA2.swift
[38/42] Compiling VIZ Pointers+Convenience.swift
[39/42] Compiling VIZ Hex.swift
[40/42] Compiling VIZ Misc.swift
[41/42] Compiling VIZ Operation.swift
[42/42] Compiling VIZ PrivateKey.swift
[0/1] Planning build
Building for debugging...
[1/7] Compiling VIZ ChainId.swift
[2/7] Compiling VIZ Client.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(address: URL, session: URLSession = URLSession.shared) {
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:64: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(address: URL, session: URLSession = URLSession.shared) {
                                                    ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:256:84: error: cannot find type 'URLRequest' in scope
    internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:268:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: warning: constant 'WARNING' inferred to have type '()', which may be unexpected
    fileprivate let WARNING = print(
                    ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: note: add an explicit type annotation to silence this warning
    fileprivate let WARNING = print(
                    ^
                           : ()
/host/spi-builder-workspace/Sources/VIZ/Client.swift:252:32: error: cannot convert value of type 'URLSession' (aka 'AnyObject') to type 'any SessionAdapter' in coercion
        self.session = session as SessionAdapter
                       ~~~~~~~~^~~~~~~~~~~~~~~~~
                                                 as! any SessionAdapter
/host/spi-builder-workspace/Sources/VIZ/Client.swift:258:26: error: cannot find 'URLRequest' in scope
        var urlRequest = URLRequest(url: self.address)
                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:43: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
        guard let httpResponse = response as? HTTPURLResponse else {
                                          ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:272:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
        guard let httpResponse = response as? HTTPURLResponse else {
                                              ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:275:25: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
        if httpResponse.statusCode != 200 {
           ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:276:90: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
            throw Error.networkError(message: "Server responded with HTTP \(httpResponse.statusCode)", error: nil)
                                                                            ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:311:25: error: cannot find type 'URLRequest' in scope
        let urlRequest: URLRequest
                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:67: error: cannot convert value of type '_' to expected argument type 'Data?'
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:323:83: error: argument type '_' expected to be an instance of a class or class-constrained type
                rv = try self.resolveResponse(for: payload, data: data, response: response)
                                                                                  ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:191:42: error: cannot find type 'URLRequest' in scope
    internal func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask {
                                         ^~~~~~~~~~
[3/8] Compiling VIZ API.swift
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
[4/8] Compiling VIZ Transaction.swift
[5/8] Compiling VIZ Block.swift
[6/8] Compiling VIZ Authority.swift
[7/8] Compiling VIZ Asset.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)[8/9] Emitting module VIZ
/host/spi-builder-workspace/Sources/VIZ/Client.swift:189:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended
extension URLSessionDataTask: SessionDataTask {}
^         ~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:190:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: SessionAdapter {
^         ~~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:33: error: cannot find type 'URLRequest' in scope
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:182:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> SessionDataTask
                                                                                 ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    public init(address: URL, session: URLSession = URLSession.shared) {
                                       ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:250:64: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
    public init(address: URL, session: URLSession = URLSession.shared) {
                                                    ~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:256:84: error: cannot find type 'URLRequest' in scope
    internal func urlRequest<T: Request>(for payload: RequestPayload<T>) throws -> URLRequest {
                                                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/VIZ/Client.swift:268:102: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    internal func resolveResponse<T: Request>(for payload: RequestPayload<T>, data: Data?, response: URLResponse?) throws -> T.Response? {
                                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: warning: constant 'WARNING' inferred to have type '()', which may be unexpected
    fileprivate let WARNING = print(
                    ^
/host/spi-builder-workspace/Sources/VIZ/Client.swift:409:21: note: add an explicit type annotation to silence this warning
    fileprivate let WARNING = print(
                    ^
                           : ()
[9/9] Compiling VIZ Operation.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 1