Build Information
Failed to build Web3swift, reference 3.2.2 (8a0261
), with Swift 5.8 for Linux on 30 Sep 2024 04:11:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[184/210] Compiling Web3Core IBAN.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[185/210] Compiling Web3Core KeystoreManager.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[186/210] Compiling Web3Core KeystoreParams.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[187/210] Compiling Web3Core PathAddressStorage.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[188/210] Compiling Web3Core PlainKeystore.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[189/210] Compiling Web3Core GasOracle.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[190/210] Compiling Web3Core RLP.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[191/210] Compiling Web3Core Base58.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[192/210] Compiling Web3Core Decodable+Extensions.swift
[193/210] Compiling Web3Core Dictionary+Extension.swift
[194/210] Compiling Web3Core Encodable+Extensions.swift
[195/210] Compiling Web3Core NSRegularExpression+Extension.swift
[196/210] Compiling Web3Core NativeTypesEncoding+Extension.swift
[197/210] Compiling Web3Core RIPEMD160+StackOveflow.swift
[198/210] Compiling Web3Core String+Extension.swift
[199/210] Compiling Web3Core Utilities.swift
[200/210] Compiling Web3Core Web3Error.swift
[201/210] Compiling Web3Core ContractProtocol.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[202/210] Compiling Web3Core EthereumContract.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[203/210] Compiling Web3Core ABI.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[204/210] Compiling Web3Core ABIDecoding.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[205/210] Compiling Web3Core ABIElements.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[206/210] Compiling Web3Core ABIEncoding.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[207/210] Compiling Web3Core ABIError.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[208/210] Compiling Web3Core ABIParameterTypes.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[209/210] Compiling Web3Core ABIParsing.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[210/210] Compiling Web3Core ABITypeParser.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
BUILD FAILURE 5.8 linux