Build Information
Failed to build WalletConnectSwift, reference 1.7.0 (e0bbfd), with Swift 6.1 for Wasm on 28 May 2025 09:17:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/WalletConnect/WalletConnectSwift.git
https://github.com/WalletConnect/WalletConnectSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.1",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
}
],
"manifest_display_name" : "WalletConnectSwift",
"name" : "WalletConnectSwift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "WalletConnectSwift",
"targets" : [
"WalletConnectSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "WalletConnectSwiftTests",
"module_type" : "SwiftTarget",
"name" : "WalletConnectSwiftTests",
"path" : "Tests",
"sources" : [
"ClientTests.swift",
"Helpers.swift",
"JSONRPC_2_0_Tests.swift",
"RequestTests.swift",
"ResponseTests.swift",
"SessionTests.swift",
"WCURLTests.swift",
"WalletConnectTests.swift"
],
"target_dependencies" : [
"WalletConnectSwift"
],
"type" : "test"
},
{
"c99name" : "WalletConnectSwift",
"module_type" : "SwiftTarget",
"name" : "WalletConnectSwift",
"path" : "Sources",
"product_dependencies" : [
"CryptoSwift"
],
"product_memberships" : [
"WalletConnectSwift"
],
"sources" : [
"Internal/AES_256_CBC_HMAC_SHA256_Codec.swift",
"Internal/BridgeTransport.swift",
"Internal/Communicator.swift",
"Internal/HandshakeHandler.swift",
"Internal/JSONRPC_2_0.swift",
"Internal/PubSubMessage.swift",
"Internal/Serializer.swift",
"Internal/UpdateSessionHandler.swift",
"Internal/WebSocketConnection.swift",
"PublicInterface/Client.swift",
"PublicInterface/Logger.swift",
"PublicInterface/Request.swift",
"PublicInterface/Response.swift",
"PublicInterface/Server.swift",
"PublicInterface/Session.swift",
"PublicInterface/WCURL.swift",
"PublicInterface/WalletConnect.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.18s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (2.76s)
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] Compiling CryptoSwift Integer Conversion.swift
[5/93] Compiling CryptoSwift Multiplication.swift
[6/93] Compiling CryptoSwift Prime Test.swift
[7/93] Compiling CryptoSwift Random.swift
[8/93] Compiling CryptoSwift Shifts.swift
[9/93] Compiling CryptoSwift Square Root.swift
[10/93] Compiling CryptoSwift Strideable.swift
[11/93] Compiling CryptoSwift String Conversion.swift
[12/93] Compiling CryptoSwift Subtraction.swift
[13/93] Compiling CryptoSwift Words and Bits.swift
[14/93] Compiling CryptoSwift ChaCha20.swift
[15/93] Compiling CryptoSwift Checksum.swift
[16/93] Compiling CryptoSwift Cipher.swift
[17/105] Emitting module CryptoSwift
[18/105] Compiling CryptoSwift AEAD.swift
[19/105] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[20/105] Compiling CryptoSwift AES.Cryptors.swift
[21/105] Compiling CryptoSwift AES.swift
[22/105] Compiling CryptoSwift Array+Extension.swift
[23/105] Compiling CryptoSwift Authenticator.swift
[24/105] Compiling CryptoSwift BatchedCollection.swift
[25/105] Compiling CryptoSwift Bit.swift
[26/105] Compiling CryptoSwift BlockCipher.swift
[27/105] Compiling CryptoSwift BlockDecryptor.swift
[28/105] Compiling CryptoSwift BlockEncryptor.swift
[29/105] Compiling CryptoSwift BlockMode.swift
[30/105] Compiling CryptoSwift BlockModeOptions.swift
[31/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 | }
[32/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 | }
[33/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 | }
[34/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 | }
[35/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 | }
[36/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 | }
[37/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 | }
[38/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 | }
[39/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 | }
[40/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 | }
[41/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 | }
[42/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 | }
[43/105] Compiling CryptoSwift Collection+Extension.swift
[44/105] Compiling CryptoSwift CompactMap.swift
[45/105] Compiling CryptoSwift Cryptor.swift
[46/105] Compiling CryptoSwift Cryptors.swift
[47/105] Compiling CryptoSwift Digest.swift
[48/105] Compiling CryptoSwift DigestType.swift
[49/105] Compiling CryptoSwift AES+Foundation.swift
[50/105] Compiling CryptoSwift Array+Foundation.swift
[51/105] Compiling CryptoSwift Blowfish+Foundation.swift
[52/105] Compiling CryptoSwift ChaCha20+Foundation.swift
[53/105] Compiling CryptoSwift Data+Extension.swift
[54/105] Compiling CryptoSwift HMAC+Foundation.swift
[55/105] Compiling CryptoSwift Rabbit+Foundation.swift
[56/105] Compiling CryptoSwift Addition.swift
[57/105] Compiling CryptoSwift BigInt.swift
[58/105] Compiling CryptoSwift BigUInt.swift
[59/105] Compiling CryptoSwift Bitwise Ops.swift
[60/105] Compiling CryptoSwift CS.swift
[61/105] Compiling CryptoSwift Codable.swift
[62/105] Compiling CryptoSwift Comparable.swift
[63/105] Compiling CryptoSwift Data Conversion.swift
[64/105] Compiling CryptoSwift Division.swift
[65/105] Compiling CryptoSwift Exponentiation.swift
[66/105] Compiling CryptoSwift Floating Point Conversion.swift
[67/105] Compiling CryptoSwift GCD.swift
[68/105] Compiling CryptoSwift Hashable.swift
[69/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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/105] 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
[82/105] 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
[83/105] 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
[84/105] 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
[85/105] 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
[86/105] 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
[87/105] 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
[88/105] 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
[89/105] 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
[90/105] 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
[91/105] 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
[92/105] 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
[93/105] 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)
[94/105] 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)
[95/105] 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)
[96/105] 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)
[97/105] 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)
[98/105] 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)
[99/105] 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)
[100/105] 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)
[101/105] 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)
[102/105] 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)
[103/105] 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)
[104/105] 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)
[105/105] 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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/91] 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
[3/91] 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
[4/91] 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
[5/91] 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
[6/91] 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
[7/91] 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
[8/91] 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
[9/91] 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
[10/91] 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
[11/91] 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
[12/91] 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
[13/91] 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
[14/103] 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 | }
[15/103] 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 | }
[16/103] 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 | }
[17/103] 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 | }
[18/103] 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 | }
[19/103] 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 | }
[20/103] 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 | }
[21/103] 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 | }
[22/103] 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 | }
[23/103] 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 | }
[24/103] 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 | }
[25/103] 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 | }
[26/103] Compiling CryptoSwift Addition.swift
[27/103] Compiling CryptoSwift BigInt.swift
[28/103] Compiling CryptoSwift BigUInt.swift
[29/103] Compiling CryptoSwift Bitwise Ops.swift
[30/103] Compiling CryptoSwift CS.swift
[31/103] Compiling CryptoSwift Codable.swift
[32/103] Compiling CryptoSwift Comparable.swift
[33/103] Compiling CryptoSwift Data Conversion.swift
[34/103] Compiling CryptoSwift Division.swift
[35/103] Compiling CryptoSwift Exponentiation.swift
[36/103] Compiling CryptoSwift Floating Point Conversion.swift
[37/103] Compiling CryptoSwift GCD.swift
[38/103] Compiling CryptoSwift Hashable.swift
[39/103] Emitting module CryptoSwift
[40/103] Compiling CryptoSwift Integer Conversion.swift
[41/103] Compiling CryptoSwift Multiplication.swift
[42/103] Compiling CryptoSwift Prime Test.swift
[43/103] Compiling CryptoSwift Random.swift
[44/103] Compiling CryptoSwift Shifts.swift
[45/103] Compiling CryptoSwift Square Root.swift
[46/103] Compiling CryptoSwift Strideable.swift
[47/103] Compiling CryptoSwift String Conversion.swift
[48/103] Compiling CryptoSwift Subtraction.swift
[49/103] Compiling CryptoSwift Words and Bits.swift
[50/103] Compiling CryptoSwift ChaCha20.swift
[51/103] Compiling CryptoSwift Checksum.swift
[52/103] Compiling CryptoSwift Cipher.swift
[53/103] Compiling CryptoSwift Collection+Extension.swift
[54/103] Compiling CryptoSwift CompactMap.swift
[55/103] Compiling CryptoSwift Cryptor.swift
[56/103] Compiling CryptoSwift Cryptors.swift
[57/103] Compiling CryptoSwift Digest.swift
[58/103] Compiling CryptoSwift DigestType.swift
[59/103] Compiling CryptoSwift AES+Foundation.swift
[60/103] Compiling CryptoSwift Array+Foundation.swift
[61/103] Compiling CryptoSwift Blowfish+Foundation.swift
[62/103] Compiling CryptoSwift ChaCha20+Foundation.swift
[63/103] Compiling CryptoSwift Data+Extension.swift
[64/103] Compiling CryptoSwift HMAC+Foundation.swift
[65/103] Compiling CryptoSwift Rabbit+Foundation.swift
[66/103] 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 |
[67/103] 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 |
[68/103] 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 |
[69/103] 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 |
[70/103] 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 |
[71/103] 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 |
[72/103] 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 |
[73/103] 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 |
[74/103] 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 |
[75/103] 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 |
[76/103] 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 |
[77/103] 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 |
[78/103] 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)
[79/103] 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)
[80/103] 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)
[81/103] 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)
[82/103] 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)
[83/103] 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)
[84/103] 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)
[85/103] 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)
[86/103] 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)
[87/103] 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)
[88/103] 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)
[89/103] 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)
[90/103] 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)
[91/103] Compiling CryptoSwift AEAD.swift
[92/103] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[93/103] Compiling CryptoSwift AES.Cryptors.swift
[94/103] Compiling CryptoSwift AES.swift
[95/103] Compiling CryptoSwift Array+Extension.swift
[96/103] Compiling CryptoSwift Authenticator.swift
[97/103] Compiling CryptoSwift BatchedCollection.swift
[98/103] Compiling CryptoSwift Bit.swift
[99/103] Compiling CryptoSwift BlockCipher.swift
[100/103] Compiling CryptoSwift BlockDecryptor.swift
[101/103] Compiling CryptoSwift BlockEncryptor.swift
[102/103] Compiling CryptoSwift BlockMode.swift
[103/103] Compiling CryptoSwift BlockModeOptions.swift
BUILD FAILURE 6.1 wasm