Build Information
Failed to build Web3swift with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" 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: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[207/210] Compiling Web3Core ABIError.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[208/210] Compiling Web3Core ABIParameterTypes.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[209/210] Compiling Web3Core ABIParsing.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
[210/210] Compiling Web3Core ABITypeParser.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:65: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:86: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:84: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: provide a default value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
?? <#default value#>
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: force-unwrap the value to avoid this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:85: note: explicitly cast to 'Any' with 'as Any' to silence this warning
return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
as Any
error: fatalError
[0/1] Planning build
Building for debugging...
[0/2] Compiling secp256k1 secp256k1.c
[2/3] Emitting module BigInt
[5/5] Emitting module CryptoSwift
[8/58] Compiling Web3Core RequestParameter+RawRepresentable.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[9/58] Compiling Web3Core RequestParameter.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[10/58] Compiling Web3Core Async+BackwardCapability.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[11/58] Compiling Web3Core HexDecodable+Extensions.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[12/58] Compiling Web3Core HexDecodableProtocols.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[13/58] Compiling Web3Core IntegerInitableWithRadix.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[14/58] Compiling Web3Core AbstractKeystore.swift
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift:13:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, HTTPURLResponse) {
^~~~~~~~~~
[15/65] Compiling Web3Core TransactionInBlock.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[16/65] Compiling Web3Core TransactionReceipt.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[17/65] Compiling Web3Core TxPoolContent.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[18/65] Compiling Web3Core TxPoolStatus.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[19/65] Compiling Web3Core Web3ProviderProtocol.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[20/65] Compiling Web3Core CodableTransaction.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[21/65] Compiling Web3Core AbstractEnvelope.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[22/65] 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)
~~~~~~~ ^~~~
[23/65] 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)
~~~~~~~ ^~~~
[24/65] 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)
~~~~~~~ ^~~~
[25/65] 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)
~~~~~~~ ^~~~
[26/65] 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)
~~~~~~~ ^~~~
[27/65] 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)
~~~~~~~ ^~~~
[28/65] 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)
~~~~~~~ ^~~~
[29/65] 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)
~~~~~~~ ^~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/65] Emitting module Web3Core
/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/Utility/Async+BackwardCapability.swift:12:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession {
^ ~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift:15:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var session: URLSession {get}
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[31/65] Compiling Web3Core EventfilterParameters.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[32/65] Compiling Web3Core Policies.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[33/65] Compiling Web3Core TransactionMetadata.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[34/65] Compiling Web3Core Array+Extension.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[35/65] Compiling Web3Core BigUInt+Extension.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[36/65] Compiling Web3Core CryptoExtension.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[37/65] Compiling Web3Core Data+Extension.swift
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:22: error: cannot find 'SecRandomCopyBytes' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:57:41: error: cannot find 'kSecRandomDefault' in scope
let status = SecRandomCopyBytes(kSecRandomDefault, entropyBytes.count, &entropyBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift:58:25: error: cannot find 'errSecSuccess' in scope
guard status == errSecSuccess else {
^~~~~~~~~~~~~
[38/65] Compiling Web3Core Base58.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[39/65] Compiling Web3Core Block.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[40/65] Compiling Web3Core BlockNumber.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[41/65] Compiling Web3Core Event+Protocol.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[42/65] Compiling Web3Core EventLog.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[43/65] Compiling Web3Core SECP256k1.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[44/65] Compiling Web3Core TransactionDetails.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
if let res = result, res == errSecSuccess {
^~~~~~~~~~~~~
[45/65] Compiling Web3Core BIP32HDNode.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[46/65] Compiling Web3Core BIP32Keystore.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[47/65] Compiling Web3Core BIP39+WordLists.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[48/65] Compiling Web3Core BIP39.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[49/65] Compiling Web3Core BIP44.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[50/65] Compiling Web3Core EthereumKeystoreV3.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[51/65] Compiling Web3Core EtherscanTransactionChecker.swift
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:13:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(urlSession: URLSession, apiKey: String) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:60:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse)
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:64:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
let urlSession: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:66:63: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest) async throws -> (Data, URLResponse) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:28:23: error: cannot find 'URLRequest' in scope
let request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift:67:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
try await urlSession.data(for: request)
~~~~~~~~~~ ^~~~
[52/65] Compiling Web3Core IBAN.swift
[53/65] Compiling Web3Core KeystoreManager.swift
[54/65] Compiling Web3Core KeystoreParams.swift
[55/65] Compiling Web3Core PathAddressStorage.swift
[56/65] Compiling Web3Core PlainKeystore.swift
[57/65] Compiling Web3Core GasOracle.swift
[58/65] Compiling Web3Core RLP.swift
[59/65] Compiling Web3Core EIP1559Envelope.swift
[60/65] Compiling Web3Core EIP2718Envelope.swift
[61/65] Compiling Web3Core EIP2930Envelope.swift
[62/65] Compiling Web3Core EnvelopeFactory.swift
[63/65] Compiling Web3Core LegacyEnvelope.swift
[64/65] Compiling Web3Core EIP2930Compatible.swift
[65/65] Compiling Web3Core EthereumBloomFilter.swift
[66/76] Compiling Web3Core NativeTypesEncoding+Extension.swift
[67/76] Compiling Web3Core Decodable+Extensions.swift
[68/76] Compiling Web3Core Utilities.swift
[69/76] Compiling Web3Core RIPEMD160+StackOveflow.swift
[70/76] Compiling Web3Core String+Extension.swift
[71/76] Compiling Web3Core ContractProtocol.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
[72/76] Compiling Web3Core EthereumContract.swift
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^
/host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift:382:56: note: use 'selectorEncoded' instead
let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
^~~~~~~~~~~~~~
selectorEncoded
[73/76] Compiling Web3Core ABIEncoding.swift
/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
[74/76] Compiling Web3Core ABIParameterTypes.swift
/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
[75/76] Compiling Web3Core ABIDecoding.swift
/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
[76/76] Compiling Web3Core ABIElements.swift
/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
error: fatalError
BUILD FAILURE 5.9 linux