Build Information
Failed to build Push, reference main (ec9a74
), with Swift 5.9 for Linux on 19 Jul 2024 16:25:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.46.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/push-protocol/push-swift-sdk.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/push-protocol/push-swift-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec9a74d Push stream (#39)
Cloned https://github.com/push-protocol/push-swift-sdk.git
Revision (git rev-parse @):
ec9a74d69c6962e720f7b2f8af6858e268d2c18a
SUCCESS checkout https://github.com/push-protocol/push-swift-sdk.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/push-protocol/push-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:42089e127179f97bc0ca0c1c313de55254bdfac5dc9c651424c389c16ec35440
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/web3swift-team/web3swift.git
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/socketio/socket.io-client-swift.git
[1/4868] Fetching starscream
[2/16085] Fetching starscream, socket.io-client-swift
[8300/46371] Fetching starscream, socket.io-client-swift, web3swift
Fetching https://github.com/attaswift/BigInt.git
Fetched https://github.com/daltoniam/Starscream (0.44s)
[14246/41503] Fetching socket.io-client-swift, web3swift
Fetched https://github.com/socketio/socket.io-client-swift.git (0.57s)
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git
[5756/34992] Fetching web3swift, bigint
Fetched https://github.com/attaswift/BigInt.git (0.40s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[12419/42960] Fetching web3swift, cryptoswift
[18996/54449] Fetching web3swift, cryptoswift, objectivepgp
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.52s)
[28021/41775] Fetching web3swift, objectivepgp
Fetched https://github.com/web3swift-team/web3swift.git (4.26s)
[4218/11489] Fetching objectivepgp
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git (16.83s)
Computing version for https://github.com/socketio/socket.io-client-swift.git
Computed https://github.com/socketio/socket.io-client-swift.git at 16.1.0 (2.97s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/web3swift-team/web3swift.git at 3.1.2 (0.38s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.38s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.35s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.37s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.33s)
Creating working copy for https://github.com/web3swift-team/web3swift.git
Working copy of https://github.com/web3swift-team/web3swift.git resolved at 3.1.2
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Creating working copy for https://github.com/krzyzanowskim/ObjectivePGP.git
Working copy of https://github.com/krzyzanowskim/ObjectivePGP.git resolved at 0.99.4
Creating working copy for https://github.com/socketio/socket.io-client-swift.git
Working copy of https://github.com/socketio/socket.io-client-swift.git resolved at 16.1.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
Building for debugging...
[0/4] Copying wk.bridge.min.js
[1/4] Copying browser.min.js
[2/4] Copying browser.js
[3/134] Compiling secp256k1 secp256k1.c
[5/134] Compiling CryptoSwift BigUInt.swift
[6/134] Compiling CryptoSwift Bitwise Ops.swift
[7/134] Compiling CryptoSwift CS.swift
[8/134] Compiling CryptoSwift Codable.swift
[9/134] Compiling CryptoSwift Comparable.swift
[10/136] Emitting module BigInt
[11/136] Compiling CryptoSwift GCM.swift
[12/136] Compiling CryptoSwift OCB.swift
[13/136] Compiling CryptoSwift OFB.swift
[14/136] Compiling CryptoSwift CMAC.swift
[15/136] Compiling CryptoSwift Addition.swift
[16/136] Compiling CryptoSwift BigInt.swift
[17/136] Compiling CryptoSwift CTR.swift
[18/136] Compiling CryptoSwift CipherModeWorker.swift
[19/136] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[24/138] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[25/138] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[26/138] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[38/138] Compiling CryptoSwift CBC.swift
[39/138] Compiling CryptoSwift CCM.swift
[40/138] Compiling CryptoSwift CFB.swift
[41/138] Compiling CryptoSwift Collection+Extension.swift
[42/138] Compiling CryptoSwift CompactMap.swift
[43/138] Compiling CryptoSwift Cryptor.swift
[44/138] Compiling CryptoSwift Cryptors.swift
[45/138] Compiling CryptoSwift Digest.swift
[46/138] Compiling CryptoSwift DigestType.swift
[47/138] Compiling CryptoSwift AES+Foundation.swift
[48/138] Compiling CryptoSwift Array+Foundation.swift
[49/138] Compiling CryptoSwift Blowfish+Foundation.swift
[50/138] Compiling CryptoSwift ChaCha20+Foundation.swift
[51/138] Compiling CryptoSwift Data+Extension.swift
[52/138] Compiling CryptoSwift HMAC+Foundation.swift
[53/138] Compiling CryptoSwift Rabbit+Foundation.swift
[54/150] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[55/150] Compiling Starscream Transport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[56/150] Compiling BigInt Subtraction.swift
[57/150] Compiling BigInt Words and Bits.swift
[69/152] Compiling CryptoSwift Exponentiation.swift
[70/152] Compiling CryptoSwift Floating Point Conversion.swift
[71/152] Compiling CryptoSwift GCD.swift
[72/152] Compiling CryptoSwift Hashable.swift
[73/152] Compiling CryptoSwift Integer Conversion.swift
[74/152] Compiling CryptoSwift Multiplication.swift
[75/152] Compiling CryptoSwift Prime Test.swift
[76/152] Compiling CryptoSwift Random.swift
[77/152] Compiling CryptoSwift Shifts.swift
[78/152] Compiling CryptoSwift Square Root.swift
[79/152] Compiling CryptoSwift Strideable.swift
[80/152] Compiling CryptoSwift String Conversion.swift
[81/152] Compiling CryptoSwift Subtraction.swift
[82/152] Compiling CryptoSwift Words and Bits.swift
[83/152] Compiling CryptoSwift ChaCha20.swift
[84/152] Compiling CryptoSwift Checksum.swift
[85/152] Compiling CryptoSwift Cipher.swift
[86/152] Compiling CryptoSwift SecureBytes.swift
[87/152] Compiling CryptoSwift StreamDecryptor.swift
[88/152] Compiling CryptoSwift StreamEncryptor.swift
[89/152] Compiling CryptoSwift String+Extension.swift
[90/152] Compiling CryptoSwift UInt128.swift
[91/152] Compiling CryptoSwift UInt16+Extension.swift
[92/152] Compiling CryptoSwift UInt32+Extension.swift
[93/152] Compiling CryptoSwift UInt64+Extension.swift
[94/152] Compiling CryptoSwift UInt8+Extension.swift
[95/152] Compiling CryptoSwift Updatable.swift
[96/152] Compiling CryptoSwift Utils.swift
[97/152] Compiling CryptoSwift ZeroPadding.swift
[98/152] Compiling CryptoSwift AEAD.swift
[99/152] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[100/152] Compiling CryptoSwift AES.Cryptors.swift
[101/152] Compiling CryptoSwift AES.swift
[102/152] Compiling CryptoSwift Array+Extension.swift
[103/152] Compiling CryptoSwift Authenticator.swift
[104/152] Compiling CryptoSwift BatchedCollection.swift
[105/152] Compiling CryptoSwift Bit.swift
[106/152] Compiling CryptoSwift BlockCipher.swift
[107/152] Compiling CryptoSwift BlockDecryptor.swift
[108/152] Compiling CryptoSwift BlockEncryptor.swift
[109/152] Compiling CryptoSwift BlockMode.swift
[110/152] Compiling CryptoSwift BlockModeOptions.swift
[111/152] Emitting module CryptoSwift
[125/152] Compiling CryptoSwift String+FoundationExtension.swift
[126/152] Compiling CryptoSwift Utils+Foundation.swift
[127/152] Compiling CryptoSwift Generics.swift
[128/152] Compiling CryptoSwift HKDF.swift
[129/152] Compiling CryptoSwift HMAC.swift
[130/152] Compiling CryptoSwift ISO10126Padding.swift
[131/152] Compiling CryptoSwift ISO78164Padding.swift
[132/152] Compiling CryptoSwift Int+Extension.swift
[133/152] Compiling CryptoSwift MD5.swift
[134/152] Compiling CryptoSwift NoPadding.swift
[135/152] Compiling CryptoSwift Operators.swift
[136/152] Compiling CryptoSwift PBKDF1.swift
[137/152] Compiling CryptoSwift PBKDF2.swift
[138/152] Compiling CryptoSwift PKCS5.swift
[139/152] Compiling CryptoSwift PKCS7.swift
[140/152] Compiling CryptoSwift PKCS7Padding.swift
[141/152] Compiling CryptoSwift Padding.swift
[142/152] Compiling CryptoSwift Poly1305.swift
[143/152] Compiling CryptoSwift RSA.swift
[144/152] Compiling CryptoSwift Rabbit.swift
[145/152] Compiling CryptoSwift SHA1.swift
[146/152] Compiling CryptoSwift SHA2.swift
[147/152] Compiling CryptoSwift SHA3.swift
[148/152] Compiling CryptoSwift Scrypt.swift
[151/222] Compiling Web3Core Sequence+ABIExtension.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[152/222] Compiling Web3Core EthereumAddress.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[153/222] Compiling Web3Core APIRequest+ComputedProperties.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[154/222] Compiling Web3Core APIRequest+Methods.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[155/222] Compiling Web3Core APIRequest+UtilityTypes.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[156/222] Compiling Web3Core APIRequest.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[157/222] Compiling Web3Core APIRequestParameterType.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[158/222] Compiling Web3Core RequestParameter+Encodable.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[159/222] Compiling Web3Core RequestParameter+RawRepresentable.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[160/222] Compiling Web3Core RequestParameter.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:27:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[161/231] Emitting module Web3Core
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:17:84: error: cannot find type 'URLRequest' in scope
static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:75: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[162/231] Compiling Web3Core EIP2930Compatible.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[163/231] Compiling Web3Core EthereumBloomFilter.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[164/231] Compiling Web3Core EventfilterParameters.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[165/231] Compiling Web3Core Policies.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[166/231] Compiling Web3Core TransactionMetadata.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[167/231] Compiling Web3Core Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[168/231] Compiling Web3Core BigUInt+Extension.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[169/231] Compiling Web3Core CryptoExtension.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[170/231] Compiling Web3Core Data+Extension.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
if let notNilResult = result, notNilResult == errSecSuccess {
^~~~~~~~~~~~~
[171/231] Compiling Web3Core Block.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[172/231] Compiling Web3Core BlockNumber.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[173/231] Compiling Web3Core Event+Protocol.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[174/231] Compiling Web3Core EventLog.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[175/231] Compiling Web3Core SECP256k1.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[176/231] Compiling Web3Core TransactionDetails.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[177/231] Compiling Web3Core TransactionInBlock.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[178/231] Compiling Web3Core TransactionReceipt.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[179/231] Compiling Web3Core TxPoolContent.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[180/231] Compiling Web3Core Async+BackwardCapability.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[181/231] Compiling Web3Core HexDecodable+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[182/231] Compiling Web3Core HexDecodableProtocols.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[183/231] Compiling Web3Core IntegerInitableWithRadix.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[184/231] Compiling Web3Core AbstractKeystore.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[185/231] Compiling Web3Core BIP32HDNode.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[186/231] Compiling Web3Core BIP32Keystore.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[187/231] Compiling Web3Core BIP39+WordLists.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[188/231] Compiling Web3Core BIP39.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[189/231] Compiling Web3Core BIP44.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[190/231] Compiling Web3Core EthereumKeystoreV3.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[191/231] Compiling Web3Core EtherscanTransactionChecker.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[192/231] Compiling Web3Core IBAN.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[193/231] Compiling Web3Core KeystoreManager.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[194/231] Compiling Web3Core KeystoreParams.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[195/231] Compiling Web3Core PathAddressStorage.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[196/231] Compiling Web3Core PlainKeystore.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[197/231] Compiling Web3Core GasOracle.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[198/231] Compiling Web3Core RLP.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[199/231] Compiling Web3Core Base58.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[200/231] Compiling Web3Core TxPoolStatus.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[201/231] Compiling Web3Core Web3ProviderProtocol.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[202/231] Compiling Web3Core CodableTransaction.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[203/231] Compiling Web3Core AbstractEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[204/231] Compiling Web3Core EIP1559Envelope.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[205/231] Compiling Web3Core EIP2718Envelope.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[206/231] Compiling Web3Core EIP2930Envelope.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[207/231] Compiling Web3Core EnvelopeFactory.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[208/231] Compiling Web3Core LegacyEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[209/231] Compiling Web3Core Decodable+Extensions.swift
[210/231] Compiling Web3Core Dictionary+Extension.swift
[211/231] Compiling Web3Core Encodable+Extensions.swift
[212/231] Compiling Web3Core NSRegularExpression+Extension.swift
[213/231] Compiling Web3Core NativeTypesEncoding+Extension.swift
[214/231] Compiling Web3Core RIPEMD160+StackOveflow.swift
[215/231] Compiling Web3Core String+Extension.swift
[216/231] Compiling Web3Core Utilities.swift
[217/231] Compiling Web3Core Web3Error.swift
[218/231] Compiling Web3Core ContractProtocol.swift
[219/231] Compiling Web3Core EthereumContract.swift
[220/231] Compiling Web3Core ABI.swift
[221/231] Compiling Web3Core ABIDecoding.swift
[222/231] Compiling Web3Core ABIElements.swift
[223/231] Compiling Web3Core ABIEncoding.swift
[224/231] Compiling Web3Core ABIError.swift
[225/231] Compiling Web3Core ABIParameterTypes.swift
[226/231] Compiling Web3Core ABIParsing.swift
[227/231] Compiling Web3Core ABITypeParser.swift
error: fatalError
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
BUILD FAILURE 5.9 linux