Build Information
Failed to build Push, reference main (ec9a74
), with Swift 5.8 for Linux on 19 Jul 2024 16:25:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
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-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:b64e9b208a540cfe8c395754a98ad2db7976bcbca6a5320a43e0e41342f74819
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Fetching https://github.com/socketio/socket.io-client-swift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git
[1/11217] Fetching socket.io-client-swift
[2021/23891] Fetching socket.io-client-swift, cryptoswift
[14767/35380] Fetching socket.io-client-swift, cryptoswift, objectivepgp
Fetching https://github.com/attaswift/BigInt.git
Fetched https://github.com/socketio/socket.io-client-swift.git (1.68s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.71s)
Fetching https://github.com/daltoniam/Starscream
[3397/11489] Fetching objectivepgp
[3398/16195] Fetching objectivepgp, bigint
[4151/21063] Fetching objectivepgp, bigint, starscream
Fetched https://github.com/attaswift/BigInt.git (2.47s)
Fetching https://github.com/web3swift-team/web3swift.git
Fetched https://github.com/daltoniam/Starscream (2.45s)
[4414/41775] Fetching objectivepgp, web3swift
Fetched https://github.com/web3swift-team/web3swift.git (4.89s)
[6276/11489] Fetching objectivepgp
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git (19.00s)
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 (1.25s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/web3swift-team/web3swift.git at 3.1.2 (4.66s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.36s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.32s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.33s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.30s)
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/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/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
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/134] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[6/136] Compiling CryptoSwift BatchedCollection.swift
[7/136] Compiling CryptoSwift Bit.swift
[8/136] Compiling CryptoSwift BlockCipher.swift
[9/136] Compiling CryptoSwift BlockMode.swift
[10/136] Compiling CryptoSwift BlockModeOptions.swift
[11/136] Compiling CryptoSwift CBC.swift
[12/136] Compiling CryptoSwift BlockDecryptor.swift
[13/136] Compiling CryptoSwift BlockEncryptor.swift
[14/138] Compiling CryptoSwift CipherModeWorker.swift
[15/138] Compiling Starscream TCPTransport.swift
[16/138] Compiling Starscream Transport.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
^
[25/138] Compiling CryptoSwift CCM.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 CFB.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
[27/138] Compiling CryptoSwift CTR.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
^
[29/138] Compiling CryptoSwift AES.swift
[30/138] Compiling CryptoSwift Array+Extension.swift
[31/138] Compiling CryptoSwift Authenticator.swift
[32/138] Emitting module BigInt
[33/138] Compiling CryptoSwift AEAD.swift
[34/138] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[35/138] 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
^
/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
^
[44/138] Compiling CryptoSwift Collection+Extension.swift
[45/138] Compiling CryptoSwift CompactMap.swift
[46/138] Compiling CryptoSwift Cryptor.swift
[47/138] Compiling CryptoSwift Cryptors.swift
[48/138] Compiling CryptoSwift Digest.swift
[49/138] Compiling CryptoSwift DigestType.swift
[50/138] Compiling CryptoSwift AES+Foundation.swift
[51/138] Compiling CryptoSwift Array+Foundation.swift
[52/138] Compiling CryptoSwift Blowfish+Foundation.swift
[53/138] Compiling CryptoSwift ChaCha20+Foundation.swift
[54/138] Compiling CryptoSwift Data+Extension.swift
[55/138] Compiling CryptoSwift HMAC+Foundation.swift
[56/138] Compiling CryptoSwift Rabbit+Foundation.swift
[57/138] Compiling CryptoSwift String+FoundationExtension.swift
[58/138] Compiling CryptoSwift Utils+Foundation.swift
[59/138] Compiling CryptoSwift Generics.swift
[60/138] Compiling CryptoSwift HKDF.swift
[61/138] Compiling CryptoSwift HMAC.swift
[62/138] Compiling CryptoSwift ISO10126Padding.swift
[63/138] Compiling CryptoSwift ISO78164Padding.swift
[64/138] Compiling CryptoSwift Int+Extension.swift
[65/138] Compiling CryptoSwift MD5.swift
[66/138] Compiling CryptoSwift NoPadding.swift
[67/138] Compiling CryptoSwift Operators.swift
[68/138] Compiling CryptoSwift PBKDF1.swift
[69/150] Compiling BigInt Subtraction.swift
[70/150] Compiling BigInt Words and Bits.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 Addition.swift
[87/152] Compiling CryptoSwift BigInt.swift
[88/152] Compiling CryptoSwift BigUInt.swift
[89/152] Compiling CryptoSwift Bitwise Ops.swift
[90/152] Compiling CryptoSwift CS.swift
[91/152] Compiling CryptoSwift Codable.swift
[92/152] Compiling CryptoSwift Comparable.swift
[93/152] Compiling CryptoSwift Data Conversion.swift
[94/152] Compiling CryptoSwift Division.swift
[95/152] Compiling CryptoSwift Exponentiation.swift
[96/152] Compiling CryptoSwift Floating Point Conversion.swift
[97/152] Compiling CryptoSwift GCD.swift
[98/152] Compiling CryptoSwift Hashable.swift
[99/152] Emitting module CryptoSwift
[100/152] Compiling CryptoSwift SecureBytes.swift
[101/152] Compiling CryptoSwift StreamDecryptor.swift
[102/152] Compiling CryptoSwift StreamEncryptor.swift
[103/152] Compiling CryptoSwift String+Extension.swift
[104/152] Compiling CryptoSwift UInt128.swift
[105/152] Compiling CryptoSwift UInt16+Extension.swift
[106/152] Compiling CryptoSwift UInt32+Extension.swift
[107/152] Compiling CryptoSwift UInt64+Extension.swift
[108/152] Compiling CryptoSwift UInt8+Extension.swift
[109/152] Compiling CryptoSwift Updatable.swift
[110/152] Compiling CryptoSwift Utils.swift
[111/152] Compiling CryptoSwift ZeroPadding.swift
[134/152] Compiling CryptoSwift PCBC.swift
[135/152] Compiling CryptoSwift Blowfish.swift
[136/152] Compiling CryptoSwift CBCMAC.swift
[137/152] Compiling CryptoSwift CMAC.swift
[138/152] Compiling CryptoSwift PBKDF2.swift
[139/152] Compiling CryptoSwift PKCS5.swift
[140/152] Compiling CryptoSwift PKCS7.swift
[141/152] Compiling CryptoSwift PKCS7Padding.swift
[142/152] Compiling CryptoSwift Padding.swift
[143/152] Compiling CryptoSwift Poly1305.swift
[144/152] Compiling CryptoSwift RSA.swift
[145/152] Compiling CryptoSwift Rabbit.swift
[146/152] Compiling CryptoSwift SHA1.swift
[147/152] Compiling CryptoSwift SHA2.swift
[148/152] Compiling CryptoSwift SHA3.swift
[149/152] Compiling CryptoSwift Scrypt.swift
[152/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)
~~~~~~~ ^~~~
[153/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)
~~~~~~~ ^~~~
[154/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)
~~~~~~~ ^~~~
[155/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)
~~~~~~~ ^~~~
[156/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)
~~~~~~~ ^~~~
[157/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)
~~~~~~~ ^~~~
[158/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)
~~~~~~~ ^~~~
[159/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)
~~~~~~~ ^~~~
[160/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)
~~~~~~~ ^~~~
[161/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)
[162/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
^
[163/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 {
^~~~~~~~~~~~~
[164/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 {
^~~~~~~~~~~~~
[165/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 {
^~~~~~~~~~~~~
[166/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 {
^~~~~~~~~~~~~
[167/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 {
^~~~~~~~~~~~~
[168/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 {
^~~~~~~~~~~~~
[169/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 {
^~~~~~~~~~~~~
[170/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 {
^~~~~~~~~~~~~
[171/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 {
^~~~~~~~~~~~~
[172/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) {
^~~~~~~~~~
[173/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) {
^~~~~~~~~~
[174/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) {
^~~~~~~~~~
[175/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) {
^~~~~~~~~~
[176/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) {
^~~~~~~~~~
[177/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) {
^~~~~~~~~~
[178/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) {
^~~~~~~~~~
[179/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) {
^~~~~~~~~~
[180/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) {
^~~~~~~~~~
[181/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) {
^~~~~~~~~~
[182/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 {
^~~~~~~~~~~~~
[183/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 {
^~~~~~~~~~~~~
[184/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 {
^~~~~~~~~~~~~
[185/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 {
^~~~~~~~~~~~~
[186/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 {
^~~~~~~~~~~~~
[187/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 {
^~~~~~~~~~~~~
[188/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 {
^~~~~~~~~~~~~
[189/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 {
^~~~~~~~~~~~~
[190/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 {
^~~~~~~~~~~~~
[191/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
^
[192/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
^
[193/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
^
[194/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
^
[195/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
^
[196/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
^
[197/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
^
[198/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
^
[199/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
^
[200/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)
~~~~~~~~~~ ^~~~
[201/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)
~~~~~~~~~~ ^~~~
[202/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)
~~~~~~~~~~ ^~~~
[203/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)
~~~~~~~~~~ ^~~~
[204/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)
~~~~~~~~~~ ^~~~
[205/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)
~~~~~~~~~~ ^~~~
[206/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)
~~~~~~~~~~ ^~~~
[207/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)
~~~~~~~~~~ ^~~~
[208/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)
~~~~~~~~~~ ^~~~
[209/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)
~~~~~~~~~~ ^~~~
[210/231] Compiling Web3Core Decodable+Extensions.swift
[211/231] Compiling Web3Core Dictionary+Extension.swift
[212/231] Compiling Web3Core Encodable+Extensions.swift
[213/231] Compiling Web3Core NSRegularExpression+Extension.swift
[214/231] Compiling Web3Core NativeTypesEncoding+Extension.swift
[215/231] Compiling Web3Core RIPEMD160+StackOveflow.swift
[216/231] Compiling Web3Core String+Extension.swift
[217/231] Compiling Web3Core Utilities.swift
[218/231] Compiling Web3Core Web3Error.swift
[219/231] Compiling Web3Core ContractProtocol.swift
[220/231] Compiling Web3Core EthereumContract.swift
[221/231] Compiling Web3Core ABI.swift
[222/231] Compiling Web3Core ABIDecoding.swift
[223/231] Compiling Web3Core ABIElements.swift
[224/231] Compiling Web3Core ABIEncoding.swift
[225/231] Compiling Web3Core ABIError.swift
[226/231] Compiling Web3Core ABIParameterTypes.swift
[227/231] Compiling Web3Core ABIParsing.swift
[228/231] Compiling Web3Core ABITypeParser.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
import zlib
^
BUILD FAILURE 5.8 linux