Build Information
Failed to build Web3swift, reference develop (d8cfaf
), with Swift 6.1 for Android on 30 May 2025 03:30:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/web3swift-team/web3swift.git
Reference: develop
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/web3swift-team/web3swift.git
https://github.com/web3swift-team/web3swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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" : "/host/spi-builder-workspace/Sources/web3swift/Browser/browser.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/web3swift/Browser/browser.min.js",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/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': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
18 | ],
19 | targets: [
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
18 | ],
19 | targets: [
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/attaswift/BigInt.git
[1/4776] Fetching bigint
[813/9609] Fetching bigint, secp256k1.swift
[1296/22550] Fetching bigint, secp256k1.swift, cryptoswift
Fetched https://github.com/GigaBitcoin/secp256k1.swift from cache (0.52s)
[6718/17717] Fetching bigint, cryptoswift
Fetched https://github.com/attaswift/BigInt.git from cache (0.64s)
[3624/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.59s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (3.78s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.4.1 (0.60s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.76s)
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
Building for debugging...
[0/14] Write sources
[0/14] Copying browser.js
[6/14] Copying wk.bridge.min.js
[6/14] Copying browser.min.js
[8/14] Copying PrivacyInfo.xcprivacy
[9/14] Compiling Utility.c
[10/14] Compiling precomputed_ecmult_gen.c
[11/14] Write swift-version-24593BA9C3E375BF.txt
[11/14] Compiling secp256k1.c
[13/136] Compiling precomputed_ecmult.c
[15/156] Emitting module BigInt
[16/158] Emitting module secp256k1
[17/160] Compiling secp256k1 secp256k1.swift
[18/160] Compiling BigInt Words and Bits.swift
[19/160] Compiling secp256k1 SHA256.swift
[20/160] Compiling secp256k1 SafeCompare.swift
[21/160] Compiling secp256k1 Schnorr.swift
[22/160] Compiling secp256k1 Tweak.swift
[23/160] Compiling secp256k1 Utility.swift
[24/160] Compiling secp256k1 Zeroization.swift
[25/160] Compiling secp256k1 SecureBytes.swift
[26/160] Compiling secp256k1 Signature.swift
[27/160] Compiling CryptoSwift IntegerConversion.swift
[28/160] Compiling CryptoSwift Multiplication.swift
[29/160] Compiling CryptoSwift PrimeTest.swift
[30/160] Compiling CryptoSwift Random.swift
[31/160] Compiling CryptoSwift Shifts.swift
[32/160] Compiling CryptoSwift SquareRoot.swift
[33/160] Compiling CryptoSwift Strideable.swift
[34/160] Compiling CryptoSwift StringConversion.swift
[35/160] Compiling CryptoSwift Subtraction.swift
[36/160] Compiling CryptoSwift WordsAndBits.swift
[37/160] Compiling CryptoSwift ChaCha20.swift
[38/160] Compiling CryptoSwift Checksum.swift
[39/160] Compiling CryptoSwift Cipher.swift
[40/160] Compiling CryptoSwift Collection+Extension.swift
[41/174] Emitting module CryptoSwift
[44/174] Compiling secp256k1 Asymmetric.swift
[45/174] Compiling secp256k1 DH.swift
[46/174] Compiling secp256k1 Digest.swift
[47/174] Compiling secp256k1 ECDH.swift
[48/174] Compiling secp256k1 ECDSA.swift
[49/174] Compiling secp256k1 EdDSA.swift
[50/174] Compiling CryptoSwift CompactMap.swift
[51/174] Compiling CryptoSwift Cryptor.swift
[52/174] Compiling CryptoSwift Cryptors.swift
[53/174] Compiling CryptoSwift Digest.swift
[54/174] Compiling CryptoSwift DigestType.swift
[55/174] Compiling CryptoSwift AES+Foundation.swift
[56/174] Compiling CryptoSwift Array+Foundation.swift
[57/174] Compiling CryptoSwift Blowfish+Foundation.swift
[58/174] Compiling CryptoSwift ChaCha20+Foundation.swift
[59/174] Compiling CryptoSwift Data+Extension.swift
[60/174] Compiling CryptoSwift HMAC+Foundation.swift
[61/174] Compiling CryptoSwift Rabbit+Foundation.swift
[62/174] Compiling CryptoSwift String+FoundationExtension.swift
[63/174] Compiling CryptoSwift Utils+Foundation.swift
[64/174] Compiling secp256k1 Errors.swift
[65/174] Compiling secp256k1 Exports.swift
[66/174] Compiling secp256k1 HashDigest.swift
[67/174] Compiling secp256k1 PrettyBytes.swift
[68/174] Compiling secp256k1 RNG_boring.swift
[69/174] Compiling secp256k1 Recovery.swift
[70/174] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[71/174] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[72/174] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[73/174] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[74/174] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[75/174] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[76/174] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[77/174] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[78/174] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[79/174] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[80/174] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[81/174] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[82/174] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[83/174] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[101/175] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[102/175] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[103/175] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[104/175] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[105/175] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[106/175] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[107/175] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[108/175] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[109/175] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[110/175] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[111/175] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[112/175] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[113/175] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[114/175] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[125/176] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[126/176] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[127/176] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[128/176] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[129/176] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[130/176] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[131/176] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[132/176] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[133/176] Compiling CryptoSwift CMAC.swift
[134/176] Compiling CryptoSwift Addition.swift
[135/176] Compiling CryptoSwift BigInt.swift
[136/176] Compiling CryptoSwift BigUInt.swift
[137/176] Compiling CryptoSwift BitwiseOps.swift
[138/176] Compiling CryptoSwift CS.swift
[139/176] Compiling CryptoSwift Codable.swift
[140/176] Compiling CryptoSwift Comparable.swift
[141/176] Compiling CryptoSwift DataConversion.swift
[142/176] Compiling CryptoSwift Division.swift
[143/176] Compiling CryptoSwift Exponentiation.swift
[144/176] Compiling CryptoSwift FloatingPointConversion.swift
[145/176] Compiling CryptoSwift GCD.swift
[146/176] Compiling CryptoSwift Hashable.swift
[147/176] Compiling CryptoSwift Signature.swift
[148/176] Compiling CryptoSwift StreamDecryptor.swift
[149/176] Compiling CryptoSwift StreamEncryptor.swift
[150/176] Compiling CryptoSwift String+Extension.swift
[151/176] Compiling CryptoSwift UInt128.swift
[152/176] Compiling CryptoSwift UInt16+Extension.swift
[153/176] Compiling CryptoSwift UInt32+Extension.swift
[154/176] Compiling CryptoSwift UInt64+Extension.swift
[155/176] Compiling CryptoSwift UInt8+Extension.swift
[156/176] Compiling CryptoSwift Updatable.swift
[157/176] Compiling CryptoSwift Utils.swift
[158/176] Compiling CryptoSwift XChaCha20.swift
[159/176] Compiling CryptoSwift ZeroPadding.swift
[160/176] Compiling CryptoSwift resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead
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
18 | ],
19 | targets: [
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/143] Compiling CryptoSwift CMAC.swift
[3/143] Compiling CryptoSwift Addition.swift
[4/145] Compiling CryptoSwift BigUInt.swift
[5/145] Compiling secp256k1 Zeroization.swift
[6/147] Emitting module secp256k1
[7/147] Compiling CryptoSwift BigInt.swift
[9/147] Compiling CryptoSwift PCBC.swift
[10/147] Compiling CryptoSwift Blowfish.swift
[11/147] Compiling CryptoSwift CBCMAC.swift
[13/147] Compiling BigInt Subtraction.swift
[14/147] Emitting module BigInt
[15/147] Compiling CryptoSwift BlockEncryptor.swift
[16/147] Compiling CryptoSwift BlockMode.swift
[17/147] Compiling CryptoSwift BlockModeOptions.swift
[18/147] Compiling CryptoSwift GCM.swift
[19/147] Compiling CryptoSwift OCB.swift
[20/147] Compiling CryptoSwift OFB.swift
[21/147] Compiling CryptoSwift CTR.swift
[22/147] Compiling CryptoSwift CipherModeWorker.swift
[23/147] Compiling CryptoSwift ECB.swift
[30/147] Compiling CryptoSwift CBC.swift
[31/147] Compiling CryptoSwift CCM.swift
[32/147] Compiling CryptoSwift CFB.swift
[45/148] Compiling CryptoSwift CompactMap.swift
[46/148] Compiling CryptoSwift Cryptor.swift
[47/148] Compiling CryptoSwift Cryptors.swift
[48/148] Compiling CryptoSwift Digest.swift
[49/148] Compiling CryptoSwift DigestType.swift
[50/148] Compiling CryptoSwift AES+Foundation.swift
[51/148] Compiling CryptoSwift Array+Foundation.swift
[52/148] Compiling CryptoSwift Blowfish+Foundation.swift
[53/148] Compiling CryptoSwift ChaCha20+Foundation.swift
[54/148] Compiling CryptoSwift Data+Extension.swift
[55/148] Compiling CryptoSwift HMAC+Foundation.swift
[56/148] Compiling CryptoSwift Rabbit+Foundation.swift
[57/148] Compiling CryptoSwift String+FoundationExtension.swift
[58/148] Compiling CryptoSwift Utils+Foundation.swift
[60/148] Compiling BigInt Words and Bits.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[85/163] Compiling CryptoSwift Comparable.swift
[86/163] Compiling CryptoSwift DataConversion.swift
[87/163] Compiling CryptoSwift Division.swift
[88/163] Compiling CryptoSwift Exponentiation.swift
[89/163] Compiling CryptoSwift FloatingPointConversion.swift
[90/163] Compiling CryptoSwift GCD.swift
[91/163] Compiling CryptoSwift Hashable.swift
[92/163] Compiling CryptoSwift IntegerConversion.swift
[93/163] Compiling CryptoSwift Multiplication.swift
[94/163] Compiling CryptoSwift PrimeTest.swift
[95/163] Compiling CryptoSwift Random.swift
[96/163] Compiling CryptoSwift Shifts.swift
[97/163] Compiling CryptoSwift SquareRoot.swift
[98/163] Compiling CryptoSwift Strideable.swift
[99/163] Compiling CryptoSwift StringConversion.swift
[100/163] Compiling CryptoSwift Subtraction.swift
[101/163] Compiling CryptoSwift WordsAndBits.swift
[102/163] Compiling CryptoSwift ChaCha20.swift
[103/163] Compiling CryptoSwift Checksum.swift
[104/163] Compiling CryptoSwift Cipher.swift
[105/163] Compiling CryptoSwift Collection+Extension.swift
[106/163] Compiling CryptoSwift Signature.swift
[107/163] Compiling CryptoSwift StreamDecryptor.swift
[108/163] Compiling CryptoSwift StreamEncryptor.swift
[109/163] Compiling CryptoSwift String+Extension.swift
[110/163] Compiling CryptoSwift UInt128.swift
[111/163] Compiling CryptoSwift UInt16+Extension.swift
[112/163] Compiling CryptoSwift UInt32+Extension.swift
[113/163] Compiling CryptoSwift UInt64+Extension.swift
[114/163] Compiling CryptoSwift UInt8+Extension.swift
[115/163] Compiling CryptoSwift Updatable.swift
[116/163] Compiling CryptoSwift Utils.swift
[117/163] Compiling CryptoSwift XChaCha20.swift
[118/163] Compiling CryptoSwift ZeroPadding.swift
[119/163] Compiling CryptoSwift resource_bundle_accessor.swift
[120/163] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[121/163] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[122/163] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[123/163] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[124/163] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[125/163] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[126/163] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[127/163] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[128/163] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[129/163] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[130/163] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[131/163] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[132/163] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[133/163] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[134/163] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[135/163] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[136/163] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[137/163] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[138/163] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[139/163] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[140/163] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[141/163] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[142/163] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[143/163] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[144/163] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[145/163] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[146/163] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[147/163] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[148/163] Emitting module CryptoSwift
[149/163] Compiling CryptoSwift AEAD.swift
[150/163] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[151/163] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[152/163] Compiling CryptoSwift AES.Cryptors.swift
[153/163] Compiling CryptoSwift AES.swift
[154/163] Compiling CryptoSwift ASN1.swift
[155/163] Compiling CryptoSwift ASN1Decoder.swift
[156/163] Compiling CryptoSwift ASN1Encoder.swift
[157/163] Compiling CryptoSwift ASN1Scanner.swift
[158/163] Compiling CryptoSwift Array+Extension.swift
[159/163] Compiling CryptoSwift Authenticator.swift
[160/163] Compiling CryptoSwift BatchedCollection.swift
[161/163] Compiling CryptoSwift Bit.swift
[162/163] Compiling CryptoSwift BlockCipher.swift
[163/163] Compiling CryptoSwift BlockDecryptor.swift
BUILD FAILURE 6.1 android