Build Information
Failed to build Push, reference main (ec9a74
), with Swift 6.0 for Linux on 15 Sep 2024 14:27:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
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: 6.0
Building package at path: $PWD
https://github.com/push-protocol/push-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/web3swift-team/web3swift.git
Fetching https://github.com/daltoniam/Starscream
[1/12703] Fetching cryptoswift
[256/17571] Fetching cryptoswift, starscream
[3319/47874] Fetching cryptoswift, starscream, web3swift
Fetched https://github.com/daltoniam/Starscream from cache (0.87s)
[6764/43006] Fetching cryptoswift, web3swift
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git
Fetching https://github.com/attaswift/BigInt.git
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.43s)
[12617/30303] Fetching web3swift
[12618/35009] Fetching web3swift, bigint
[23401/46498] Fetching web3swift, bigint, objectivepgp
Fetched https://github.com/attaswift/BigInt.git from cache (0.81s)
[19969/41792] Fetching web3swift, objectivepgp
Fetching https://github.com/socketio/socket.io-client-swift.git
Fetched https://github.com/web3swift-team/web3swift.git from cache (5.90s)
[4138/22706] Fetching objectivepgp, socket.io-client-swift
Fetched https://github.com/socketio/socket.io-client-swift.git from cache (0.72s)
[4465/11489] Fetching objectivepgp
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git from cache (13.82s)
Computing version for https://github.com/socketio/socket.io-client-swift.git
Computed https://github.com/socketio/socket.io-client-swift.git at 16.1.0 (2.54s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/web3swift-team/web3swift.git at 3.1.2 (3.17s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.65s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.79s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.58s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.51s)
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/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/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/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
Building for debugging...
[0/12] Write sources
[4/12] Copying wk.bridge.min.js
[4/12] Write sources
[8/12] Copying browser.min.js
[9/12] Copying browser.js
[10/12] Write swift-version-24593BA9C3E375BF.txt
[11/142] Compiling secp256k1 secp256k1.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/142] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[14/144] Emitting module BigInt
[15/146] Compiling BigInt Subtraction.swift
[16/146] Compiling BigInt Words and Bits.swift
[17/146] Compiling CryptoSwift OFB.swift
[18/146] Compiling CryptoSwift PCBC.swift
[19/146] Compiling CryptoSwift Blowfish.swift
[20/146] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[21/146] Compiling CryptoSwift AES.Cryptors.swift
[22/146] Compiling CryptoSwift AES.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[24/146] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[25/146] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[26/146] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[27/146] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[28/146] Emitting module CryptoSwift
[30/158] Compiling Starscream TCPTransport.swift
[31/158] Compiling Starscream Transport.swift
[32/158] Compiling CryptoSwift CBCMAC.swift
[33/158] Compiling CryptoSwift CMAC.swift
[34/158] Compiling CryptoSwift AEAD.swift
[38/158] Compiling CryptoSwift GCM.swift
[39/158] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[42/158] Compiling CryptoSwift CBC.swift
[43/158] Compiling CryptoSwift CCM.swift
[44/158] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
[56/159] Compiling CryptoSwift Collection+Extension.swift
[57/159] Compiling CryptoSwift CompactMap.swift
[58/159] Compiling CryptoSwift Cryptor.swift
[59/159] Compiling CryptoSwift Cryptors.swift
[60/159] Compiling CryptoSwift Digest.swift
[61/159] Compiling CryptoSwift DigestType.swift
[62/159] Compiling CryptoSwift AES+Foundation.swift
[63/159] Compiling CryptoSwift Array+Foundation.swift
[64/159] Compiling CryptoSwift Blowfish+Foundation.swift
[65/159] Compiling CryptoSwift ChaCha20+Foundation.swift
[66/159] Compiling CryptoSwift Data+Extension.swift
[67/159] Compiling CryptoSwift HMAC+Foundation.swift
[68/159] Compiling CryptoSwift Rabbit+Foundation.swift
[82/159] Compiling CryptoSwift Integer Conversion.swift
[83/159] Compiling CryptoSwift Multiplication.swift
[84/159] Compiling CryptoSwift Prime Test.swift
[85/159] Compiling CryptoSwift Random.swift
[86/159] Compiling CryptoSwift Shifts.swift
[87/159] Compiling CryptoSwift Square Root.swift
[88/159] Compiling CryptoSwift Strideable.swift
[89/159] Compiling CryptoSwift String Conversion.swift
[90/159] Compiling CryptoSwift Subtraction.swift
[91/159] Compiling CryptoSwift Words and Bits.swift
[92/159] Compiling CryptoSwift ChaCha20.swift
[93/159] Compiling CryptoSwift Checksum.swift
[94/159] Compiling CryptoSwift Cipher.swift
[104/159] Compiling CryptoSwift BlockDecryptor.swift
[105/159] Compiling CryptoSwift BlockEncryptor.swift
[106/159] Compiling CryptoSwift BlockMode.swift
[107/159] Compiling CryptoSwift BlockModeOptions.swift
[108/159] Compiling CryptoSwift Addition.swift
[109/159] Compiling CryptoSwift BigInt.swift
[110/159] Compiling CryptoSwift BigUInt.swift
[111/159] Compiling CryptoSwift Bitwise Ops.swift
[112/159] Compiling CryptoSwift CS.swift
[113/159] Compiling CryptoSwift Codable.swift
[114/159] Compiling CryptoSwift Comparable.swift
[115/159] Compiling CryptoSwift Data Conversion.swift
[116/159] Compiling CryptoSwift Division.swift
[117/159] Compiling CryptoSwift Exponentiation.swift
[118/159] Compiling CryptoSwift Floating Point Conversion.swift
[119/159] Compiling CryptoSwift GCD.swift
[120/159] Compiling CryptoSwift Hashable.swift
[121/159] Compiling CryptoSwift String+FoundationExtension.swift
[122/159] Compiling CryptoSwift Utils+Foundation.swift
[123/159] Compiling CryptoSwift Generics.swift
[124/159] Compiling CryptoSwift HKDF.swift
[125/159] Compiling CryptoSwift HMAC.swift
[126/159] Compiling CryptoSwift ISO10126Padding.swift
[127/159] Compiling CryptoSwift ISO78164Padding.swift
[128/159] Compiling CryptoSwift Int+Extension.swift
[129/159] Compiling CryptoSwift MD5.swift
[130/159] Compiling CryptoSwift NoPadding.swift
[131/159] Compiling CryptoSwift Operators.swift
[132/159] Compiling CryptoSwift PBKDF1.swift
[133/159] Compiling CryptoSwift PBKDF2.swift
[134/159] Compiling CryptoSwift PKCS5.swift
[135/159] Compiling CryptoSwift PKCS7.swift
[136/159] Compiling CryptoSwift PKCS7Padding.swift
[137/159] Compiling CryptoSwift Padding.swift
[138/159] Compiling CryptoSwift Poly1305.swift
[139/159] Compiling CryptoSwift RSA.swift
[140/159] Compiling CryptoSwift Rabbit.swift
[141/159] Compiling CryptoSwift SHA1.swift
[142/159] Compiling CryptoSwift SHA2.swift
[143/159] Compiling CryptoSwift SHA3.swift
[144/159] Compiling CryptoSwift Scrypt.swift
[145/159] Compiling CryptoSwift SecureBytes.swift
[146/159] Compiling CryptoSwift StreamDecryptor.swift
[147/159] Compiling CryptoSwift StreamEncryptor.swift
[148/159] Compiling CryptoSwift String+Extension.swift
[149/159] Compiling CryptoSwift UInt128.swift
[150/159] Compiling CryptoSwift UInt16+Extension.swift
[151/159] Compiling CryptoSwift UInt32+Extension.swift
[152/159] Compiling CryptoSwift UInt64+Extension.swift
[153/159] Compiling CryptoSwift UInt8+Extension.swift
[154/159] Compiling CryptoSwift Updatable.swift
[155/159] Compiling CryptoSwift Utils.swift
[156/159] Compiling CryptoSwift ZeroPadding.swift
[158/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[159/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[160/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[161/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[162/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[163/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[164/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[165/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[166/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[167/228] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:18:26: error: cannot find 'URLRequest' in scope
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot find 'URLRequest' in scope
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
20 | urlRequest.setValue("application/json", forHTTPHeaderField: "Accept")
/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'
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
27 | let (data, response) = try await session.data(for: uRLRequest)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
28 |
29 | guard 200 ..< 400 ~= response.statusCode else {
[168/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[169/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[170/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[171/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[172/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[173/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[174/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[175/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
[176/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
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'SecRandomCopyBytes' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:49:47: error: cannot find 'kSecRandomDefault' in scope
47 | if let bodyAddress = body.baseAddress, body.count > 0 {
48 | let pointer = bodyAddress.assumingMemoryBound(to: UInt8.self)
49 | return SecRandomCopyBytes(kSecRandomDefault, length, pointer)
| `- error: cannot find 'kSecRandomDefault' in scope
50 | } else {
51 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Utility/Data+Extension.swift:54:59: error: cannot find 'errSecSuccess' in scope
52 | }
53 | }
54 | if let notNilResult = result, notNilResult == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
55 | return data
56 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[177/237] 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
15 | }
16 |
17 | static func setupRequest(for call: APIRequest, with provider: Web3Provider) -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
18 | var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
19 | urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:26:49: error: cannot find type 'URLRequest' in scope
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: cannot find type 'URLRequest' in scope
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
/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.
24 | }
25 |
26 | public static func send<Result>(uRLRequest: URLRequest, with session: URLSession) async throws -> APIResponse<Result> {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | let (data, response) = try await session.data(for: uRLRequest)
28 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[178/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[179/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[180/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[181/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[182/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[183/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[184/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[185/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[186/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.
13 | var policies: Policies {get set}
14 | var url: URL {get}
15 | var session: URLSession {get}
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 | }
17 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
[187/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[188/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[189/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[190/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[191/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[192/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[193/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[194/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[195/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[196/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
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: cannot find type 'URLRequest' in scope
61 | }
62 |
/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.
11 | private let successRange = 200..<300
12 |
13 | public init(urlSession: URLSession, apiKey: String) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 | self.urlSession = URLSessionProxyImplementation(urlSession: urlSession)
15 | self.apiKey = apiKey
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/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.
58 |
59 | internal protocol URLSessionProxy {
60 | func data(for request: URLRequest) async throws -> (Data, URLResponse)
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | }
62 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/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.
62 |
63 | internal struct URLSessionProxyImplementation: URLSessionProxy {
64 | let urlSession: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: cannot find type 'URLRequest' in scope
67 | try await urlSession.data(for: request)
68 | }
/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.
64 | let urlSession: URLSession
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | try await urlSession.data(for: request)
68 | }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
26 | throw EtherscanTransactionCheckerError.invalidUrl(url: urlString)
27 | }
28 | let request = URLRequest(url: url)
| `- error: cannot find 'URLRequest' in scope
29 | let result = try await urlSession.data(for: request)
30 | if let httpResponse = result.1 as? HTTPURLResponse, !successRange.contains(httpResponse.statusCode) {
/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'
65 |
66 | func data(for request: URLRequest) async throws -> (Data, URLResponse) {
67 | try await urlSession.data(for: request)
| `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
68 | }
69 | }
[197/237] Compiling Web3Core Decodable+Extensions.swift
[198/237] Compiling Web3Core Dictionary+Extension.swift
[199/237] Compiling Web3Core Encodable+Extensions.swift
[200/237] Compiling Web3Core NSRegularExpression+Extension.swift
[201/237] Compiling Web3Core NativeTypesEncoding+Extension.swift
[202/237] Compiling Web3Core RIPEMD160+StackOveflow.swift
[203/237] Compiling Web3Core String+Extension.swift
[204/237] Compiling Web3Core Utilities.swift
[205/237] Compiling Web3Core Web3Error.swift
[206/237] Compiling Web3Core ContractProtocol.swift
[207/237] Compiling Web3Core EthereumContract.swift
[208/237] Compiling Web3Core ABI.swift
[209/237] Compiling Web3Core ABIDecoding.swift
[210/237] Compiling Web3Core ABIElements.swift
[211/237] Compiling Web3Core ABIEncoding.swift
[212/237] Compiling Web3Core ABIError.swift
[213/237] Compiling Web3Core ABIParameterTypes.swift
[214/237] Compiling Web3Core ABIParsing.swift
[215/237] Compiling Web3Core ABITypeParser.swift
[216/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[217/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[218/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[219/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[220/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[221/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[222/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[223/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[224/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[225/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
10 | @available(iOS, obsoleted: 15.0, message: "Use the built-in API instead")
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
14 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
11 | @available(macOS, obsoleted: 12.0, message: "Use the built-in API instead")
12 | extension URLSession {
13 | func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
| `- error: cannot find type 'URLRequest' in scope
14 | try await withCheckedThrowingContinuation { continuation in
15 | let dataTask = self.dataTask(with: request) { data, response, error in
[226/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[227/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[228/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[229/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[230/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[231/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[232/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[233/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
[234/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
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'SecRandomCopyBytes' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 | if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 | let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 | return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
| `- error: cannot find 'kSecRandomDefault' in scope
348 | } else {
349 | return nil
/host/spi-builder-workspace/.build/checkouts/web3swift/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 | }
351 | }
352 | if let res = result, res == errSecSuccess {
| `- error: cannot find 'errSecSuccess' in scope
353 | return data
354 | } else {
BUILD FAILURE 6.0 linux