Build Information
Failed to build swift-cid, reference main (36ba17
), with Swift 6.1 for Android on 29 May 2025 09:21:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/swift-libp2p/swift-cid.git
Reference: main
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/swift-libp2p/swift-cid
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 36ba174 Update README.md
Cloned https://github.com/swift-libp2p/swift-cid.git
Revision (git rev-parse @):
36ba1745c8e62118c1b877933c350d0ef2d176ce
SUCCESS checkout https://github.com/swift-libp2p/swift-cid.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-libp2p/swift-cid.git
https://github.com/swift-libp2p/swift-cid.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-multibase",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-libp2p/swift-multibase.git"
},
{
"identity" : "swift-multicodec",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-libp2p/swift-multicodec.git"
},
{
"identity" : "swift-multihash",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-libp2p/swift-multihash.git"
}
],
"manifest_display_name" : "swift-cid",
"name" : "swift-cid",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "CID",
"targets" : [
"CID"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CIDTests",
"module_type" : "SwiftTarget",
"name" : "CIDTests",
"path" : "Tests/CIDTests",
"sources" : [
"CIDTests.swift"
],
"target_dependencies" : [
"CID"
],
"type" : "test"
},
{
"c99name" : "CID",
"module_type" : "SwiftTarget",
"name" : "CID",
"path" : "Sources/CID",
"product_dependencies" : [
"Multihash",
"Multibase",
"Multicodec"
],
"product_memberships" : [
"CID"
],
"sources" : [
"CID.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Fetching https://github.com/swift-libp2p/swift-multicodec.git
Fetching https://github.com/swift-libp2p/swift-multibase.git
Fetching https://github.com/swift-libp2p/swift-multihash.git
[1/289] Fetching swift-multicodec
[290/554] Fetching swift-multicodec, swift-multihash
[481/717] Fetching swift-multicodec, swift-multihash, swift-multibase
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (0.37s)
Fetched https://github.com/swift-libp2p/swift-multihash.git from cache (0.37s)
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (0.37s)
Computing version for https://github.com/swift-libp2p/swift-multibase.git
Computed https://github.com/swift-libp2p/swift-multibase.git at 0.0.3 (2.19s)
Fetching https://github.com/swift-libp2p/swift-bases.git
[1/286] Fetching swift-bases
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (0.39s)
Computing version for https://github.com/swift-libp2p/swift-multihash.git
Computed https://github.com/swift-libp2p/swift-multihash.git at 0.0.4 (1.65s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-libp2p/swift-varint.git
[1/108] Fetching swift-varint
[108/13049] Fetching swift-varint, cryptoswift
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (0.30s)
[1942/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.20s)
Computing version for https://github.com/swift-libp2p/swift-varint.git
Computed https://github.com/swift-libp2p/swift-varint.git at 0.0.2 (1.69s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.0.4 (0.48s)
Computing version for https://github.com/swift-libp2p/swift-multicodec.git
Computed https://github.com/swift-libp2p/swift-multicodec.git at 0.0.8 (0.50s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.51s)
Creating working copy for https://github.com/swift-libp2p/swift-bases.git
Working copy of https://github.com/swift-libp2p/swift-bases.git resolved at 0.0.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/swift-libp2p/swift-varint.git
Working copy of https://github.com/swift-libp2p/swift-varint.git resolved at 0.0.2
Creating working copy for https://github.com/swift-libp2p/swift-multicodec.git
Working copy of https://github.com/swift-libp2p/swift-multicodec.git resolved at 0.0.8
Creating working copy for https://github.com/swift-libp2p/swift-multibase.git
Working copy of https://github.com/swift-libp2p/swift-multibase.git resolved at 0.0.3
Creating working copy for https://github.com/swift-libp2p/swift-multihash.git
Working copy of https://github.com/swift-libp2p/swift-multihash.git resolved at 0.0.4
Building for debugging...
[0/13] Write sources
[3/13] Copying PrivacyInfo.xcprivacy
[5/13] Write sources
[12/13] Write swift-version-24593BA9C3E375BF.txt
[14/135] Emitting module Base64
[15/135] Emitting module BaseX
[16/135] Compiling Base8 Quintets.swift
[17/135] Compiling Base8 BlockEncoding.swift
[18/135] Compiling Base8 BlockDecoding.swift
[19/135] Compiling CryptoSwift BlockEncryptor.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)
[20/135] Compiling CryptoSwift BlockMode.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)
[21/135] Compiling CryptoSwift BlockModeOptions.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)
[22/135] Compiling CryptoSwift CBC.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)
[23/135] Compiling CryptoSwift CCM.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)
[24/135] Compiling CryptoSwift CFB.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)
[25/135] Compiling CryptoSwift CTR.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)
[26/135] 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)
[27/135] 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)
[28/135] 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)
[29/135] 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)
[30/135] 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)
[31/135] 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)
[32/135] 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)
[33/135] 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)
[34/149] Compiling Base32 BlockDecoding.swift
[35/149] Compiling Base32 Quintets.swift
[36/149] Compiling Base32 BlockEncoding.swift
[37/149] Compiling CryptoSwift IntegerConversion.swift
[38/149] Compiling CryptoSwift Multiplication.swift
[39/149] Compiling CryptoSwift PrimeTest.swift
[40/149] Compiling CryptoSwift Random.swift
[41/149] Compiling CryptoSwift Shifts.swift
[42/149] Compiling CryptoSwift SquareRoot.swift
[43/149] Compiling CryptoSwift Strideable.swift
[44/149] Compiling CryptoSwift StringConversion.swift
[45/149] Compiling CryptoSwift Subtraction.swift
[46/149] Compiling CryptoSwift WordsAndBits.swift
[47/149] Compiling CryptoSwift ChaCha20.swift
[48/149] Compiling CryptoSwift Checksum.swift
[49/149] Compiling CryptoSwift Cipher.swift
[50/149] Compiling CryptoSwift Collection+Extension.swift
[51/149] Emitting module Base32
[52/149] Compiling Base8 Base8.swift
[53/149] Compiling CryptoSwift Signature.swift
[54/149] Compiling CryptoSwift StreamDecryptor.swift
[55/149] Compiling CryptoSwift StreamEncryptor.swift
[56/149] Compiling CryptoSwift String+Extension.swift
[57/149] Compiling CryptoSwift UInt128.swift
[58/149] Compiling CryptoSwift UInt16+Extension.swift
[59/149] Compiling CryptoSwift UInt32+Extension.swift
[60/149] Compiling CryptoSwift UInt64+Extension.swift
[61/149] Compiling CryptoSwift UInt8+Extension.swift
[62/149] Compiling CryptoSwift Updatable.swift
[63/149] Compiling CryptoSwift Utils.swift
[64/149] Compiling CryptoSwift XChaCha20.swift
[65/149] Compiling CryptoSwift ZeroPadding.swift
[66/149] Compiling CryptoSwift resource_bundle_accessor.swift
[67/149] 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 |
[68/149] 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 |
[69/149] 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 |
[70/149] 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 |
[71/149] 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 |
[72/149] 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 |
[73/149] 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 |
[74/149] 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 |
[75/149] 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 |
[76/149] 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 |
[77/149] 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 |
[78/149] 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 |
[79/149] 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 |
[80/149] 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 |
[81/149] 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 | }
[82/149] 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 | }
[83/149] 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 | }
[84/149] 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 | }
[85/149] 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 | }
[86/149] 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 | }
[87/149] 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 | }
[88/149] 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 | }
[89/149] 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 | }
[90/149] 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 | }
[91/149] 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 | }
[92/149] 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 | }
[93/149] 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 | }
[94/149] 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 | }
[95/149] Compiling CryptoSwift CMAC.swift
[96/149] Compiling CryptoSwift Addition.swift
[97/149] Compiling CryptoSwift BigInt.swift
[98/149] Compiling CryptoSwift BigUInt.swift
[99/149] Compiling CryptoSwift BitwiseOps.swift
[100/149] Compiling CryptoSwift CS.swift
[101/149] Compiling CryptoSwift Codable.swift
[102/149] Compiling CryptoSwift Comparable.swift
[103/149] Compiling CryptoSwift DataConversion.swift
[104/149] Compiling CryptoSwift Division.swift
[105/149] Compiling CryptoSwift Exponentiation.swift
[106/149] Compiling CryptoSwift FloatingPointConversion.swift
[107/149] Compiling CryptoSwift GCD.swift
[108/149] Compiling CryptoSwift Hashable.swift
[109/149] Compiling CryptoSwift CompactMap.swift
[110/149] Compiling CryptoSwift Cryptor.swift
[111/149] Compiling CryptoSwift Cryptors.swift
[112/149] Compiling CryptoSwift Digest.swift
[113/149] Compiling CryptoSwift DigestType.swift
[114/149] Compiling CryptoSwift AES+Foundation.swift
[115/149] Compiling CryptoSwift Array+Foundation.swift
[116/149] Compiling CryptoSwift Blowfish+Foundation.swift
[117/149] Compiling CryptoSwift ChaCha20+Foundation.swift
[118/149] Compiling CryptoSwift Data+Extension.swift
[119/149] Compiling CryptoSwift HMAC+Foundation.swift
[120/149] Compiling CryptoSwift Rabbit+Foundation.swift
[121/149] Compiling CryptoSwift String+FoundationExtension.swift
[122/149] Compiling CryptoSwift Utils+Foundation.swift
[123/149] Emitting module Base8
[124/149] Compiling Base8 Alphabet.swift
[125/150] Compiling Base64 Base64.swift
[126/151] Compiling VarInt VarInt.swift
[127/151] Compiling BaseX BaseX.swift
[128/151] Compiling Base32 Base32.swift
[129/151] Compiling Base32 Alphabets.swift
[131/153] Emitting module VarInt
[132/153] Compiling VarInt BinaryEncoder.swift
[133/153] Compiling Base2 Base2.swift
[134/154] Emitting module Base2
[140/155] Emitting module CryptoSwift
[141/155] Compiling CryptoSwift AEAD.swift
[142/155] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[143/155] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[144/155] Compiling CryptoSwift AES.Cryptors.swift
[145/155] Compiling CryptoSwift AES.swift
[146/155] Compiling CryptoSwift ASN1.swift
[147/155] Compiling CryptoSwift ASN1Decoder.swift
[148/155] Compiling CryptoSwift ASN1Encoder.swift
[149/155] Compiling CryptoSwift ASN1Scanner.swift
[150/155] Compiling CryptoSwift Array+Extension.swift
[151/155] Compiling CryptoSwift Authenticator.swift
[152/155] Compiling CryptoSwift BatchedCollection.swift
[153/155] Compiling CryptoSwift Bit.swift
[154/155] Compiling CryptoSwift BlockCipher.swift
[155/155] Compiling CryptoSwift BlockDecryptor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/123] Compiling Base32 BlockEncoding.swift
[3/123] Compiling Base32 Quintets.swift
[4/123] Compiling Base8 BlockEncoding.swift
[5/123] Compiling Base8 Quintets.swift
[6/123] Emitting module Base8
[7/123] Emitting module Base64
[8/123] Compiling Base64 Base64.swift
[9/124] Compiling Base8 BlockDecoding.swift
[11/124] Emitting module VarInt
[12/124] Compiling Base32 BlockDecoding.swift
[13/124] Compiling VarInt VarInt.swift
[14/124] Compiling VarInt BinaryEncoder.swift
[15/125] Compiling Base32 Base32.swift
[16/125] Compiling Base8 Alphabet.swift
[17/125] Compiling Base8 Base8.swift
[18/125] Emitting module Base32
[19/126] Compiling Base32 Alphabets.swift
[23/127] Emitting module BaseX
[24/127] Compiling BaseX BaseX.swift
[26/128] Compiling CryptoSwift CompactMap.swift
[27/128] Compiling CryptoSwift Cryptor.swift
[28/128] Compiling CryptoSwift Cryptors.swift
[29/128] Compiling CryptoSwift Digest.swift
[30/128] Compiling CryptoSwift DigestType.swift
[31/128] Compiling CryptoSwift AES+Foundation.swift
[32/128] Compiling CryptoSwift Array+Foundation.swift
[33/128] Compiling CryptoSwift Blowfish+Foundation.swift
[34/128] Compiling CryptoSwift ChaCha20+Foundation.swift
[35/128] Compiling CryptoSwift Data+Extension.swift
[36/128] Compiling CryptoSwift HMAC+Foundation.swift
[37/128] Compiling CryptoSwift Rabbit+Foundation.swift
[38/128] Compiling CryptoSwift String+FoundationExtension.swift
[39/128] Compiling CryptoSwift Utils+Foundation.swift
[40/146] Compiling Multicodec Multicodec.swift
[41/146] Emitting module Base2
[42/146] Compiling Base2 Base2.swift
[44/149] Emitting module Multibase
[45/149] Compiling Multibase Multibase.swift
[46/150] Compiling Multicodec Codecs+Equatable.swift
[47/150] Compiling Multicodec Codecs.swift
[48/150] Emitting module Multicodec
[51/151] Compiling CryptoSwift Signature.swift
[52/151] Compiling CryptoSwift StreamDecryptor.swift
[53/151] Compiling CryptoSwift StreamEncryptor.swift
[54/151] Compiling CryptoSwift String+Extension.swift
[55/151] Compiling CryptoSwift UInt128.swift
[56/151] Compiling CryptoSwift UInt16+Extension.swift
[57/151] Compiling CryptoSwift UInt32+Extension.swift
[58/151] Compiling CryptoSwift UInt64+Extension.swift
[59/151] Compiling CryptoSwift UInt8+Extension.swift
[60/151] Compiling CryptoSwift Updatable.swift
[61/151] Compiling CryptoSwift Utils.swift
[62/151] Compiling CryptoSwift XChaCha20.swift
[63/151] Compiling CryptoSwift ZeroPadding.swift
[64/151] Compiling CryptoSwift resource_bundle_accessor.swift
[65/151] 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 |
[66/151] 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 |
[67/151] 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 |
[68/151] 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 |
[69/151] 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 |
[70/151] 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 |
[71/151] 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 |
[72/151] 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 |
[73/151] 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 |
[74/151] 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 |
[75/151] 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 |
[76/151] 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 |
[77/151] 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 |
[78/151] 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 |
[79/151] 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 | }
[80/151] 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 | }
[81/151] 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 | }
[82/151] 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 | }
[83/151] 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 | }
[84/151] 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 | }
[85/151] 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 | }
[86/151] 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 | }
[87/151] 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 | }
[88/151] 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 | }
[89/151] 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 | }
[90/151] 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 | }
[91/151] 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 | }
[92/151] 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 | }
[93/151] Compiling CryptoSwift CMAC.swift
[94/151] Compiling CryptoSwift Addition.swift
[95/151] Compiling CryptoSwift BigInt.swift
[96/151] Compiling CryptoSwift BigUInt.swift
[97/151] Compiling CryptoSwift BitwiseOps.swift
[98/151] Compiling CryptoSwift CS.swift
[99/151] Compiling CryptoSwift Codable.swift
[100/151] Compiling CryptoSwift Comparable.swift
[101/151] Compiling CryptoSwift DataConversion.swift
[102/151] Compiling CryptoSwift Division.swift
[103/151] Compiling CryptoSwift Exponentiation.swift
[104/151] Compiling CryptoSwift FloatingPointConversion.swift
[105/151] Compiling CryptoSwift GCD.swift
[106/151] Compiling CryptoSwift Hashable.swift
[107/151] Compiling CryptoSwift IntegerConversion.swift
[108/151] Compiling CryptoSwift Multiplication.swift
[109/151] Compiling CryptoSwift PrimeTest.swift
[110/151] Compiling CryptoSwift Random.swift
[111/151] Compiling CryptoSwift Shifts.swift
[112/151] Compiling CryptoSwift SquareRoot.swift
[113/151] Compiling CryptoSwift Strideable.swift
[114/151] Compiling CryptoSwift StringConversion.swift
[115/151] Compiling CryptoSwift Subtraction.swift
[116/151] Compiling CryptoSwift WordsAndBits.swift
[117/151] Compiling CryptoSwift ChaCha20.swift
[118/151] Compiling CryptoSwift Checksum.swift
[119/151] Compiling CryptoSwift Cipher.swift
[120/151] Compiling CryptoSwift Collection+Extension.swift
[121/151] Compiling CryptoSwift BlockEncryptor.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)
[122/151] Compiling CryptoSwift BlockMode.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)
[123/151] Compiling CryptoSwift BlockModeOptions.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)
[124/151] Compiling CryptoSwift CBC.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)
[125/151] Compiling CryptoSwift CCM.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/151] Compiling CryptoSwift CFB.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/151] Compiling CryptoSwift CTR.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/151] 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)
[129/151] 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)
[130/151] 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)
[131/151] 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)
[132/151] 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)
[133/151] 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)
[134/151] 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)
[135/151] 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)
[136/151] Emitting module CryptoSwift
[137/151] Compiling CryptoSwift AEAD.swift
[138/151] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[139/151] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[140/151] Compiling CryptoSwift AES.Cryptors.swift
[141/151] Compiling CryptoSwift AES.swift
[142/151] Compiling CryptoSwift ASN1.swift
[143/151] Compiling CryptoSwift ASN1Decoder.swift
[144/151] Compiling CryptoSwift ASN1Encoder.swift
[145/151] Compiling CryptoSwift ASN1Scanner.swift
[146/151] Compiling CryptoSwift Array+Extension.swift
[147/151] Compiling CryptoSwift Authenticator.swift
[148/151] Compiling CryptoSwift BatchedCollection.swift
[149/151] Compiling CryptoSwift Bit.swift
[150/151] Compiling CryptoSwift BlockCipher.swift
[151/151] Compiling CryptoSwift BlockDecryptor.swift
BUILD FAILURE 6.1 android