The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TonSdkSwift, reference main (63fceb), with Swift 6.2 for Android on 1 May 2026 02:04:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/ton-sdk-swift.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/nerzh/ton-sdk-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63fcebb fix bigint
Cloned https://github.com/nerzh/ton-sdk-swift.git
Revision (git rev-parse @):
63fcebb093e5886c5f3057b83ca0bb1b30beff10
SUCCESS checkout https://github.com/nerzh/ton-sdk-swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/nerzh/ton-sdk-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/bytehubio/BigInt
Fetching https://github.com/nerzh/swift-regular-expression
Fetching https://github.com/apple/swift-crypto
Fetching https://github.com/nerzh/swift-extensions-pack
Fetching https://github.com/bytehubio/CryptoSwift
Fetching https://github.com/nerzh/swift-net-layer
[1/61] Fetching swift-regular-expression
[62/4487] Fetching swift-regular-expression, bigint
[63/5627] Fetching swift-regular-expression, bigint, swift-extensions-pack
[1136/16545] Fetching swift-regular-expression, bigint, swift-extensions-pack, cryptoswift
[1932/16969] Fetching swift-regular-expression, bigint, swift-extensions-pack, cryptoswift, swift-net-layer
Fetched https://github.com/nerzh/swift-net-layer from cache (0.31s)
[4696/16545] Fetching swift-regular-expression, bigint, swift-extensions-pack, cryptoswift
[7485/34002] Fetching swift-regular-expression, bigint, swift-extensions-pack, cryptoswift, swift-crypto
Fetched https://github.com/nerzh/swift-regular-expression from cache (1.95s)
[30276/33941] Fetching bigint, swift-extensions-pack, cryptoswift, swift-crypto
Fetched https://github.com/bytehubio/CryptoSwift from cache (1.99s)
[21627/23023] Fetching bigint, swift-extensions-pack, swift-crypto
Fetched https://github.com/nerzh/swift-extensions-pack from cache (2.94s)
Fetched https://github.com/bytehubio/BigInt from cache (2.95s)
Fetched https://github.com/apple/swift-crypto from cache (2.99s)
Computing version for https://github.com/bytehubio/CryptoSwift
Computed https://github.com/bytehubio/CryptoSwift at 1.8.1 (5.53s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 4.5.0 (3.20s)
Fetching https://github.com/apple/swift-asn1.git
[1/1813] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.33s)
Computing version for https://github.com/bytehubio/BigInt
Computed https://github.com/bytehubio/BigInt at 5.7.0 (0.68s)
Computing version for https://github.com/nerzh/swift-net-layer
Computed https://github.com/nerzh/swift-net-layer at 1.6.2 (0.50s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (0.75s)
Computing version for https://github.com/nerzh/swift-extensions-pack
Computed https://github.com/nerzh/swift-extensions-pack at 2.2.4 (0.51s)
Fetching https://github.com/bytehubio/ed25519
[1/179] Fetching ed25519
Fetched https://github.com/bytehubio/ed25519 from cache (0.33s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.0.0 (0.94s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.82s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 4.5.0
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.0.0
Creating working copy for https://github.com/bytehubio/BigInt
Working copy of https://github.com/bytehubio/BigInt resolved at 5.7.0
Creating working copy for https://github.com/bytehubio/CryptoSwift
Working copy of https://github.com/bytehubio/CryptoSwift resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/nerzh/swift-net-layer
Working copy of https://github.com/nerzh/swift-net-layer resolved at 1.6.2
Creating working copy for https://github.com/nerzh/swift-extensions-pack
Working copy of https://github.com/nerzh/swift-extensions-pack resolved at 2.2.4
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
Building for debugging...
[0/393] Write sources
[8/393] Copying PrivacyInfo.xcprivacy
[8/393] Write sources
[10/393] Compiling CXKCPShims shims.c
[11/393] Compiling KeccakHash.c
[12/393] Compiling SimpleFIPS202.c
[13/393] Compiling CEd25519 verify.c
[13/393] Compiling CEd25519 sign.c
[15/393] Compiling KeccakSponge.c
[16/393] Compiling CEd25519 key_exchange.c
[17/393] Write swift-version--11D90AFD9DD3AB2.txt
[18/393] Compiling CEd25519 keypair.c
[19/393] Compiling CEd25519 seed.c
[20/393] Compiling CEd25519 sha512.c
[21/393] Compiling CEd25519 sc.c
[22/393] Compiling CEd25519 add_scalar.c
[23/394] Compiling CEd25519 ge.c
[24/395] Compiling CEd25519 fe.c
[25/435] Compiling fiat_p256_adx_sqr.S
[26/514] Compiling fiat_p256_adx_mul.S
[27/523] Compiling fiat_curve25519_adx_square.S
[28/523] Compiling fiat_curve25519_adx_mul.S
[29/523] Compiling md5-x86_64-linux.S
[31/523] Emitting module Ed25519
[31/523] Compiling md5-x86_64-apple.S
[32/523] Compiling md5-586-linux.S
[33/523] Compiling md5-586-apple.S
[34/523] Compiling CCryptoBoringSSLShims shims.c
[35/523] Compiling KeccakP-1600-opt64.c
[36/523] Compiling chacha20_poly1305_x86_64-linux.S
[37/523] Compiling chacha20_poly1305_x86_64-apple.S
[38/523] Compiling chacha20_poly1305_armv8-win.S
[39/523] Compiling aes.cc
[40/523] Compiling chacha20_poly1305_armv8-linux.S
[41/523] Compiling chacha-x86_64-linux.S
[42/523] Compiling chacha20_poly1305_armv8-apple.S
[43/523] Compiling chacha-x86_64-apple.S
[44/523] Compiling chacha-x86-linux.S
[45/523] Compiling chacha-x86-apple.S
[46/523] Compiling chacha-armv8-win.S
[47/523] Compiling chacha-armv8-apple.S
[48/523] Compiling chacha-armv4-linux.S
[49/523] Compiling err_data.cc
[50/523] Compiling aes128gcmsiv-x86_64-linux.S
[51/523] Compiling chacha-armv8-linux.S
[52/523] Compiling aes128gcmsiv-x86_64-apple.S
[53/523] Compiling x86_64-mont5-linux.S
[54/523] Compiling x86_64-mont5-apple.S
[55/523] Compiling x86_64-mont-linux.S
[56/523] Compiling x86_64-mont-apple.S
[57/523] Compiling x86-mont-linux.S
[58/523] Compiling x86-mont-apple.S
[59/523] Compiling vpaes-x86_64-apple.S
[60/523] Compiling vpaes-x86_64-linux.S
[61/523] Compiling vpaes-x86-linux.S
[62/523] Compiling vpaes-x86-apple.S
[63/523] Compiling vpaes-armv8-win.S
[64/523] Compiling vpaes-armv8-linux.S
[65/523] Compiling vpaes-armv8-apple.S
[66/523] Compiling vpaes-armv7-linux.S
[67/523] Compiling sha512-x86_64-linux.S
[68/523] Compiling sha512-x86_64-apple.S
[69/523] Compiling sha512-armv8-win.S
[70/523] Compiling sha512-armv8-apple.S
[71/523] Compiling sha512-586-linux.S
[72/523] Compiling sha512-armv8-linux.S
[73/523] Compiling sha512-armv4-linux.S
[74/523] Compiling sha512-586-apple.S
[75/523] Compiling sha256-x86_64-linux.S
[76/523] Compiling sha256-armv8-win.S
[77/523] Compiling sha256-x86_64-apple.S
[78/523] Compiling sha256-armv8-linux.S
[79/523] Compiling sha256-armv8-apple.S
[80/523] Compiling sha256-586-linux.S
[81/523] Compiling sha256-586-apple.S
[82/523] Compiling sha256-armv4-linux.S
[83/523] Compiling sha1-x86_64-apple.S
[84/523] Compiling sha1-x86_64-linux.S
[85/523] Compiling sha1-armv8-win.S
[86/523] Compiling sha1-armv4-large-linux.S
[87/523] Compiling sha1-armv8-apple.S
[88/523] Compiling sha1-armv8-linux.S
[89/523] Compiling sha1-586-linux.S
[90/523] Compiling sha1-586-apple.S
[91/523] Compiling rsaz-avx2-linux.S
[92/523] Compiling rsaz-avx2-apple.S
[93/523] Compiling rdrand-x86_64-linux.S
[94/523] Compiling rdrand-x86_64-apple.S
[95/523] Compiling p256_beeu-x86_64-asm-apple.S
[95/523] Compiling p256_beeu-x86_64-asm-linux.S
[97/523] Compiling p256_beeu-armv8-asm-win.S
[98/523] Compiling p256_beeu-armv8-asm-linux.S
[99/523] Compiling p256_beeu-armv8-asm-apple.S
[100/523] Compiling p256-x86_64-asm-linux.S
[101/523] Compiling p256-x86_64-asm-apple.S
[102/523] Compiling p256-armv8-asm-win.S
[103/523] Compiling p256-armv8-asm-linux.S
[104/523] Compiling p256-armv8-asm-apple.S
[105/523] Compiling ghashv8-armv8-linux.S
[106/523] Compiling ghashv8-armv8-win.S
[107/523] Compiling ghashv8-armv8-apple.S
[108/523] Compiling ghashv8-armv7-linux.S
[109/523] Compiling ghash-x86_64-linux.S
[110/523] Compiling ghash-x86_64-apple.S
[111/523] Compiling ghash-x86-linux.S
[112/523] Compiling ghash-ssse3-x86_64-apple.S
[113/523] Compiling ghash-ssse3-x86_64-linux.S
[114/523] Compiling ghash-ssse3-x86-linux.S
[115/523] Compiling ghash-x86-apple.S
[116/523] Compiling ghash-neon-armv8-win.S
[117/523] Compiling ghash-neon-armv8-linux.S
[118/523] Compiling ghash-neon-armv8-apple.S
[118/523] Compiling ghash-ssse3-x86-apple.S
[120/523] Compiling bsaes-armv7-linux.S
[121/523] Compiling ghash-armv4-linux.S
[122/523] Compiling co-586-apple.S
[123/523] Compiling co-586-linux.S
[124/523] Compiling bn-armv8-win.S
[125/523] Compiling bn-586-linux.S
[126/523] Compiling bn-armv8-linux.S
[127/523] Compiling bn-armv8-apple.S
[128/523] Compiling bn-586-apple.S
[129/523] Compiling armv8-mont-win.S
[130/523] Compiling armv8-mont-apple.S
[131/523] Compiling armv8-mont-linux.S
[132/523] Compiling armv4-mont-linux.S
[133/523] Compiling aesv8-gcm-armv8-win.S
[134/523] Compiling aesv8-gcm-armv8-apple.S
[135/523] Compiling aesv8-gcm-armv8-linux.S
[136/523] Compiling aesv8-armv8-win.S
[137/523] Compiling aesv8-armv8-linux.S
[138/523] Compiling aesv8-armv7-linux.S
[139/523] Compiling aesv8-armv8-apple.S
[140/523] Compiling aesni-x86_64-linux.S
[141/523] Compiling aesni-x86-apple.S
[142/523] Compiling aesni-x86_64-apple.S
[143/523] Compiling aesni-x86-linux.S
[144/523] Compiling aesni-gcm-x86_64-linux.S
[145/523] Compiling aesni-gcm-x86_64-apple.S
[146/523] Compiling aes-gcm-avx512-x86_64-linux.S
[147/523] Compiling aes-gcm-avx512-x86_64-apple.S
[148/523] Compiling aes-gcm-avx2-x86_64-linux.S
[149/523] Compiling aes-gcm-avx2-x86_64-apple.S
[150/523] Compiling xwing.cc
[152/523] Compiling Ed25519 Seed.swift
[153/523] Compiling Ed25519 PrivateKey.swift
[154/523] Compiling Ed25519 PublicKey.swift
[155/523] Compiling CryptoSwift CBC.swift
[156/523] Compiling CryptoSwift CCM.swift
[157/525] Compiling Ed25519 KeyPair.swift
[158/525] Compiling Ed25519 Error.swift
[160/526] Emitting module BigInt
[160/526] Compiling x_spki.cc
[161/526] Compiling x_x509a.cc
[162/526] Compiling x_x509.cc
[164/526] Compiling CryptoSwift Bit.swift
[165/526] Compiling CryptoSwift BlockCipher.swift
[166/526] Compiling CryptoSwift BlockDecryptor.swift
[167/526] Compiling CryptoSwift BlockEncryptor.swift
[168/526] Compiling CryptoSwift BlockMode.swift
[169/526] Compiling CryptoSwift BlockModeOptions.swift
[170/526] Compiling BigInt Subtraction.swift
[171/526] Compiling BigInt Words and Bits.swift
[171/526] Compiling x_req.cc
[172/526] Compiling x_sig.cc
[173/526] Compiling x_name.cc
[174/526] Compiling x_pubkey.cc
[175/526] Compiling x_exten.cc
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[184/526] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[185/526] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[186/526] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[187/526] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[188/526] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[189/526] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[190/526] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[191/526] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 |       // [a]32
340 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
342 |       // [a]64
343 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[191/540] Compiling x_attrib.cc
[192/540] Compiling x_crl.cc
[193/540] Compiling x509spki.cc
[195/540] Compiling CryptoSwift ASN1Decoder.swift
[196/540] Compiling CryptoSwift ASN1Encoder.swift
[197/540] Compiling CryptoSwift ASN1Scanner.swift
[198/540] Compiling CryptoSwift CompactMap.swift
[199/540] Compiling CryptoSwift Cryptor.swift
[200/540] Compiling CryptoSwift Cryptors.swift
[201/540] Compiling CryptoSwift Digest.swift
[202/540] Compiling CryptoSwift DigestType.swift
[203/540] Compiling CryptoSwift AES+Foundation.swift
[204/540] Compiling CryptoSwift Array+Foundation.swift
[205/540] Compiling CryptoSwift Blowfish+Foundation.swift
[206/540] Compiling CryptoSwift ChaCha20+Foundation.swift
[207/540] Compiling CryptoSwift Data+Extension.swift
[208/540] Compiling CryptoSwift HMAC+Foundation.swift
[209/540] Compiling CryptoSwift Rabbit+Foundation.swift
[210/540] Compiling CryptoSwift String+FoundationExtension.swift
[211/540] Compiling CryptoSwift Utils+Foundation.swift
[212/540] Compiling CryptoSwift AEAD.swift
[213/540] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[214/540] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[214/540] Compiling x_all.cc
[216/540] Compiling CryptoSwift AES.Cryptors.swift
[217/540] Compiling CryptoSwift AES.swift
[218/540] Compiling CryptoSwift ASN1.swift
[219/540] Compiling CryptoSwift Array+Extension.swift
[220/540] Compiling CryptoSwift Authenticator.swift
[221/540] Compiling CryptoSwift BatchedCollection.swift
[222/541] Emitting module SwiftRegularExpression
[223/541] Compiling SwiftRegularExpression String+Regexp.swift
[223/542] Compiling x_algor.cc
[227/575] Compiling SwiftExtensionsPack String+Chunks.swift
[228/575] Compiling SwiftExtensionsPack String+Date.swift
[229/575] Compiling CryptoSwift BigInt.swift
[230/575] Compiling CryptoSwift BigUInt.swift
[231/575] Compiling CryptoSwift Bitwise Ops.swift
[232/575] Compiling CryptoSwift CS.swift
[233/575] Compiling CryptoSwift Codable.swift
[234/575] Compiling CryptoSwift Comparable.swift
[235/575] Compiling CryptoSwift Data Conversion.swift
[236/575] Compiling CryptoSwift Division.swift
[237/575] Compiling CryptoSwift Exponentiation.swift
[238/575] Compiling CryptoSwift Floating Point Conversion.swift
[239/575] Compiling CryptoSwift GCD.swift
[240/575] Compiling CryptoSwift Hashable.swift
[241/575] Compiling CryptoSwift Integer Conversion.swift
[242/575] Compiling CryptoSwift Multiplication.swift
[243/575] Compiling CryptoSwift Prime Test.swift
[244/575] Compiling CryptoSwift Random.swift
[245/575] Compiling CryptoSwift Shifts.swift
[246/575] Compiling CryptoSwift Square Root.swift
[247/575] Compiling CryptoSwift Strideable.swift
[248/575] Compiling CryptoSwift String Conversion.swift
[249/575] Compiling CryptoSwift Subtraction.swift
[250/575] Compiling CryptoSwift Words and Bits.swift
[251/575] Compiling CryptoSwift ChaCha20.swift
[252/575] Compiling CryptoSwift Checksum.swift
[253/575] Compiling CryptoSwift Cipher.swift
[254/575] Compiling CryptoSwift Collection+Extension.swift
[254/575] Compiling x509rset.cc
[255/575] Compiling x509name.cc
[256/575] Compiling x509_v3.cc
[257/575] Compiling x509cset.cc
[258/575] Compiling x509_vpm.cc
[259/575] Compiling x509_vfy.cc
[261/575] Compiling CryptoSwift Signature.swift
[262/575] Compiling CryptoSwift StreamDecryptor.swift
[263/575] Compiling CryptoSwift StreamEncryptor.swift
[264/575] Compiling CryptoSwift String+Extension.swift
[265/575] Compiling CryptoSwift UInt128.swift
[266/575] Compiling CryptoSwift UInt16+Extension.swift
[267/575] Compiling CryptoSwift UInt32+Extension.swift
[268/575] Compiling CryptoSwift UInt64+Extension.swift
[269/575] Compiling CryptoSwift UInt8+Extension.swift
[270/575] Compiling CryptoSwift Updatable.swift
[271/575] Compiling CryptoSwift Utils.swift
[272/575] Compiling CryptoSwift XChaCha20.swift
[273/575] Compiling CryptoSwift ZeroPadding.swift
[274/575] Compiling CryptoSwift resource_bundle_accessor.swift
[275/575] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[276/575] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[277/575] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[278/575] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[279/575] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[280/575] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[281/575] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[282/575] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[283/575] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[284/575] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[285/575] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[286/575] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[287/575] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[288/575] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 |     let keyLengthFinal = Double(dkLen)
56 |     let hLen = Double(variant.digestLength)
57 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
58 |     guard numBlocks <= 255 else {
59 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
 62 |       let keyLengthFinal = Double(dkLen)
 63 |       let hLen = Double(prf.variant.digestLength)
 64 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 65 |         throw Error.derivedKeyTooLong
 66 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
 70 |       self.prf = prf
 71 |
 72 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 73 |     }
 74 |
