Build Information
Successful build of Web3swift, reference develop (d8cfaf
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 18:49:13 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
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: 6.2
Building package at path: $PWD
https://github.com/web3swift-team/web3swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/14] Write sources
[2/14] Copying wk.bridge.min.js
[3/14] Write sources
[4/14] Copying PrivacyInfo.xcprivacy
[4/14] Write sources
[6/14] Copying browser.min.js
[6/14] Write sources
[6/14] Copying browser.js
[9/14] Write swift-version-1EA4D86E10B52AF.txt
[10/139] Compiling precomputed_ecmult_gen.c
[11/139] Compiling Utility.c
[12/139] Compiling secp256k1.c
[13/139] Compiling precomputed_ecmult.c
[15/159] Emitting module secp256k1
[16/161] Emitting module BigInt
[17/163] Compiling secp256k1 Tweak.swift
[18/163] Compiling secp256k1 Utility.swift
[19/163] Compiling BigInt Subtraction.swift
[20/163] Compiling BigInt Words and Bits.swift
[21/163] Compiling secp256k1 Zeroization.swift
[23/163] Compiling CryptoSwift Bit.swift
[24/163] Compiling CryptoSwift BlockCipher.swift
[25/163] Compiling CryptoSwift BlockDecryptor.swift
[26/163] Compiling CryptoSwift BlockEncryptor.swift
[27/163] Compiling CryptoSwift BlockMode.swift
[28/163] Compiling CryptoSwift BlockModeOptions.swift
[29/163] Compiling CryptoSwift CBC.swift
[30/163] Compiling CryptoSwift CCM.swift
[31/163] Compiling CryptoSwift CFB.swift
[32/163] Compiling CryptoSwift CTR.swift
[33/163] Compiling CryptoSwift CipherModeWorker.swift
[34/163] Compiling CryptoSwift ECB.swift
[35/174] Compiling secp256k1 SafeCompare.swift
[36/174] Compiling secp256k1 Schnorr.swift
[37/174] Compiling secp256k1 SHA256.swift
[40/174] Compiling secp256k1 Signature.swift
[41/174] Compiling secp256k1 EdDSA.swift
[42/174] Compiling secp256k1 Digest.swift
[43/174] Compiling secp256k1 SecureBytes.swift
[44/174] Compiling secp256k1 PrettyBytes.swift
[45/174] Compiling secp256k1 RNG_boring.swift
[46/174] Compiling secp256k1 Asymmetric.swift
[47/174] Compiling secp256k1 DH.swift
[48/174] Compiling secp256k1 Exports.swift
[49/174] Compiling secp256k1 HashDigest.swift
[51/174] Compiling secp256k1 ECDH.swift
[52/174] Compiling secp256k1 ECDSA.swift
[53/174] Compiling secp256k1 Errors.swift
[54/174] Compiling secp256k1 Recovery.swift
[68/174] Compiling CryptoSwift Codable.swift
[69/174] Compiling CryptoSwift Comparable.swift
[70/174] Compiling CryptoSwift DataConversion.swift
[72/174] Compiling CryptoSwift Division.swift
[74/174] Compiling CryptoSwift Exponentiation.swift
[76/174] Compiling CryptoSwift FloatingPointConversion.swift
[78/174] Compiling CryptoSwift GCD.swift
[79/174] Compiling CryptoSwift Hashable.swift
[80/174] Compiling CryptoSwift IntegerConversion.swift
[81/174] Compiling CryptoSwift Multiplication.swift
[82/174] Compiling CryptoSwift PrimeTest.swift
[83/174] Compiling CryptoSwift Random.swift
[84/174] Compiling CryptoSwift String+FoundationExtension.swift
[85/174] Compiling CryptoSwift Utils+Foundation.swift
[86/174] Compiling CryptoSwift XChaCha20+Foundation.swift
[87/174] Compiling CryptoSwift Generics.swift
[88/174] Compiling CryptoSwift HKDF.swift
[89/174] Compiling CryptoSwift HMAC.swift
[90/174] Compiling CryptoSwift ISO10126Padding.swift
[91/174] Compiling CryptoSwift ISO78164Padding.swift
[92/174] Compiling CryptoSwift Int+Extension.swift
[93/174] Compiling CryptoSwift MD5.swift
[94/174] Compiling CryptoSwift NoPadding.swift
[95/174] Compiling CryptoSwift Shifts.swift
[96/174] Compiling CryptoSwift SquareRoot.swift
[97/174] Compiling CryptoSwift Strideable.swift
[98/174] Compiling CryptoSwift StringConversion.swift
[99/174] Compiling CryptoSwift Subtraction.swift
[100/174] Compiling CryptoSwift WordsAndBits.swift
[101/174] Compiling CryptoSwift ChaCha20.swift
[102/174] Compiling CryptoSwift Checksum.swift
[103/174] Compiling CryptoSwift Cipher.swift
[104/174] Compiling CryptoSwift Collection+Extension.swift
[105/174] Compiling CryptoSwift CompactMap.swift
[116/174] Compiling CryptoSwift BitwiseOps.swift
[117/174] Compiling CryptoSwift CS.swift
[118/174] Emitting module CryptoSwift
[131/174] Compiling CryptoSwift String+Extension.swift
[132/174] Compiling CryptoSwift UInt128.swift
[133/174] Compiling CryptoSwift UInt16+Extension.swift
[134/174] Compiling CryptoSwift UInt32+Extension.swift
[135/174] Compiling CryptoSwift UInt64+Extension.swift
[136/174] Compiling CryptoSwift UInt8+Extension.swift
[137/174] Compiling CryptoSwift Updatable.swift
[138/174] Compiling CryptoSwift Utils.swift
[139/174] Compiling CryptoSwift XChaCha20.swift
[140/174] Compiling CryptoSwift ZeroPadding.swift
[141/174] Compiling CryptoSwift resource_bundle_accessor.swift
[142/174] Compiling CryptoSwift Operators.swift
[143/174] Compiling CryptoSwift DER.swift
[144/174] Compiling CryptoSwift PBKDF1.swift
[145/174] Compiling CryptoSwift PBKDF2.swift
[146/174] Compiling CryptoSwift PKCS1v15.swift
[147/174] Compiling CryptoSwift PKCS5.swift
[148/174] Compiling CryptoSwift PKCS7.swift
[149/174] Compiling CryptoSwift PKCS7Padding.swift
[150/174] Compiling CryptoSwift Padding.swift
[151/174] Compiling CryptoSwift Poly1305.swift
[152/174] Compiling CryptoSwift RSA+Cipher.swift
[153/174] Compiling CryptoSwift Cryptor.swift
[154/174] Compiling CryptoSwift Cryptors.swift
[155/174] Compiling CryptoSwift Digest.swift
[156/174] Compiling CryptoSwift DigestType.swift
[157/174] Compiling CryptoSwift AES+Foundation.swift
[158/174] Compiling CryptoSwift Array+Foundation.swift
[159/174] Compiling CryptoSwift Blowfish+Foundation.swift
[160/174] Compiling CryptoSwift ChaCha20+Foundation.swift
[161/174] Compiling CryptoSwift Data+Extension.swift
[162/174] Compiling CryptoSwift HMAC+Foundation.swift
[163/174] Compiling CryptoSwift Rabbit+Foundation.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
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[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 TxPoolContent.swift
[185/251] Compiling Web3Core TxPoolStatus.swift
[186/251] Compiling Web3Core Web3ProviderProtocol.swift
[187/251] Compiling Web3Core CodableTransaction.swift
[188/251] Compiling Web3Core AbstractEnvelope.swift
[189/251] Compiling Web3Core EIP1559Envelope.swift
[190/251] Compiling Web3Core EIP2718Envelope.swift
[191/251] Compiling Web3Core TransactionMetadata.swift
[192/251] Compiling Web3Core Array+Extension.swift
[193/251] Compiling Web3Core BigUInt+Extension.swift
[194/251] Compiling Web3Core CryptoExtension.swift
[195/251] Compiling Web3Core Data+Extension.swift
[196/251] Compiling Web3Core Decodable+Extensions.swift
[197/251] Compiling Web3Core Dictionary+Extension.swift
[198/251] Compiling Web3Core EIP2930Envelope.swift
[199/251] Compiling Web3Core EnvelopeFactory.swift
[200/251] Compiling Web3Core LegacyEnvelope.swift
[201/251] Compiling Web3Core EIP2930Compatible.swift
[202/251] Compiling Web3Core EthereumBloomFilter.swift
[203/251] Compiling Web3Core EventfilterParameters.swift
[204/251] Compiling Web3Core Policies.swift
[205/251] Compiling Web3Core Block.swift
[206/251] Compiling Web3Core BlockNumber.swift
[207/251] Compiling Web3Core Event+Protocol.swift
[208/251] Compiling Web3Core EventLog.swift
[209/251] Compiling Web3Core SECP256k1.swift
[210/251] Compiling Web3Core TransactionDetails.swift
[211/251] Compiling Web3Core TransactionInBlock.swift
[212/251] Compiling Web3Core TransactionReceipt.swift
[213/251] Compiling Web3Core IBAN.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[214/251] Compiling Web3Core KeystoreManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[215/251] Compiling Web3Core KeystoreParams.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[216/251] Compiling Web3Core PathAddressStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[217/251] Compiling Web3Core PlainKeystore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[218/251] Compiling Web3Core GasOracle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[219/251] Compiling Web3Core RLP.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[220/251] Compiling Web3Core Base58.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[221/251] Compiling Web3Core AbstractKeystore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[222/251] Compiling Web3Core BIP32HDNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[223/251] Compiling Web3Core BIP32Keystore.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[224/251] Compiling Web3Core BIP39+WordLists.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[225/251] Compiling Web3Core BIP39.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[226/251] Compiling Web3Core BIP44.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[227/251] Compiling Web3Core EthereumKeystoreV3.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[228/251] Compiling Web3Core EtherscanTransactionChecker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift:65:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
63 | private static let KeystoreParamsBIP32Version = 4
64 |
65 | public private (set) var addressStorage: PathAddressStorage
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
66 |
67 | public convenience init?(_ jsonString: String) {
[229/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[230/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[231/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[232/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[233/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[234/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[235/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[236/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. [#DeprecatedDeclaration]
29 | appendFunction(function.name!, function)
30 | appendFunction(function.signature, function)
31 | appendFunction(function.methodString.addHexPrefix().lowercased(), function)
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
32 |
33 | /// ABI cannot have two functions with exactly the same name and input arguments
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift:60:26: warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
58 | errors[error.name] = error
59 | errors[error.signature] = error
60 | errors[error.methodString.addHexPrefix().lowercased()] = error
| |- warning: 'methodString' is deprecated: Please, use 'selector' property instead. [#DeprecatedDeclaration]
| `- note: use 'selector' instead
61 | }
62 | return errors
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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. [#DeprecatedDeclaration]
380 | public func decodeEthError(_ data: Data) -> [String: Any]? {
381 | guard data.count >= 4,
382 | let err = errors.first(where: { $0.value.methodEncoding == data[0..<4] })?.value else {
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
383 | return nil
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:210:16: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
208 | guard parameters.count == inputs.count,
209 | let data = ABIEncoder.encode(types: inputs, values: parameters) else { return nil }
210 | return methodEncoding + data
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
211 | }
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift:375:68: warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
373 | extension ABI.Element.Function {
374 | public func decodeInputData(_ rawData: Data) -> [String: Any]? {
375 | return ABIDecoder.decodeInputData(rawData, methodEncoding: methodEncoding, inputs: inputs)
| |- warning: 'methodEncoding' is deprecated: Please, use 'selectorEncoded' property instead. [#DeprecatedDeclaration]
| `- note: use 'selectorEncoded' instead
376 | }
377 |
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:468:45: warning: expression implicitly coerced from 'Data?' to 'Any'
466 | return Data(v ? [0b1] : [0b0])
467 | } else if let v = value as? Int {
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:470:45: warning: expression implicitly coerced from 'Data?' to 'Any'
468 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 256)!)!
469 | } else if let v = value as? Int8 {
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:472:45: warning: expression implicitly coerced from 'Data?' to 'Any'
470 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 8))!
471 | } else if let v = value as? Int16 {
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:474:45: warning: expression implicitly coerced from 'Data?' to 'Any'
472 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 16)!)!
473 | } else if let v = value as? Int32 {
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:476:45: warning: expression implicitly coerced from 'Data?' to 'Any'
474 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 32)!)!
475 | } else if let v = value as? Int64 {
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:478:45: warning: expression implicitly coerced from 'Data?' to 'Any'
476 | return ABIEncoder.convertToData(BigInt(exactly: v)?.abiEncode(bits: 64)!)!
477 | } else if let v = value as? UInt {
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:480:45: warning: expression implicitly coerced from 'Data?' to 'Any'
478 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 256)!)!
479 | } else if let v = value as? UInt8 {
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:482:45: warning: expression implicitly coerced from 'Data?' to 'Any'
480 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 8)!)!
481 | } else if let v = value as? UInt16 {
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:484:45: warning: expression implicitly coerced from 'Data?' to 'Any'
482 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 16)!)!
483 | } else if let v = value as? UInt32 {
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
/Users/admin/builder/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift:486:45: warning: expression implicitly coerced from 'Data?' to 'Any'
484 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 32)!)!
485 | } else if let v = value as? UInt64 {
486 | return ABIEncoder.convertToData(BigUInt(exactly: v)?.abiEncode(bits: 64)!)!
| | |- note: provide a default value to avoid this warning
| | |- note: force-unwrap the value to avoid this warning
| | `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
| `- warning: expression implicitly coerced from 'Data?' to 'Any'
487 | } else if let data = ABIEncoder.convertToData(value) {
488 | return data
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[252/306] Emitting module web3swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[253/312] Compiling web3swift Web3+EIP1559.swift
[254/312] Compiling web3swift Web3+EventParser.swift
[255/312] Compiling web3swift Web3+Eventloop.swift
[256/312] Compiling web3swift Web3+HttpProvider.swift
[257/312] Compiling web3swift Web3+InfuraProviders.swift
[258/312] Compiling web3swift Web3+Instance.swift
[259/312] Compiling web3swift Web3+ERC1644.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[260/312] Compiling web3swift Web3+ERC165.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[261/312] Compiling web3swift ERC20BaseProperties.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[262/312] Compiling web3swift ERC20BasePropertiesProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[263/312] Compiling web3swift Web3+ERC20.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[264/312] Compiling web3swift Web3+ERC721.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[265/312] Compiling web3swift Web3+Personal.swift
[266/312] Compiling web3swift Web3+Resolver.swift
[267/312] Compiling web3swift Web3+Signing.swift
[268/312] Compiling web3swift Web3+Utils.swift
[269/312] Compiling web3swift Web3.swift
[270/312] Compiling web3swift resource_bundle_accessor.swift
[271/312] Compiling web3swift Web3+ERC721x.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[272/312] Compiling web3swift Web3+ERC777.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[273/312] Compiling web3swift Web3+ERC820.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[274/312] Compiling web3swift Web3+ERC888.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[275/312] Compiling web3swift Web3+ST20.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[276/312] Compiling web3swift Web3+SecurityToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[277/312] Compiling web3swift ENS.swift
[278/312] Compiling web3swift ENSBaseRegistrar.swift
[279/312] Compiling web3swift ENSRegistry.swift
[280/312] Compiling web3swift ENSResolver.swift
[281/312] Compiling web3swift ENSReverseRegistrar.swift
[282/312] Compiling web3swift ETHRegistrarController.swift
[283/312] Compiling web3swift TxPool.swift
[284/312] Compiling web3swift Web3+BrowserFunctions.swift
[285/312] Compiling web3swift Web3+Wallet.swift
[286/312] Compiling web3swift ReadOperation.swift
[287/312] Compiling web3swift WriteOperation.swift
[288/312] Compiling web3swift Web3+ERC1155.swift
[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.
195 | /// Bridge for WKWebView and JavaScript. Initialize `lazy`
196 | var bridge: Bridge {
197 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
198 | return bridge
199 | }
/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.
199 | }
200 | let bridge = Bridge(webView: self)
201 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
202 | return bridge
203 | }
/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.
205 | /// Remove Bridge And Reset, All the handlers will be removed
206 | func removeBridge() {
207 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
208 | let userContentController = bridge.configuration.userContentController
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
/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.
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
210 | }
211 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
212 | }
213 | }
[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.
195 | /// Bridge for WKWebView and JavaScript. Initialize `lazy`
196 | var bridge: Bridge {
197 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
198 | return bridge
199 | }
/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.
199 | }
200 | let bridge = Bridge(webView: self)
201 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
202 | return bridge
203 | }
/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.
205 | /// Remove Bridge And Reset, All the handlers will be removed
206 | func removeBridge() {
207 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
208 | let userContentController = bridge.configuration.userContentController
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
/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.
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
210 | }
211 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
212 | }
213 | }
[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.
195 | /// Bridge for WKWebView and JavaScript. Initialize `lazy`
196 | var bridge: Bridge {
197 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
198 | return bridge
199 | }
/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.
199 | }
200 | let bridge = Bridge(webView: self)
201 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
202 | return bridge
203 | }
/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.
205 | /// Remove Bridge And Reset, All the handlers will be removed
206 | func removeBridge() {
207 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
208 | let userContentController = bridge.configuration.userContentController
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
/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.
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
210 | }
211 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
212 | }
213 | }
[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.
195 | /// Bridge for WKWebView and JavaScript. Initialize `lazy`
196 | var bridge: Bridge {
197 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
198 | return bridge
199 | }
/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.
199 | }
200 | let bridge = Bridge(webView: self)
201 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
202 | return bridge
203 | }
/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.
205 | /// Remove Bridge And Reset, All the handlers will be removed
206 | func removeBridge() {
207 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
208 | let userContentController = bridge.configuration.userContentController
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
/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.
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
210 | }
211 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
212 | }
213 | }
[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.
195 | /// Bridge for WKWebView and JavaScript. Initialize `lazy`
196 | var bridge: Bridge {
197 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
198 | return bridge
199 | }
/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.
199 | }
200 | let bridge = Bridge(webView: self)
201 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
202 | return bridge
203 | }
/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.
205 | /// Remove Bridge And Reset, All the handlers will be removed
206 | func removeBridge() {
207 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
208 | let userContentController = bridge.configuration.userContentController
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
/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.
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
210 | }
211 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
212 | }
213 | }
[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.
195 | /// Bridge for WKWebView and JavaScript. Initialize `lazy`
196 | var bridge: Bridge {
197 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
198 | return bridge
199 | }
/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.
199 | }
200 | let bridge = Bridge(webView: self)
201 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, bridge, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
202 | return bridge
203 | }
/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.
205 | /// Remove Bridge And Reset, All the handlers will be removed
206 | func removeBridge() {
207 | if let bridge = objc_getAssociatedObject(self, &STPrivateStatic.bridgeKey) as? Bridge {
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
208 | let userContentController = bridge.configuration.userContentController
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
/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.
209 | userContentController.removeScriptMessageHandler(forName: Bridge.name)
210 | }
211 | objc_setAssociatedObject(self, &STPrivateStatic.bridgeKey, nil, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
212 | }
213 | }
[295/312] Compiling web3swift NameHash.swift
[296/312] Compiling web3swift PublicKey.swift
[297/312] Compiling web3swift Data+Extension.swift
[298/312] Compiling web3swift String+Extension.swift
[299/312] Compiling web3swift Web3+Constants.swift
[300/312] Compiling web3swift Web3+Contract.swift
[301/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`. [#DeprecatedDeclaration]
367 | guard let chainID = chainID else { return nil }
368 | do {
369 | let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
| `- 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`. [#DeprecatedDeclaration]
370 | let ensModel = ENS(web3: web)
371 | try await ensModel?.setENSResolver(withDomain: ens)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[302/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`. [#DeprecatedDeclaration]
367 | guard let chainID = chainID else { return nil }
368 | do {
369 | let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
| `- 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`. [#DeprecatedDeclaration]
370 | let ensModel = ENS(web3: web)
371 | try await ensModel?.setENSResolver(withDomain: ens)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[303/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`. [#DeprecatedDeclaration]
367 | guard let chainID = chainID else { return nil }
368 | do {
369 | let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
| `- 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`. [#DeprecatedDeclaration]
370 | let ensModel = ENS(web3: web)
371 | try await ensModel?.setENSResolver(withDomain: ens)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[304/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`. [#DeprecatedDeclaration]
367 | guard let chainID = chainID else { return nil }
368 | do {
369 | let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
| `- 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`. [#DeprecatedDeclaration]
370 | let ensModel = ENS(web3: web)
371 | try await ensModel?.setENSResolver(withDomain: ens)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[305/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`. [#DeprecatedDeclaration]
367 | guard let chainID = chainID else { return nil }
368 | do {
369 | let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
| `- 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`. [#DeprecatedDeclaration]
370 | let ensModel = ENS(web3: web)
371 | try await ensModel?.setENSResolver(withDomain: ens)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[306/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`. [#DeprecatedDeclaration]
367 | guard let chainID = chainID else { return nil }
368 | do {
369 | let web = await Web3(provider: InfuraProvider(.fromInt(UInt(chainID)))!)
| `- 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`. [#DeprecatedDeclaration]
370 | let ensModel = ENS(web3: web)
371 | try await ensModel?.setENSResolver(withDomain: ens)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[307/312] Compiling web3swift Web3+ERC1376.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[308/312] Compiling web3swift Web3+ERC1400.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[309/312] Compiling web3swift Web3+ERC1410.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[310/312] Compiling web3swift Web3+ERC1594.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[311/312] Compiling web3swift Web3+ERC1633.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
[312/312] Compiling web3swift Web3+ERC1643.swift
/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Tokens/ERC20/ERC20BasePropertiesProvider.swift:18:12: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
16 |
17 | private let contract: Web3.Contract
18 | private (set) var hasReadProperties: Bool = false
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
19 | init(contract: Web3.Contract) {
20 | self.contract = contract
Build complete! (27.94s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
15 | .package(url: "https://github.com/attaswift/BigInt.git", .upToNextMinor(from: "5.4.0")),
16 | .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.5.1"),
17 | .package(name: "secp256k1", url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0")),
| `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
18 | ],
19 | targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/attaswift/BigInt.git
[1/4807] Fetching bigint
[50/17748] Fetching bigint, cryptoswift
[420/22661] Fetching bigint, cryptoswift, secp256k1.swift
Fetched https://github.com/attaswift/BigInt.git from cache (1.68s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.68s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift from cache (1.68s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (4.23s)
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/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.10.0
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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
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/browser.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/browser.min.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/web3swift/Browser/wk.bridge.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 [#DeprecatedDeclaration]
15 | .package(url: "https://github.com/attaswift/BigInt.git", .upToNextMinor(from: "5.4.0")),
16 | .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.5.1"),
17 | .package(name: "secp256k1", url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0")),
| `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
18 | ],
19 | targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Done.