Build Information
Successful build of Web3swift, reference 3.2.2 (8a0261
), with Swift 5.8 for macOS (SPM) on 30 Sep 2024 04:12:00 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/web3swift-team/web3swift.git
Reference: 3.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/web3swift-team/web3swift
* tag 3.2.2 -> FETCH_HEAD
HEAD is now at 8a02610 Broken tests fixed: - Goerli gateway returns 403 now - "https://rpc-mainnet.maticvigil.com/" returns 410 now - `testInitURLError` shouldn't be working since there's always valid URL built within the client method itself, but it fails on empty data (wrong place).
Cloned https://github.com/web3swift-team/web3swift.git
Revision (git rev-parse @):
8a026108ae5ff730ac83e9b574c8cf1c14413c94
SUCCESS checkout https://github.com/web3swift-team/web3swift.git at 3.2.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $PWD
https://github.com/web3swift-team/web3swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying wk.bridge.min.js
[0/4] Copying browser.js
[1/4] Copying browser.min.js
[3/117] Compiling secp256k1 secp256k1.c
[5/117] Emitting module BigInt
[6/119] Compiling CryptoSwift Addition.swift
[7/119] Compiling CryptoSwift BigInt.swift
[8/119] Compiling CryptoSwift BigUInt.swift
[9/119] Compiling CryptoSwift Bitwise Ops.swift
[10/119] Compiling BigInt Subtraction.swift
[11/119] Compiling BigInt Words and Bits.swift
[12/119] Compiling CryptoSwift Blowfish.swift
[13/119] Compiling CryptoSwift CBCMAC.swift
[14/119] Compiling CryptoSwift CMAC.swift
[15/119] Compiling CryptoSwift BlockMode.swift
[16/119] Compiling CryptoSwift BlockModeOptions.swift
[17/119] Compiling CryptoSwift CBC.swift
[18/119] Compiling CryptoSwift CCM.swift
[19/119] Compiling CryptoSwift CFB.swift
[20/119] Compiling CryptoSwift CTR.swift
[21/119] Compiling CryptoSwift CipherModeWorker.swift
[22/119] Compiling CryptoSwift ECB.swift
[23/119] Compiling CryptoSwift GCM.swift
[24/119] Compiling CryptoSwift OCB.swift
[25/119] Compiling CryptoSwift Cipher.swift
[26/119] Compiling CryptoSwift Collection+Extension.swift
[27/119] Compiling CryptoSwift CompactMap.swift
[28/119] Compiling CryptoSwift Cryptor.swift
[29/119] Compiling CryptoSwift Cryptors.swift
[30/119] Compiling CryptoSwift Digest.swift
[31/119] Compiling CryptoSwift DigestType.swift
[32/119] Compiling CryptoSwift AES+Foundation.swift
[33/119] Compiling CryptoSwift Array+Foundation.swift
[34/119] Compiling CryptoSwift Blowfish+Foundation.swift
[35/129] Compiling CryptoSwift Authenticator.swift
[36/129] Compiling CryptoSwift BatchedCollection.swift
[37/129] Compiling CryptoSwift Bit.swift
[38/129] Compiling CryptoSwift BlockCipher.swift
[39/129] Compiling CryptoSwift AES.swift
[40/129] Compiling CryptoSwift Array+Extension.swift
[41/129] Compiling CryptoSwift BlockDecryptor.swift
[42/129] Compiling CryptoSwift BlockEncryptor.swift
[43/129] Compiling CryptoSwift AEAD.swift
[44/129] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[45/129] Compiling CryptoSwift AES.Cryptors.swift
[46/129] Compiling CryptoSwift OFB.swift
[47/129] Compiling CryptoSwift PCBC.swift
[49/129] Compiling CryptoSwift Comparable.swift
[50/129] Compiling CryptoSwift Data Conversion.swift
[51/129] Compiling CryptoSwift Division.swift
[52/129] Compiling CryptoSwift Exponentiation.swift
[53/129] Compiling CryptoSwift Floating Point Conversion.swift
[54/129] Compiling CryptoSwift GCD.swift
[55/129] Compiling CryptoSwift Hashable.swift
[56/129] Compiling CryptoSwift Integer Conversion.swift
[57/129] Compiling CryptoSwift Multiplication.swift
[58/129] Compiling CryptoSwift Prime Test.swift
[59/129] Compiling CryptoSwift Random.swift
[60/129] Compiling CryptoSwift Shifts.swift
[61/129] Compiling CryptoSwift Square Root.swift
[62/129] Compiling CryptoSwift Strideable.swift
[63/129] Compiling CryptoSwift String Conversion.swift
[64/129] Compiling CryptoSwift Subtraction.swift
[65/129] Compiling CryptoSwift Words and Bits.swift
[66/129] Compiling CryptoSwift ChaCha20.swift
[67/129] Compiling CryptoSwift Checksum.swift
[78/129] Emitting module CryptoSwift
[90/129] Compiling CryptoSwift StreamEncryptor.swift
[91/129] Compiling CryptoSwift String+Extension.swift
[92/129] Compiling CryptoSwift UInt128.swift
[93/129] Compiling CryptoSwift UInt16+Extension.swift
[94/129] Compiling CryptoSwift UInt32+Extension.swift
[95/129] Compiling CryptoSwift UInt64+Extension.swift
[96/129] Compiling CryptoSwift UInt8+Extension.swift
[97/129] Compiling CryptoSwift Updatable.swift
[98/129] Compiling CryptoSwift Utils.swift
[99/129] Compiling CryptoSwift ZeroPadding.swift
[100/129] Compiling CryptoSwift ISO78164Padding.swift
[101/129] Compiling CryptoSwift Int+Extension.swift
[102/129] Compiling CryptoSwift MD5.swift
[103/129] Compiling CryptoSwift NoPadding.swift
[104/129] Compiling CryptoSwift Operators.swift
[105/129] Compiling CryptoSwift PBKDF1.swift
[106/129] Compiling CryptoSwift PBKDF2.swift
[107/129] Compiling CryptoSwift PKCS5.swift
[108/129] Compiling CryptoSwift PKCS7.swift
[109/129] Compiling CryptoSwift PKCS7Padding.swift
[110/129] Compiling CryptoSwift ChaCha20+Foundation.swift
[111/129] Compiling CryptoSwift Data+Extension.swift
[112/129] Compiling CryptoSwift HMAC+Foundation.swift
[113/129] Compiling CryptoSwift Rabbit+Foundation.swift
[114/129] Compiling CryptoSwift String+FoundationExtension.swift
[115/129] Compiling CryptoSwift Utils+Foundation.swift
[116/129] Compiling CryptoSwift Generics.swift
[117/129] Compiling CryptoSwift HKDF.swift
[118/129] Compiling CryptoSwift HMAC.swift
[119/129] Compiling CryptoSwift ISO10126Padding.swift
[120/129] Compiling CryptoSwift Padding.swift
[121/129] Compiling CryptoSwift Poly1305.swift
[122/129] Compiling CryptoSwift RSA.swift
[123/129] Compiling CryptoSwift Rabbit.swift
[124/129] Compiling CryptoSwift SHA1.swift
[125/129] Compiling CryptoSwift SHA2.swift
[126/129] Compiling CryptoSwift SHA3.swift
[127/129] Compiling CryptoSwift Scrypt.swift
[128/129] Compiling CryptoSwift SecureBytes.swift
[129/129] Compiling CryptoSwift StreamDecryptor.swift
[130/199] Emitting module Web3Core
[131/206] Compiling Web3Core TransactionMetadata.swift
[132/206] Compiling Web3Core Array+Extension.swift
[133/206] Compiling Web3Core BigUInt+Extension.swift
[134/206] Compiling Web3Core CryptoExtension.swift
[135/206] Compiling Web3Core Data+Extension.swift
[136/206] Compiling Web3Core Decodable+Extensions.swift
[137/206] Compiling Web3Core Dictionary+Extension.swift
[138/206] Compiling Web3Core TxPoolContent.swift
[139/206] Compiling Web3Core TxPoolStatus.swift
[140/206] Compiling Web3Core Web3ProviderProtocol.swift
[141/206] Compiling Web3Core CodableTransaction.swift
[142/206] Compiling Web3Core AbstractEnvelope.swift
[143/206] Compiling Web3Core EIP1559Envelope.swift
[144/206] Compiling Web3Core EIP2718Envelope.swift
[145/206] Compiling Web3Core Block.swift
[146/206] Compiling Web3Core BlockNumber.swift
[147/206] Compiling Web3Core Event+Protocol.swift
[148/206] Compiling Web3Core EventLog.swift
[149/206] Compiling Web3Core SECP256k1.swift
[150/206] Compiling Web3Core TransactionDetails.swift
[151/206] Compiling Web3Core TransactionInBlock.swift
[152/206] Compiling Web3Core TransactionReceipt.swift
[153/206] Compiling Web3Core AbstractKeystore.swift
[154/206] Compiling Web3Core BIP32HDNode.swift
[155/206] Compiling Web3Core BIP32Keystore.swift
[156/206] Compiling Web3Core BIP39+WordLists.swift
[157/206] Compiling Web3Core BIP39.swift
[158/206] Compiling Web3Core BIP44.swift
[159/206] Compiling Web3Core EthereumKeystoreV3.swift
[160/206] Compiling Web3Core EtherscanTransactionChecker.swift
[161/206] Compiling Web3Core EIP2930Envelope.swift
[162/206] Compiling Web3Core EnvelopeFactory.swift
[163/206] Compiling Web3Core LegacyEnvelope.swift
[164/206] Compiling Web3Core EIP2930Compatible.swift
[165/206] Compiling Web3Core EthereumBloomFilter.swift
[166/206] Compiling Web3Core EventfilterParameters.swift
[167/206] Compiling Web3Core Policies.swift
[168/206] Compiling Web3Core ABIParsing.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[169/206] Compiling Web3Core ABITypeParser.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[170/206] Compiling Web3Core Sequence+ABIExtension.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[171/206] Compiling Web3Core EthereumAddress.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[172/206] Compiling Web3Core APIRequest+ComputedProperties.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[173/206] Compiling Web3Core APIRequest+Methods.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[174/206] Compiling Web3Core APIRequest+UtilityTypes.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[175/206] Compiling Web3Core APIRequest.swift
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:31:37: note: use 'selector' instead
appendFunction(function.methodString.addHexPrefix().lowercased(), function)
^~~~~~~~~~~~
selector
/Users/admin/builder/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
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: note: use 'selector' instead
errors[error.methodString.addHexPrefix().lowercased()] = error
^~~~~~~~~~~~
selector
[176/206] Compiling Web3Core Encodable+Extensions.swift
[177/206] Compiling Web3Core NSRegularExpression+Extension.swift
[178/206] Compiling Web3Core NativeTypesEncoding+Extension.swift
[179/206] Compiling Web3Core RIPEMD160+StackOveflow.swift
[180/206] Compiling Web3Core String+Extension.swift
[181/206] Compiling Web3Core Utilities.swift
[182/206] Compiling Web3Core Web3Error.swift
[183/206] Compiling Web3Core ContractProtocol.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[184/206] Compiling Web3Core EthereumContract.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[185/206] Compiling Web3Core ABI.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[186/206] Compiling Web3Core ABIDecoding.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[187/206] Compiling Web3Core ABIElements.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[188/206] Compiling Web3Core ABIEncoding.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[189/206] Compiling Web3Core ABIError.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[190/206] Compiling Web3Core ABIParameterTypes.swift
/Users/admin/builder/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 {
^
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead.
return methodEncoding + data
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: note: use 'selectorEncoded' instead
return methodEncoding + data
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)
^
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: note: use 'selectorEncoded' instead
return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
^~~~~~~~~~~~~~
selectorEncoded
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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))!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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))!
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
/Users/admin/builder/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)!)!
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/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#>
/Users/admin/builder/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)!)!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
!
/Users/admin/builder/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
[191/206] Compiling Web3Core APIRequestParameterType.swift
[192/206] Compiling Web3Core RequestParameter+Encodable.swift
[193/206] Compiling Web3Core RequestParameter+RawRepresentable.swift
[194/206] Compiling Web3Core RequestParameter.swift
[195/206] Compiling Web3Core Async+BackwardCapability.swift
[196/206] Compiling Web3Core HexDecodable+Extensions.swift
[197/206] Compiling Web3Core HexDecodableProtocols.swift
[198/206] Compiling Web3Core IntegerInitableWithRadix.swift
[199/206] Compiling Web3Core IBAN.swift
[200/206] Compiling Web3Core KeystoreManager.swift
[201/206] Compiling Web3Core KeystoreParams.swift
[202/206] Compiling Web3Core PathAddressStorage.swift
[203/206] Compiling Web3Core PlainKeystore.swift
[204/206] Compiling Web3Core GasOracle.swift
[205/206] Compiling Web3Core RLP.swift
[206/206] Compiling Web3Core Base58.swift
[207/261] Emitting module web3swift
[208/267] Compiling web3swift Web3+ERC1644.swift
[209/267] Compiling web3swift Web3+ERC165.swift
[210/267] Compiling web3swift ERC20BaseProperties.swift
[211/267] Compiling web3swift ERC20BasePropertiesProvider.swift
[212/267] Compiling web3swift Web3+ERC20.swift
[213/267] Compiling web3swift Web3+ERC721.swift
[214/267] Compiling web3swift Web3+EIP1559.swift
[215/267] Compiling web3swift Web3+EventParser.swift
[216/267] Compiling web3swift Web3+Eventloop.swift
[217/267] Compiling web3swift Web3+HttpProvider.swift
[218/267] Compiling web3swift Web3+InfuraProviders.swift
[219/267] Compiling web3swift Web3+Instance.swift
[220/267] Compiling web3swift NameHash.swift
[221/267] Compiling web3swift PublicKey.swift
[222/267] Compiling web3swift Data+Extension.swift
[223/267] Compiling web3swift String+Extension.swift
[224/267] Compiling web3swift Web3+Constants.swift
[225/267] Compiling web3swift Web3+Contract.swift
[226/267] Compiling web3swift Web3+Personal.swift
[227/267] Compiling web3swift Web3+Resolver.swift
[228/267] Compiling web3swift Web3+Signing.swift
[229/267] Compiling web3swift Web3+Utils.swift
[230/267] Compiling web3swift Web3.swift
[231/267] Compiling web3swift resource_bundle_accessor.swift
[232/267] Compiling web3swift TransactionPollingTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Utils/EIP/EIP681.swift:369:56: warning: 'init(_:accessToken:keystoreManager:)' is deprecated: Will be removed in Web3Swift v4. Please use `init(net: Networks, accessToken: String?, keystoreManager: KeystoreManager?)` instead as it will throw an error instead of returning `nil`.
let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
^
[233/267] Compiling web3swift EIP4361.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Utils/EIP/EIP681.swift:369:56: warning: 'init(_:accessToken:keystoreManager:)' is deprecated: Will be removed in Web3Swift v4. Please use `init(net: Networks, accessToken: String?, keystoreManager: KeystoreManager?)` instead as it will throw an error instead of returning `nil`.
let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
^
[234/267] Compiling web3swift EIP67Code.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Utils/EIP/EIP681.swift:369:56: warning: 'init(_:accessToken:keystoreManager:)' is deprecated: Will be removed in Web3Swift v4. Please use `init(net: Networks, accessToken: String?, keystoreManager: KeystoreManager?)` instead as it will throw an error instead of returning `nil`.
let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
^
[235/267] Compiling web3swift EIP681.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Utils/EIP/EIP681.swift:369:56: warning: 'init(_:accessToken:keystoreManager:)' is deprecated: Will be removed in Web3Swift v4. Please use `init(net: Networks, accessToken: String?, keystoreManager: KeystoreManager?)` instead as it will throw an error instead of returning `nil`.
let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
^
[236/267] Compiling web3swift EIP712.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Utils/EIP/EIP681.swift:369:56: warning: 'init(_:accessToken:keystoreManager:)' is deprecated: Will be removed in Web3Swift v4. Please use `init(net: Networks, accessToken: String?, keystoreManager: KeystoreManager?)` instead as it will throw an error instead of returning `nil`.
let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
^
[237/267] Compiling web3swift EIP712Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Utils/EIP/EIP681.swift:369:56: warning: 'init(_:accessToken:keystoreManager:)' is deprecated: Will be removed in Web3Swift v4. Please use `init(net: Networks, accessToken: String?, keystoreManager: KeystoreManager?)` instead as it will throw an error instead of returning `nil`.
let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
^
[238/267] Compiling web3swift TxPool.swift
[239/267] Compiling web3swift Web3+BrowserFunctions.swift
[240/267] Compiling web3swift Web3+Wallet.swift
[241/267] Compiling web3swift ReadOperation.swift
[242/267] Compiling web3swift WriteOperation.swift
[243/267] Compiling web3swift Web3+ERC1155.swift
[244/267] Compiling web3swift Bridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:225:36: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
eventDetail["error"] = ["code": error.code, "description": error.description]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
[245/267] Compiling web3swift IEth+Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:225:36: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
eventDetail["error"] = ["code": error.code, "description": error.description]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
[246/267] Compiling web3swift IEth.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:225:36: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
eventDetail["error"] = ["code": error.code, "description": error.description]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
[247/267] Compiling web3swift Personal+CreateAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:225:36: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
eventDetail["error"] = ["code": error.code, "description": error.description]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
[248/267] Compiling web3swift Personal+Sign.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:225:36: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
eventDetail["error"] = ["code": error.code, "description": error.description]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
[249/267] Compiling web3swift Personal+UnlockAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:225:36: warning: heterogeneous collection literal could only be inferred to '[String : Any]'; add explicit type annotation if this is intentional
eventDetail["error"] = ["code": error.code, "description": error.description]
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
as [String : Any]
[250/267] Compiling web3swift Web3+ERC721x.swift
[251/267] Compiling web3swift Web3+ERC777.swift
[252/267] Compiling web3swift Web3+ERC820.swift
[253/267] Compiling web3swift Web3+ERC888.swift
[254/267] Compiling web3swift Web3+ST20.swift
[255/267] Compiling web3swift Web3+SecurityToken.swift
[256/267] Compiling web3swift ENS.swift
[257/267] Compiling web3swift ENSBaseRegistrar.swift
[258/267] Compiling web3swift ENSRegistry.swift
[259/267] Compiling web3swift ENSResolver.swift
[260/267] Compiling web3swift ENSReverseRegistrar.swift
[261/267] Compiling web3swift ETHRegistrarController.swift
[262/267] Compiling web3swift Web3+ERC1376.swift
[263/267] Compiling web3swift Web3+ERC1400.swift
[264/267] Compiling web3swift Web3+ERC1410.swift
[265/267] Compiling web3swift Web3+ERC1594.swift
[266/267] Compiling web3swift Web3+ERC1633.swift
[267/267] Compiling web3swift Web3+ERC1643.swift
Build complete! (27.78s)
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/4706] Fetching bigint
[96/17409] Fetching bigint, cryptoswift
Fetched https://github.com/attaswift/BigInt.git (3.22s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (3.22s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.90s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.95s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Build complete.
Done.