[289/575] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[290/575] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[291/575] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[292/575] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[293/575] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[294/575] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[295/575] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[296/575] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[297/575] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[298/575] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[299/575] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[300/575] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[301/575] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[302/575] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 |         // not supported on WASI
40 |       #else
41 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
42 |       #endif
43 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 |         // not supported on WASI
52 |       #else
53 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
54 |       #endif
55 |     }
[302/575] Compiling x509_txt.cc
[303/575] Compiling x509_trs.cc
[304/575] Compiling x509_set.cc
[305/575] Compiling x509_req.cc
[306/575] Compiling x509_obj.cc
[307/575] Compiling x509_lu.cc
[309/575] Compiling SwiftExtensionsPack SafeArray.swift
[310/575] Compiling SwiftExtensionsPack Sequence+Extensions.swift
[311/575] Compiling SwiftExtensionsPack Codable+Extensions.swift
[312/575] Compiling SwiftExtensionsPack AnyValue.swift
[313/575] Compiling SwiftExtensionsPack Atomic.swift
[314/575] Compiling SwiftExtensionsPack CommonClasses.swift
[315/575] Compiling SwiftExtensionsPack CommonMethods.swift
[316/575] Compiling SwiftExtensionsPack ErrorCommon.swift
[317/575] Compiling SwiftExtensionsPack Limiter.swift
[318/575] Compiling SwiftExtensionsPack ObjectIdentifier.swift
[319/575] Compiling SwiftExtensionsPack Protocols.swift
[320/575] Compiling SwiftExtensionsPack Runtime.swift
[321/575] Compiling SwiftExtensionsPack SafeValue.swift
[322/575] Compiling SwiftExtensionsPack AES.swift
[323/575] Compiling SwiftExtensionsPack ByteArray+Bits.swift
[324/575] Emitting module CryptoSwift
[324/575] Compiling x509_cmp.cc
[324/575] Compiling x509_att.cc
[324/575] Compiling x509_d2.cc
[324/575] Compiling x509_ext.cc
[324/575] Compiling x509_def.cc
[324/575] Compiling x509.cc
BUILD FAILURE 6.2 android