Build Information
Failed to build Glaip, reference main (b96b25), with Swift 6.3 for Wasm on 13 Apr 2026 08:46:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mehmetdelikaya/Glaip.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/mehmetdelikaya/Glaip
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b96b253 Update userstate iun main thread (#4)
Cloned https://github.com/mehmetdelikaya/Glaip.git
Revision (git rev-parse @):
b96b2539cf2adbdaaa71a798fa74b138d5da0981
SUCCESS checkout https://github.com/mehmetdelikaya/Glaip.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/mehmetdelikaya/Glaip.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/WalletConnect/WalletConnectSwift.git
[1/2123] Fetching walletconnectswift
Fetched https://github.com/WalletConnect/WalletConnectSwift.git from cache (2.28s)
Computing version for https://github.com/WalletConnect/WalletConnectSwift.git
Computed https://github.com/WalletConnect/WalletConnectSwift.git at 1.7.0 (3.31s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/13341] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.88s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (3.71s)
Creating working copy for https://github.com/WalletConnect/WalletConnectSwift.git
Working copy of https://github.com/WalletConnect/WalletConnectSwift.git resolved at 1.7.0
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/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/94] Emitting module CryptoSwift
[6/106] 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)
[7/106] 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)
[8/106] 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)
[9/106] 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)
[10/106] 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)
[11/106] 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)
[12/106] 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)
[13/106] 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)
[14/106] 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)
[15/106] 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)
[16/106] 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)
[17/106] 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)
[18/106] 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)
[19/106] Compiling CryptoSwift Integer Conversion.swift
[20/106] Compiling CryptoSwift Multiplication.swift
[21/106] Compiling CryptoSwift Prime Test.swift
[22/106] Compiling CryptoSwift Random.swift
[23/106] Compiling CryptoSwift Shifts.swift
[24/106] Compiling CryptoSwift Square Root.swift
[25/106] Compiling CryptoSwift Strideable.swift
[26/106] Compiling CryptoSwift String Conversion.swift
[27/106] Compiling CryptoSwift Subtraction.swift
[28/106] Compiling CryptoSwift Words and Bits.swift
[29/106] Compiling CryptoSwift ChaCha20.swift
[30/106] Compiling CryptoSwift Checksum.swift
[31/106] Compiling CryptoSwift Cipher.swift
[32/106] Compiling CryptoSwift AEAD.swift
[33/106] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[34/106] Compiling CryptoSwift AES.Cryptors.swift
[35/106] Compiling CryptoSwift AES.swift
[36/106] Compiling CryptoSwift Array+Extension.swift
[37/106] Compiling CryptoSwift Authenticator.swift
[38/106] Compiling CryptoSwift BatchedCollection.swift
[39/106] Compiling CryptoSwift Bit.swift
[40/106] Compiling CryptoSwift BlockCipher.swift
[41/106] Compiling CryptoSwift BlockDecryptor.swift
[42/106] Compiling CryptoSwift BlockEncryptor.swift
[43/106] Compiling CryptoSwift BlockMode.swift
[44/106] Compiling CryptoSwift BlockModeOptions.swift
[45/106] 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
[46/106] 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
[47/106] 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
[48/106] 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
[49/106] 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
[50/106] 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
[51/106] 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
[52/106] 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
[53/106] 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
[54/106] 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
[55/106] 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
[56/106] 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
[57/106] 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 | }
[58/106] 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 | }
[59/106] 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 | }
[60/106] 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 | }
[61/106] 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 | }
[62/106] 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 | }
[63/106] 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 | }
[64/106] 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 | }
[65/106] 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 | }
[66/106] 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 | }
[67/106] 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 | }
[68/106] 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 | }
[69/106] 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 |
[70/106] 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 |
[71/106] 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 |
[72/106] 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 |
[73/106] 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 |
[74/106] 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 |
[75/106] 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 |
[76/106] 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 |
[77/106] 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 |
[78/106] 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 |
[79/106] 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 |
[80/106] 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 |
[81/106] Compiling CryptoSwift Addition.swift
[82/106] Compiling CryptoSwift BigInt.swift
[83/106] Compiling CryptoSwift BigUInt.swift
[84/106] Compiling CryptoSwift Bitwise Ops.swift
[85/106] Compiling CryptoSwift CS.swift
[86/106] Compiling CryptoSwift Codable.swift
[87/106] Compiling CryptoSwift Comparable.swift
[88/106] Compiling CryptoSwift Data Conversion.swift
[89/106] Compiling CryptoSwift Division.swift
[90/106] Compiling CryptoSwift Exponentiation.swift
[91/106] Compiling CryptoSwift Floating Point Conversion.swift
[92/106] Compiling CryptoSwift GCD.swift
[93/106] Compiling CryptoSwift Hashable.swift
[94/106] Compiling CryptoSwift Collection+Extension.swift
[95/106] Compiling CryptoSwift CompactMap.swift
[96/106] Compiling CryptoSwift Cryptor.swift
[97/106] Compiling CryptoSwift Cryptors.swift
[98/106] Compiling CryptoSwift Digest.swift
[99/106] Compiling CryptoSwift DigestType.swift
[100/106] Compiling CryptoSwift AES+Foundation.swift
[101/106] Compiling CryptoSwift Array+Foundation.swift
[102/106] Compiling CryptoSwift Blowfish+Foundation.swift
[103/106] Compiling CryptoSwift ChaCha20+Foundation.swift
[104/106] Compiling CryptoSwift Data+Extension.swift
[105/106] Compiling CryptoSwift HMAC+Foundation.swift
[106/106] Compiling CryptoSwift Rabbit+Foundation.swift
BUILD FAILURE 6.3 wasm