Build Information
Failed to build Push, reference main (ec9a74
), with Swift 5.10 for Linux on 19 Jul 2024 16:25:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:59f36943510aea3c3167e15c3bb784abd9f60c7d7937078af576dff6d447a61b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/web3swift-team/web3swift.git
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/socketio/socket.io-client-swift.git
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/4706] Fetching bigint
[472/15923] Fetching bigint, socket.io-client-swift
[4204/20791] Fetching bigint, socket.io-client-swift, starscream
[7476/33465] Fetching bigint, socket.io-client-swift, starscream, cryptoswift
[18630/63751] Fetching bigint, socket.io-client-swift, starscream, cryptoswift, web3swift
[44633/75240] Fetching bigint, socket.io-client-swift, starscream, cryptoswift, web3swift, objectivepgp
Fetched https://github.com/attaswift/BigInt.git from cache (1.96s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.97s)
[47560/57860] Fetching socket.io-client-swift, starscream, web3swift, objectivepgp
Fetched https://github.com/socketio/socket.io-client-swift.git from cache (18.90s)
Fetched https://github.com/daltoniam/Starscream from cache (18.90s)
Fetched https://github.com/web3swift-team/web3swift.git from cache (19.01s)
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git from cache (19.35s)
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 (0.95s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/web3swift-team/web3swift.git at 3.1.2 (0.39s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.42s)
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.47s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.43s)
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/krzyzanowskim/ObjectivePGP.git
Working copy of https://github.com/krzyzanowskim/ObjectivePGP.git resolved at 0.99.4
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
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/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/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Building for debugging...
[0/12] Write sources
[1/12] Copying wk.bridge.min.js
[1/12] Write sources
[1/12] Copying browser.js
[3/12] Copying browser.min.js
[10/12] Write swift-version-24593BA9C3E375BF.txt
[11/105] Compiling secp256k1 secp256k1.c
[13/142] Emitting module BigInt
[14/144] Compiling CryptoSwift ECB.swift
[15/144] Compiling CryptoSwift GCM.swift
[16/144] Compiling CryptoSwift CFB.swift
[17/144] Compiling CryptoSwift CTR.swift
[18/144] Compiling CryptoSwift CipherModeWorker.swift
[19/144] Compiling BigInt Subtraction.swift
[20/144] Compiling BigInt Words and Bits.swift
[21/144] Compiling CryptoSwift BatchedCollection.swift
[22/144] Compiling CryptoSwift Bit.swift
[23/144] Compiling CryptoSwift BlockCipher.swift
[24/144] Compiling CryptoSwift BlockDecryptor.swift
[25/144] Compiling CryptoSwift BlockEncryptor.swift
[26/144] Compiling CryptoSwift BlockMode.swift
[27/144] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[28/144] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[29/144] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[30/146] Compiling CryptoSwift CCM.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
^
[34/146] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[35/146] Compiling CryptoSwift CBC.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
^
[39/146] Compiling CryptoSwift Collection+Extension.swift
[40/146] Compiling CryptoSwift CompactMap.swift
[41/146] Compiling CryptoSwift Cryptor.swift
[42/146] Compiling CryptoSwift Cryptors.swift
[43/146] Compiling CryptoSwift Digest.swift
[44/146] Compiling CryptoSwift DigestType.swift
[45/146] Compiling CryptoSwift AES+Foundation.swift
[46/146] Compiling CryptoSwift Array+Foundation.swift
[47/146] Compiling CryptoSwift Blowfish+Foundation.swift
[48/146] Compiling CryptoSwift ChaCha20+Foundation.swift
[49/146] Compiling CryptoSwift Data+Extension.swift
[50/146] Compiling CryptoSwift HMAC+Foundation.swift
[51/146] Compiling CryptoSwift Rabbit+Foundation.swift
[52/146] Compiling CryptoSwift AEAD.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[53/146] Compiling CryptoSwift AEADChaCha20Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[54/146] Compiling CryptoSwift AES.Cryptors.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[64/153] Compiling Starscream TCPTransport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[65/153] Compiling Starscream Transport.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[67/159] Compiling CryptoSwift Addition.swift
[68/159] Compiling CryptoSwift BigInt.swift
[69/159] Compiling CryptoSwift BigUInt.swift
[70/159] Compiling CryptoSwift Bitwise Ops.swift
[71/159] Compiling CryptoSwift CS.swift
[72/159] Compiling CryptoSwift Codable.swift
[73/159] Compiling CryptoSwift Comparable.swift
[74/159] Compiling CryptoSwift Data Conversion.swift
[75/159] Compiling CryptoSwift Division.swift
[76/159] Compiling CryptoSwift Exponentiation.swift
[77/159] Compiling CryptoSwift Floating Point Conversion.swift
[78/159] Compiling CryptoSwift GCD.swift
[79/159] Compiling CryptoSwift Hashable.swift
[80/159] Compiling CryptoSwift Integer Conversion.swift
[81/159] Compiling CryptoSwift Multiplication.swift
[82/159] Compiling CryptoSwift Prime Test.swift
[83/159] Compiling CryptoSwift Random.swift
[84/159] Compiling CryptoSwift Shifts.swift
[85/159] Compiling CryptoSwift Square Root.swift
[86/159] Compiling CryptoSwift Strideable.swift
[87/159] Compiling CryptoSwift String Conversion.swift
[88/159] Compiling CryptoSwift Subtraction.swift
[89/159] Compiling CryptoSwift Words and Bits.swift
[90/159] Compiling CryptoSwift ChaCha20.swift
[91/159] Compiling CryptoSwift Checksum.swift
[92/159] Compiling CryptoSwift Cipher.swift
[93/159] Emitting module CryptoSwift
[94/159] Compiling CryptoSwift SecureBytes.swift
[95/159] Compiling CryptoSwift StreamDecryptor.swift
[96/159] Compiling CryptoSwift StreamEncryptor.swift
[97/159] Compiling CryptoSwift String+Extension.swift
[98/159] Compiling CryptoSwift UInt128.swift
[99/159] Compiling CryptoSwift UInt16+Extension.swift
[100/159] Compiling CryptoSwift UInt32+Extension.swift
[101/159] Compiling CryptoSwift UInt64+Extension.swift
[102/159] Compiling CryptoSwift UInt8+Extension.swift
[103/159] Compiling CryptoSwift Updatable.swift
[104/159] Compiling CryptoSwift Utils.swift
[105/159] Compiling CryptoSwift ZeroPadding.swift
[115/159] Compiling CryptoSwift PCBC.swift
[116/159] Compiling CryptoSwift Blowfish.swift
[117/159] Compiling CryptoSwift CBCMAC.swift
[118/159] Compiling CryptoSwift CMAC.swift
[132/159] Compiling CryptoSwift String+FoundationExtension.swift
[133/159] Compiling CryptoSwift Utils+Foundation.swift
[134/159] Compiling CryptoSwift Generics.swift
[135/159] Compiling CryptoSwift HKDF.swift
[136/159] Compiling CryptoSwift HMAC.swift
[137/159] Compiling CryptoSwift ISO10126Padding.swift
[138/159] Compiling CryptoSwift ISO78164Padding.swift
[139/159] Compiling CryptoSwift Int+Extension.swift
[140/159] Compiling CryptoSwift MD5.swift
[141/159] Compiling CryptoSwift NoPadding.swift
[142/159] Compiling CryptoSwift Operators.swift
[143/159] Compiling CryptoSwift PBKDF1.swift
[144/159] Compiling CryptoSwift PBKDF2.swift
[145/159] Compiling CryptoSwift PKCS5.swift
[146/159] Compiling CryptoSwift PKCS7.swift
[147/159] Compiling CryptoSwift PKCS7Padding.swift
[148/159] Compiling CryptoSwift Padding.swift
[149/159] Compiling CryptoSwift Poly1305.swift
[150/159] Compiling CryptoSwift RSA.swift
[151/159] Compiling CryptoSwift Rabbit.swift
[152/159] Compiling CryptoSwift SHA1.swift
[153/159] Compiling CryptoSwift SHA2.swift
[154/159] Compiling CryptoSwift SHA3.swift
[155/159] Compiling CryptoSwift Scrypt.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[157/228] 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
^
[158/237] 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 {
^~~~~~~~~~~~~
[159/237] 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 {
^~~~~~~~~~~~~
[160/237] 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 {
^~~~~~~~~~~~~
[161/237] 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 {
^~~~~~~~~~~~~
[162/237] 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 {
^~~~~~~~~~~~~
[163/237] 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 {
^~~~~~~~~~~~~
[164/237] 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 {
^~~~~~~~~~~~~
[165/237] 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 {
^~~~~~~~~~~~~
[166/237] 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 {
^~~~~~~~~~~~~
[167/237] 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 {
^~~~~~~~~~~~~
[168/237] 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 {
^~~~~~~~~~~~~
[169/237] 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 {
^~~~~~~~~~~~~
[170/237] 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 {
^~~~~~~~~~~~~
[171/237] 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 {
^~~~~~~~~~~~~
[172/237] 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 {
^~~~~~~~~~~~~
[173/237] 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 {
^~~~~~~~~~~~~
[174/237] 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 {
^~~~~~~~~~~~~
[175/237] 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 {
^~~~~~~~~~~~~
[176/237] 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
^
[177/237] 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
^
[178/237] 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
^
[179/237] 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
^
[180/237] 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
^
[181/237] 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
^
[182/237] 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
^
[183/237] 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
^
[184/237] 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
^
[185/237] 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)
~~~~~~~ ^~~~
[186/237] 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)
~~~~~~~ ^~~~
[187/237] 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)
~~~~~~~ ^~~~
[188/237] 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)
~~~~~~~ ^~~~
[189/237] 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)
~~~~~~~ ^~~~
[190/237] 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)
~~~~~~~ ^~~~
[191/237] 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)
~~~~~~~ ^~~~
[192/237] 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)
~~~~~~~ ^~~~
[193/237] 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)
~~~~~~~ ^~~~
[194/237] 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)
~~~~~~~ ^~~~
[195/237] 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) {
^~~~~~~~~~
[196/237] 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) {
^~~~~~~~~~
[197/237] 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) {
^~~~~~~~~~
[198/237] 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) {
^~~~~~~~~~
[199/237] 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) {
^~~~~~~~~~
[200/237] 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) {
^~~~~~~~~~
[201/237] 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) {
^~~~~~~~~~
[202/237] 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) {
^~~~~~~~~~
[203/237] 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) {
^~~~~~~~~~
[204/237] 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) {
^~~~~~~~~~
[205/237] 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)
~~~~~~~~~~ ^~~~
[206/237] 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)
~~~~~~~~~~ ^~~~
[207/237] 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)
~~~~~~~~~~ ^~~~
[208/237] 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)
~~~~~~~~~~ ^~~~
[209/237] 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)
~~~~~~~~~~ ^~~~
[210/237] 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)
~~~~~~~~~~ ^~~~
[211/237] 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)
~~~~~~~~~~ ^~~~
[212/237] 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)
~~~~~~~~~~ ^~~~
[213/237] 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)
~~~~~~~~~~ ^~~~
[214/237] 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)
~~~~~~~~~~ ^~~~
[215/237] Compiling Web3Core Decodable+Extensions.swift
[216/237] Compiling Web3Core Dictionary+Extension.swift
[217/237] Compiling Web3Core Encodable+Extensions.swift
[218/237] Compiling Web3Core NSRegularExpression+Extension.swift
[219/237] Compiling Web3Core NativeTypesEncoding+Extension.swift
[220/237] Compiling Web3Core RIPEMD160+StackOveflow.swift
[221/237] Compiling Web3Core String+Extension.swift
[222/237] Compiling Web3Core Utilities.swift
[223/237] Compiling Web3Core Web3Error.swift
[224/237] Compiling Web3Core ContractProtocol.swift
[225/237] Compiling Web3Core EthereumContract.swift
[226/237] Compiling Web3Core ABI.swift
[227/237] Compiling Web3Core ABIDecoding.swift
[228/237] Compiling Web3Core ABIElements.swift
[229/237] Compiling Web3Core ABIEncoding.swift
[230/237] Compiling Web3Core ABIError.swift
[231/237] Compiling Web3Core ABIParameterTypes.swift
[232/237] Compiling Web3Core ABIParsing.swift
[233/237] Compiling Web3Core ABITypeParser.swift
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[234/237] Emitting module Starscream
/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
^
BUILD FAILURE 5.10 linux