Build Information
Failed to build Web3swift, reference 3.2.2 (8a0261
), with Swift 5.9 for Linux on 30 Sep 2024 04:11:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
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
[193/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
[194/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
[195/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
[196/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
[197/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
[198/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
[199/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
[200/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
[201/210] Compiling Web3Core Sequence+ABIExtension.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[202/210] Compiling Web3Core EthereumAddress.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[203/210] Compiling Web3Core APIRequest+ComputedProperties.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[204/210] Compiling Web3Core APIRequest+Methods.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[205/210] Compiling Web3Core APIRequest+UtilityTypes.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[206/210] Compiling Web3Core APIRequest.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[207/210] Compiling Web3Core APIRequestParameterType.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[208/210] Compiling Web3Core RequestParameter+Encodable.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[209/210] Compiling Web3Core RequestParameter+RawRepresentable.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
[210/210] Compiling Web3Core RequestParameter.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead.
errors[error.methodString.addHexPrefix().lowercased()] = error
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:82:85: error: cannot find type 'URLRequest' in scope
static func setupRequest(for body: RequestBody, with provider: Web3Provider) -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:41: error: cannot find type 'URLRequest' in scope
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:120:67: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static func send(uRLRequest: URLRequest, with session: URLSession) async throws -> Data {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:26: error: cannot find 'URLRequest' in scope
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:83:70: error: cannot infer contextual base in reference to member 'reloadIgnoringCacheData'
var urlRequest = URLRequest(url: provider.url, cachePolicy: .reloadIgnoringCacheData)
~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:24: error: cannot assign value of type 'APIResponse<Result>' to type 'Data'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:30: error: generic parameter 'Result' could not be inferred
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: in call to function 'send(_:parameters:with:)'
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:34: error: extraneous argument label 'uRLRequest:' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:57: error: missing argument for parameter 'parameters' in call
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
, parameters: <#[Encodable]#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:91:24: note: 'send(_:parameters:with:)' declared here
public static func send<Result>(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse<Result> {
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:97:74: error: argument type 'URLSession' (aka 'AnyObject') does not conform to expected type 'Web3Provider'
data = try await send(uRLRequest: uRLRequest, with: provider.session)
^
as! Web3Provider
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift:121:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
let (data, response) = try await session.data(for: uRLRequest)
~~~~~~~ ^~~~
error: fatalError
BUILD FAILURE 5.9 linux