Build Information
Successful build of Web3swift, reference develop (d8cfaf
), with Swift 5.10 for macOS (SPM) on 22 Jan 2025 16:09:04 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/web3swift-team/web3swift.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/web3swift-team/web3swift
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at d8cfafe Merge pull request #881 from 6od9i/test-project-send
Cloned https://github.com/web3swift-team/web3swift.git
Revision (git rev-parse @):
d8cfafee4562f5a19d6b299f9496d104ccbe6426
SUCCESS checkout https://github.com/web3swift-team/web3swift.git at develop
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/web3swift-team/web3swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Write sources
[3/14] Copying PrivacyInfo.xcprivacy
[4/14] Copying browser.min.js
[4/14] Copying browser.js
[6/14] Copying wk.bridge.min.js
[7/14] Write sources
[9/14] Write swift-version-33747A42983211AE.txt
[10/139] Compiling secp256k1.c
[11/139] Compiling Utility.c
[12/139] Compiling precomputed_ecmult_gen.c
[13/139] Compiling precomputed_ecmult.c
[15/159] Emitting module BigInt
[16/161] Emitting module secp256k1
[17/163] Compiling secp256k1 Utility.swift
[18/163] Compiling secp256k1 EdDSA.swift
[19/163] Compiling secp256k1 SHA256.swift
[20/163] Compiling secp256k1 Tweak.swift
[21/163] Compiling secp256k1 ECDSA.swift
[22/163] Compiling secp256k1 Recovery.swift
[23/163] Compiling secp256k1 Signature.swift
[24/163] Compiling secp256k1 ECDH.swift
[25/163] Compiling secp256k1 Errors.swift
[26/163] Compiling secp256k1 Zeroization.swift
[27/163] Compiling secp256k1 secp256k1.swift
[28/163] Compiling BigInt Words and Bits.swift
[31/163] Compiling secp256k1 SecureBytes.swift
[33/163] Compiling secp256k1 DH.swift
[34/163] Compiling secp256k1 Digest.swift
[35/163] Compiling secp256k1 SafeCompare.swift
[36/163] Compiling secp256k1 RNG_boring.swift
[37/163] Compiling secp256k1 Asymmetric.swift
[38/163] Compiling secp256k1 Exports.swift
[39/163] Compiling secp256k1 HashDigest.swift
[40/163] Compiling secp256k1 PrettyBytes.swift
[41/163] Compiling secp256k1 Schnorr.swift
[60/163] Compiling CryptoSwift Cryptor.swift
[61/163] Compiling CryptoSwift Cryptors.swift
[62/163] Compiling CryptoSwift Digest.swift
[63/163] Compiling CryptoSwift DigestType.swift
[64/163] Compiling CryptoSwift AES+Foundation.swift
[65/163] Compiling CryptoSwift Array+Foundation.swift
[66/163] Compiling CryptoSwift Blowfish+Foundation.swift
[67/163] Compiling CryptoSwift ChaCha20+Foundation.swift
[68/163] Compiling CryptoSwift Data+Extension.swift
[69/163] Compiling CryptoSwift HMAC+Foundation.swift
[70/163] Compiling CryptoSwift Rabbit+Foundation.swift
[71/174] Compiling CryptoSwift Bit.swift
[72/174] Compiling CryptoSwift BlockCipher.swift
[73/174] Compiling CryptoSwift BlockDecryptor.swift
[74/174] Compiling CryptoSwift BlockEncryptor.swift
[75/174] Compiling CryptoSwift BlockMode.swift
[76/174] Compiling CryptoSwift BlockModeOptions.swift
[77/174] Compiling CryptoSwift CBC.swift
[78/174] Compiling CryptoSwift CCM.swift
[79/174] Compiling CryptoSwift CFB.swift
[80/174] Compiling CryptoSwift CTR.swift
[81/174] Compiling CryptoSwift CipherModeWorker.swift
[82/174] Compiling CryptoSwift ECB.swift
[83/174] Compiling CryptoSwift Codable.swift
[84/174] Compiling CryptoSwift Comparable.swift
[85/174] Compiling CryptoSwift DataConversion.swift
[86/174] Compiling CryptoSwift Division.swift
[87/174] Compiling CryptoSwift Exponentiation.swift
[88/174] Compiling CryptoSwift FloatingPointConversion.swift
[89/174] Compiling CryptoSwift GCD.swift
[90/174] Compiling CryptoSwift Hashable.swift
[91/174] Compiling CryptoSwift IntegerConversion.swift
[92/174] Compiling CryptoSwift Multiplication.swift
[93/174] Compiling CryptoSwift PrimeTest.swift
[94/174] Compiling CryptoSwift Random.swift
[95/174] Emitting module CryptoSwift
[106/174] Compiling CryptoSwift BitwiseOps.swift
[107/174] Compiling CryptoSwift CS.swift
[120/174] Compiling CryptoSwift String+Extension.swift
[121/174] Compiling CryptoSwift UInt128.swift
[122/174] Compiling CryptoSwift UInt16+Extension.swift
[123/174] Compiling CryptoSwift UInt32+Extension.swift
[124/174] Compiling CryptoSwift UInt64+Extension.swift
[125/174] Compiling CryptoSwift UInt8+Extension.swift
[126/174] Compiling CryptoSwift Updatable.swift
[127/174] Compiling CryptoSwift Utils.swift
[128/174] Compiling CryptoSwift XChaCha20.swift
[129/174] Compiling CryptoSwift ZeroPadding.swift
[130/174] Compiling CryptoSwift resource_bundle_accessor.swift
[131/174] Compiling CryptoSwift Operators.swift
[132/174] Compiling CryptoSwift DER.swift
[133/174] Compiling CryptoSwift PBKDF1.swift
[134/174] Compiling CryptoSwift PBKDF2.swift
[135/174] Compiling CryptoSwift PKCS1v15.swift
[136/174] Compiling CryptoSwift PKCS5.swift
[137/174] Compiling CryptoSwift PKCS7.swift
[138/174] Compiling CryptoSwift PKCS7Padding.swift
[139/174] Compiling CryptoSwift Padding.swift
[140/174] Compiling CryptoSwift Poly1305.swift
[141/174] Compiling CryptoSwift RSA+Cipher.swift
[142/174] Compiling CryptoSwift String+FoundationExtension.swift
[143/174] Compiling CryptoSwift Utils+Foundation.swift
[144/174] Compiling CryptoSwift XChaCha20+Foundation.swift
[145/174] Compiling CryptoSwift Generics.swift
[146/174] Compiling CryptoSwift HKDF.swift
[147/174] Compiling CryptoSwift HMAC.swift
[148/174] Compiling CryptoSwift ISO10126Padding.swift
[149/174] Compiling CryptoSwift ISO78164Padding.swift
[150/174] Compiling CryptoSwift Int+Extension.swift
[151/174] Compiling CryptoSwift MD5.swift
[152/174] Compiling CryptoSwift NoPadding.swift
[153/174] Compiling CryptoSwift Shifts.swift
[154/174] Compiling CryptoSwift SquareRoot.swift
[155/174] Compiling CryptoSwift Strideable.swift
[156/174] Compiling CryptoSwift StringConversion.swift
[157/174] Compiling CryptoSwift Subtraction.swift
[158/174] Compiling CryptoSwift WordsAndBits.swift
[159/174] Compiling CryptoSwift ChaCha20.swift
[160/174] Compiling CryptoSwift Checksum.swift
[161/174] Compiling CryptoSwift Cipher.swift
[162/174] Compiling CryptoSwift Collection+Extension.swift
[163/174] Compiling CryptoSwift CompactMap.swift
[164/174] Compiling CryptoSwift RSA+Signature.swift
[165/174] Compiling CryptoSwift RSA.swift
[166/174] Compiling CryptoSwift Rabbit.swift
[167/174] Compiling CryptoSwift SHA1.swift
[168/174] Compiling CryptoSwift SHA2.swift
[169/174] Compiling CryptoSwift SHA3.swift
[170/174] Compiling CryptoSwift Scrypt.swift
[171/174] Compiling CryptoSwift SecureBytes.swift
[172/174] Compiling CryptoSwift Signature.swift
[173/174] Compiling CryptoSwift StreamDecryptor.swift
[174/174] Compiling CryptoSwift StreamEncryptor.swift
[175/244] Emitting module Web3Core
[176/251] Compiling Web3Core APIRequestParameterType.swift
[177/251] Compiling Web3Core RequestParameter+Encodable.swift
[178/251] Compiling Web3Core RequestParameter+RawRepresentable.swift
[179/251] Compiling Web3Core RequestParameter.swift
[180/251] Compiling Web3Core Async+BackwardCapability.swift
[181/251] Compiling Web3Core HexDecodable+Extensions.swift
[182/251] Compiling Web3Core HexDecodableProtocols.swift
[183/251] Compiling Web3Core IntegerInitableWithRadix.swift
[184/251] Compiling Web3Core TransactionMetadata.swift
[185/251] Compiling Web3Core Array+Extension.swift
[186/251] Compiling Web3Core BigUInt+Extension.swift
[187/251] Compiling Web3Core CryptoExtension.swift
[188/251] Compiling Web3Core Data+Extension.swift
[189/251] Compiling Web3Core Decodable+Extensions.swift
[190/251] Compiling Web3Core Dictionary+Extension.swift
[191/251] Compiling Web3Core TxPoolContent.swift
[192/251] Compiling Web3Core TxPoolStatus.swift
[193/251] Compiling Web3Core Web3ProviderProtocol.swift
[194/251] Compiling Web3Core CodableTransaction.swift
[195/251] Compiling Web3Core AbstractEnvelope.swift
[196/251] Compiling Web3Core EIP1559Envelope.swift
[197/251] Compiling Web3Core EIP2718Envelope.swift
[198/251] 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
[199/251] 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
[200/251] 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
[201/251] 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
[202/251] 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
[203/251] 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
[204/251] 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
[205/251] 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
[206/251] Compiling Web3Core Block.swift
[207/251] Compiling Web3Core BlockNumber.swift
[208/251] Compiling Web3Core Event+Protocol.swift
[209/251] Compiling Web3Core EventLog.swift
[210/251] Compiling Web3Core SECP256k1.swift
[211/251] Compiling Web3Core TransactionDetails.swift
[212/251] Compiling Web3Core TransactionInBlock.swift
[213/251] Compiling Web3Core TransactionReceipt.swift
[214/251] Compiling Web3Core AbstractKeystore.swift
[215/251] Compiling Web3Core BIP32HDNode.swift
[216/251] Compiling Web3Core BIP32Keystore.swift
[217/251] Compiling Web3Core BIP39+WordLists.swift
[218/251] Compiling Web3Core BIP39.swift
[219/251] Compiling Web3Core BIP44.swift
[220/251] Compiling Web3Core EthereumKeystoreV3.swift
[221/251] Compiling Web3Core EtherscanTransactionChecker.swift
[222/251] Compiling Web3Core IBAN.swift
[223/251] Compiling Web3Core KeystoreManager.swift
[224/251] Compiling Web3Core KeystoreParams.swift
[225/251] Compiling Web3Core PathAddressStorage.swift
[226/251] Compiling Web3Core PlainKeystore.swift
[227/251] Compiling Web3Core GasOracle.swift
[228/251] Compiling Web3Core RLP.swift
[229/251] Compiling Web3Core Base58.swift
[230/251] Compiling Web3Core EIP2930Envelope.swift
[231/251] Compiling Web3Core EnvelopeFactory.swift
[232/251] Compiling Web3Core LegacyEnvelope.swift
[233/251] Compiling Web3Core EIP2930Compatible.swift
[234/251] Compiling Web3Core EthereumBloomFilter.swift
[235/251] Compiling Web3Core EventfilterParameters.swift
[236/251] Compiling Web3Core Policies.swift
[237/251] Compiling Web3Core Encodable+Extensions.swift
[238/251] Compiling Web3Core NSRegularExpression+Extension.swift
[239/251] Compiling Web3Core NativeTypesEncoding+Extension.swift
[240/251] Compiling Web3Core RIPEMD160+StackOveflow.swift
[241/251] Compiling Web3Core String+Extension.swift
[242/251] Compiling Web3Core Utilities.swift
[243/251] Compiling Web3Core Web3Error.swift
[244/251] 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
[245/251] 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
[246/251] 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
[247/251] 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
[248/251] 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
[249/251] 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
[250/251] 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
[251/251] 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
[252/306] Compiling web3swift TxPool.swift
[253/306] Compiling web3swift Web3+BrowserFunctions.swift
[254/306] Compiling web3swift Web3+Wallet.swift
[255/306] Compiling web3swift ReadOperation.swift
[256/306] Compiling web3swift WriteOperation.swift
[257/306] Compiling web3swift Web3+ERC1155.swift
[258/312] Emitting module web3swift
[259/312] Compiling web3swift Web3+Personal.swift
[260/312] Compiling web3swift Web3+Resolver.swift
[261/312] Compiling web3swift Web3+Signing.swift
[262/312] Compiling web3swift Web3+Utils.swift
[263/312] Compiling web3swift Web3.swift
[264/312] Compiling web3swift resource_bundle_accessor.swift
[265/312] Compiling web3swift ENS.swift
[266/312] Compiling web3swift ENSBaseRegistrar.swift
[267/312] Compiling web3swift ENSRegistry.swift
[268/312] Compiling web3swift ENSResolver.swift
[269/312] Compiling web3swift ENSReverseRegistrar.swift
[270/312] Compiling web3swift ETHRegistrarController.swift
[271/312] Compiling web3swift Web3+EIP1559.swift
[272/312] Compiling web3swift Web3+EventParser.swift
[273/312] Compiling web3swift Web3+Eventloop.swift
[274/312] Compiling web3swift Web3+HttpProvider.swift
[275/312] Compiling web3swift Web3+InfuraProviders.swift
[276/312] Compiling web3swift Web3+Instance.swift
[277/312] Compiling web3swift NameHash.swift
[278/312] Compiling web3swift PublicKey.swift
[279/312] Compiling web3swift Data+Extension.swift
[280/312] Compiling web3swift String+Extension.swift
[281/312] Compiling web3swift Web3+Constants.swift
[282/312] Compiling web3swift Web3+Contract.swift
[283/312] 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)))!)
^
[284/312] 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)))!)
^
[285/312] 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)))!)
^
[286/312] 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)))!)
^
[287/312] 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)))!)
^
[288/312] 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)))!)
^
[289/312] Compiling web3swift Bridge.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:197:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:201:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:207:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:211:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
[290/312] Compiling web3swift IEth+Defaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:197:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:201:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:207:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:211:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
[291/312] Compiling web3swift IEth.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:197:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:201:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:207:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:211:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
[292/312] Compiling web3swift Personal+CreateAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:197:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:201:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:207:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:211:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
[293/312] Compiling web3swift Personal+Sign.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:197:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:201:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:207:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:211:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
[294/312] Compiling web3swift Personal+UnlockAccount.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:197:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:201:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:207:56: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
^
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/Bridge.swift:211:40: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
^
[295/312] Compiling web3swift Web3+ERC1644.swift
[296/312] Compiling web3swift Web3+ERC165.swift
[297/312] Compiling web3swift ERC20BaseProperties.swift
[298/312] Compiling web3swift ERC20BasePropertiesProvider.swift
[299/312] Compiling web3swift Web3+ERC20.swift
[300/312] Compiling web3swift Web3+ERC721.swift
[301/312] Compiling web3swift Web3+ERC721x.swift
[302/312] Compiling web3swift Web3+ERC777.swift
[303/312] Compiling web3swift Web3+ERC820.swift
[304/312] Compiling web3swift Web3+ERC888.swift
[305/312] Compiling web3swift Web3+ST20.swift
[306/312] Compiling web3swift Web3+SecurityToken.swift
[307/312] Compiling web3swift Web3+ERC1376.swift
[308/312] Compiling web3swift Web3+ERC1400.swift
[309/312] Compiling web3swift Web3+ERC1410.swift
[310/312] Compiling web3swift Web3+ERC1594.swift
[311/312] Compiling web3swift Web3+ERC1633.swift
[312/312] Compiling web3swift Web3+ERC1643.swift
Build complete! (57.51s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
.package(name: "secp256k1", url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0")),
^
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/4771] Fetching bigint
[2/17696] Fetching bigint, cryptoswift
[6582/21594] Fetching bigint, cryptoswift, secp256k1.swift
Fetched https://github.com/GigaBitcoin/secp256k1.swift from cache (6.31s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (6.31s)
Fetched https://github.com/attaswift/BigInt.git from cache (6.31s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (2.32s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.4.1 (0.37s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.47s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.4.1
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.10.0
Build complete.
{
"dependencies" : [
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "5.4.0",
"upper_bound" : "5.5.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "secp256k1.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "0.11.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GigaBitcoin/secp256k1.swift"
}
],
"manifest_display_name" : "Web3swift",
"name" : "Web3swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "web3swift",
"targets" : [
"web3swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "web3swift",
"module_type" : "SwiftTarget",
"name" : "web3swift",
"path" : "Sources/web3swift",
"product_dependencies" : [
"BigInt",
"secp256k1"
],
"product_memberships" : [
"web3swift"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/wk.bridge.min.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/browser.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/browser.min.js",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Browser/Bridge.swift",
"EthereumAPICalls/Ethereum/IEth+Defaults.swift",
"EthereumAPICalls/Ethereum/IEth.swift",
"EthereumAPICalls/Personal/Personal+CreateAccount.swift",
"EthereumAPICalls/Personal/Personal+Sign.swift",
"EthereumAPICalls/Personal/Personal+UnlockAccount.swift",
"EthereumAPICalls/TxPool.swift",
"HookedFunctions/Web3+BrowserFunctions.swift",
"HookedFunctions/Web3+Wallet.swift",
"Operations/ReadOperation.swift",
"Operations/WriteOperation.swift",
"Tokens/ERC1155/Web3+ERC1155.swift",
"Tokens/ERC1376/Web3+ERC1376.swift",
"Tokens/ERC1400/Web3+ERC1400.swift",
"Tokens/ERC1410/Web3+ERC1410.swift",
"Tokens/ERC1594/Web3+ERC1594.swift",
"Tokens/ERC1633/Web3+ERC1633.swift",
"Tokens/ERC1643/Web3+ERC1643.swift",
"Tokens/ERC1644/Web3+ERC1644.swift",
"Tokens/ERC165/Web3+ERC165.swift",
"Tokens/ERC20/ERC20BaseProperties.swift",
"Tokens/ERC20/ERC20BasePropertiesProvider.swift",
"Tokens/ERC20/Web3+ERC20.swift",
"Tokens/ERC721/Web3+ERC721.swift",
"Tokens/ERC721x/Web3+ERC721x.swift",
"Tokens/ERC777/Web3+ERC777.swift",
"Tokens/ERC820/Web3+ERC820.swift",
"Tokens/ERC888/Web3+ERC888.swift",
"Tokens/ST20/Web3+ST20.swift",
"Tokens/ST20/Web3+SecurityToken.swift",
"Transaction/TransactionPollingTask.swift",
"Utils/EIP/EIP4361.swift",
"Utils/EIP/EIP67Code.swift",
"Utils/EIP/EIP681.swift",
"Utils/EIP/EIP712/EIP712.swift",
"Utils/EIP/EIP712/EIP712Parser.swift",
"Utils/ENS/ENS.swift",
"Utils/ENS/ENSBaseRegistrar.swift",
"Utils/ENS/ENSRegistry.swift",
"Utils/ENS/ENSResolver.swift",
"Utils/ENS/ENSReverseRegistrar.swift",
"Utils/ENS/ETHRegistrarController.swift",
"Utils/ENS/NameHash.swift",
"Utils/ENS/PublicKey.swift",
"Utils/Extensions/Data+Extension.swift",
"Utils/Extensions/String+Extension.swift",
"Web3/Web3+Constants.swift",
"Web3/Web3+Contract.swift",
"Web3/Web3+EIP1559.swift",
"Web3/Web3+EventParser.swift",
"Web3/Web3+Eventloop.swift",
"Web3/Web3+HttpProvider.swift",
"Web3/Web3+InfuraProviders.swift",
"Web3/Web3+Instance.swift",
"Web3/Web3+Personal.swift",
"Web3/Web3+Resolver.swift",
"Web3/Web3+Signing.swift",
"Web3/Web3+Utils.swift",
"Web3/Web3.swift"
],
"target_dependencies" : [
"Web3Core"
],
"type" : "library"
},
{
"c99name" : "remoteTests",
"module_type" : "SwiftTarget",
"name" : "remoteTests",
"path" : "Tests/web3swiftTests/remoteTests",
"sources" : [
"DecodeRemoteErrorTests.swift",
"EIP1559Tests.swift",
"ENSTests.swift",
"EtherscanTransactionCheckerTests.swift",
"EventFilterTests.swift",
"GasOracleTests.swift",
"InfuraTests.swift",
"PolicyResolverTests.swift",
"RemoteParsingTests.swift",
"TransactionPollingTaskRemoteTest.swift",
"Web3HttpProviderTests.swift"
],
"target_dependencies" : [
"web3swift"
],
"type" : "test"
},
{
"c99name" : "localTests",
"module_type" : "SwiftTarget",
"name" : "localTests",
"path" : "Tests/web3swiftTests/localTests",
"sources" : [
"ABIDecoderSliceTests.swift",
"ABIElementErrorDecodingTest.swift",
"ABIElementsTests.swift",
"ABIEncoderTest.swift",
"AdvancedABIv2Tests.swift",
"BIP32KeystoreTests.swift",
"BIP32MnemonicPhraseStringArrayTests.swift",
"BIP32MnemonicPhraseStringTests.swift",
"BIP39Tests.swift",
"BIP44Tests.swift",
"BasicLocalNodeTests.swift",
"DataConversionTests.swift",
"DecodeSolidityErrorType.swift",
"EIP1559BlockTests.swift",
"EIP4361Test.swift",
"EIP67Tests.swift",
"EIP681Tests.swift",
"EIP712TestData.swift",
"EIP712Tests.swift",
"EIP712TypedDataPayloadTests.swift",
"ERC20ClassTests.swift",
"ERC20Tests.swift",
"EthereumAddressTest.swift",
"EthereumContractTest.swift",
"EventTests.swift",
"EventloopTests.swift",
"HDversionTest.swift",
"KeystoresTests.swift",
"LocalTestCase.swift",
"Mocks.swift",
"NSRegularExpressionTest.swift",
"NumberFormattingUtilTests.swift",
"PersonalSignatureTests.swift",
"PromisesTests.swift",
"RLPTests.swift",
"ST20AndSecurityTokenTests.swift",
"String+ExtensionTests.swift.swift",
"StringBIP44Tests.swift",
"TestHelpers.swift",
"TransactionPollingTaskTest.swift",
"TransactionReceiptTests.swift",
"TransactionsTests.swift",
"UncategorizedTests.swift",
"UserCases.swift",
"UtilitiesTests.swift",
"Web3ErrorTests.swift"
],
"target_dependencies" : [
"web3swift"
],
"type" : "test"
},
{
"c99name" : "Web3Core",
"module_type" : "SwiftTarget",
"name" : "Web3Core",
"path" : "Sources/Web3Core",
"product_dependencies" : [
"BigInt",
"secp256k1",
"CryptoSwift"
],
"product_memberships" : [
"web3swift"
],
"sources" : [
"Contract/ContractProtocol.swift",
"Contract/EthereumContract.swift",
"EthereumABI/ABI.swift",
"EthereumABI/ABIDecoding.swift",
"EthereumABI/ABIElements.swift",
"EthereumABI/ABIEncoding.swift",
"EthereumABI/ABIError.swift",
"EthereumABI/ABIParameterTypes.swift",
"EthereumABI/ABIParsing.swift",
"EthereumABI/ABITypeParser.swift",
"EthereumABI/Sequence+ABIExtension.swift",
"EthereumAddress/EthereumAddress.swift",
"EthereumNetwork/Request/APIRequest+ComputedProperties.swift",
"EthereumNetwork/Request/APIRequest+Methods.swift",
"EthereumNetwork/Request/APIRequest+UtilityTypes.swift",
"EthereumNetwork/Request/APIRequest.swift",
"EthereumNetwork/RequestParameter/APIRequestParameterType.swift",
"EthereumNetwork/RequestParameter/RequestParameter+Encodable.swift",
"EthereumNetwork/RequestParameter/RequestParameter+RawRepresentable.swift",
"EthereumNetwork/RequestParameter/RequestParameter.swift",
"EthereumNetwork/Utility/Async+BackwardCapability.swift",
"EthereumNetwork/Utility/HexDecodable+Extensions.swift",
"EthereumNetwork/Utility/HexDecodableProtocols.swift",
"EthereumNetwork/Utility/IntegerInitableWithRadix.swift",
"KeystoreManager/AbstractKeystore.swift",
"KeystoreManager/BIP32HDNode.swift",
"KeystoreManager/BIP32Keystore.swift",
"KeystoreManager/BIP39+WordLists.swift",
"KeystoreManager/BIP39.swift",
"KeystoreManager/BIP44.swift",
"KeystoreManager/EthereumKeystoreV3.swift",
"KeystoreManager/EtherscanTransactionChecker.swift",
"KeystoreManager/IBAN.swift",
"KeystoreManager/KeystoreManager.swift",
"KeystoreManager/KeystoreParams.swift",
"KeystoreManager/PathAddressStorage.swift",
"KeystoreManager/PlainKeystore.swift",
"Oracle/GasOracle.swift",
"RLP/RLP.swift",
"Structure/Base58.swift",
"Structure/Block/Block.swift",
"Structure/Block/BlockNumber.swift",
"Structure/Event+Protocol.swift",
"Structure/EventLog/EventLog.swift",
"Structure/SECP256k1.swift",
"Structure/Transaction/TransactionDetails.swift",
"Structure/Transaction/TransactionInBlock.swift",
"Structure/Transaction/TransactionReceipt.swift",
"Structure/TxPool/TxPoolContent.swift",
"Structure/TxPool/TxPoolStatus.swift",
"Structure/Web3ProviderProtocol.swift",
"Transaction/CodableTransaction.swift",
"Transaction/Envelope/AbstractEnvelope.swift",
"Transaction/Envelope/EIP1559Envelope.swift",
"Transaction/Envelope/EIP2718Envelope.swift",
"Transaction/Envelope/EIP2930Envelope.swift",
"Transaction/Envelope/EnvelopeFactory.swift",
"Transaction/Envelope/LegacyEnvelope.swift",
"Transaction/Envelope/Protocols/EIP2930Compatible.swift",
"Transaction/EthereumBloomFilter.swift",
"Transaction/EventfilterParameters.swift",
"Transaction/Policies.swift",
"Transaction/TransactionMetadata.swift",
"Utility/Array+Extension.swift",
"Utility/BigUInt+Extension.swift",
"Utility/CryptoExtension.swift",
"Utility/Data+Extension.swift",
"Utility/Decodable+Extensions.swift",
"Utility/Dictionary+Extension.swift",
"Utility/Encodable+Extensions.swift",
"Utility/NSRegularExpression+Extension.swift",
"Utility/NativeTypesEncoding+Extension.swift",
"Utility/RIPEMD160+StackOveflow.swift",
"Utility/String+Extension.swift",
"Utility/Utilities.swift",
"Web3Error/Web3Error.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
.package(name: "secp256k1", url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0")),
^
Done.