The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WalletConnectSwift, reference 1.7.0 (e0bbfd), with Swift 6.3 for Wasm on 21 Apr 2026 08:42:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WalletConnect/WalletConnectSwift.git
Reference: 1.7.0
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/WalletConnect/WalletConnectSwift
 * tag               1.7.0      -> FETCH_HEAD
HEAD is now at e0bbfd1 Merge pull request #128 from WalletConnect/bump-lib-version
Cloned https://github.com/WalletConnect/WalletConnectSwift.git
Revision (git rev-parse @):
e0bbfd16d5c54a7aa7e316956d765399c6332fa2
SUCCESS checkout https://github.com/WalletConnect/WalletConnectSwift.git at 1.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/WalletConnect/WalletConnectSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/13341] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.79s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (4.10s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/93] Emitting module CryptoSwift
[5/93] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[6/93] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[7/93] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[8/93] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[9/93] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[10/93] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[11/93] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[12/93] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[13/93] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[14/93] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[15/93] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[16/93] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[17/93] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[18/93] Compiling CryptoSwift Integer Conversion.swift
[19/93] Compiling CryptoSwift Multiplication.swift
[20/93] Compiling CryptoSwift Prime Test.swift
[21/93] Compiling CryptoSwift Random.swift
[22/93] Compiling CryptoSwift Shifts.swift
[23/93] Compiling CryptoSwift Square Root.swift
[24/93] Compiling CryptoSwift Strideable.swift
[25/93] Compiling CryptoSwift String Conversion.swift
[26/93] Compiling CryptoSwift Subtraction.swift
[27/93] Compiling CryptoSwift Words and Bits.swift
[28/93] Compiling CryptoSwift ChaCha20.swift
[29/93] Compiling CryptoSwift Checksum.swift
[30/93] Compiling CryptoSwift Cipher.swift
[31/93] Compiling CryptoSwift AEAD.swift
[32/93] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[33/93] Compiling CryptoSwift AES.Cryptors.swift
[34/93] Compiling CryptoSwift AES.swift
[35/93] Compiling CryptoSwift Array+Extension.swift
[36/93] Compiling CryptoSwift Authenticator.swift
[37/93] Compiling CryptoSwift BatchedCollection.swift
[38/93] Compiling CryptoSwift Bit.swift
[39/93] Compiling CryptoSwift BlockCipher.swift
[40/93] Compiling CryptoSwift BlockDecryptor.swift
[41/93] Compiling CryptoSwift BlockEncryptor.swift
[42/93] Compiling CryptoSwift BlockMode.swift
[43/93] Compiling CryptoSwift BlockModeOptions.swift
[44/93] Compiling CryptoSwift String+FoundationExtension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[45/93] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[46/93] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[47/93] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[48/93] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[49/93] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[50/93] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[51/93] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[52/93] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[53/93] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[54/93] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[55/93] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[56/93] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[57/93] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[58/93] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[59/93] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[60/93] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[61/93] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[62/93] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[63/93] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[64/93] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[65/93] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[66/93] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[67/93] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[68/93] Compiling CryptoSwift Collection+Extension.swift
[69/93] Compiling CryptoSwift CompactMap.swift
[70/93] Compiling CryptoSwift Cryptor.swift
[71/93] Compiling CryptoSwift Cryptors.swift
[72/93] Compiling CryptoSwift Digest.swift
[73/93] Compiling CryptoSwift DigestType.swift
[74/93] Compiling CryptoSwift AES+Foundation.swift
[75/93] Compiling CryptoSwift Array+Foundation.swift
[76/93] Compiling CryptoSwift Blowfish+Foundation.swift
[77/93] Compiling CryptoSwift ChaCha20+Foundation.swift
[78/93] Compiling CryptoSwift Data+Extension.swift
[79/93] Compiling CryptoSwift HMAC+Foundation.swift
[80/93] Compiling CryptoSwift Rabbit+Foundation.swift
[81/93] Compiling CryptoSwift Addition.swift
[82/93] Compiling CryptoSwift BigInt.swift
[83/93] Compiling CryptoSwift BigUInt.swift
[84/93] Compiling CryptoSwift Bitwise Ops.swift
[85/93] Compiling CryptoSwift CS.swift
[86/93] Compiling CryptoSwift Codable.swift
[87/93] Compiling CryptoSwift Comparable.swift
[88/93] Compiling CryptoSwift Data Conversion.swift
[89/93] Compiling CryptoSwift Division.swift
[90/93] Compiling CryptoSwift Exponentiation.swift
[91/93] Compiling CryptoSwift Floating Point Conversion.swift
[92/93] Compiling CryptoSwift GCD.swift
[93/93] Compiling CryptoSwift Hashable.swift
[94/105] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[95/105] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[96/105] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[97/105] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[98/105] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[99/105] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[100/105] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[101/105] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[102/105] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[103/105] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[104/105] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[105/105] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
BUILD FAILURE 6.3 wasm