Build Information
Failed to build JOSE, reference 0.1.3 (c534dc), with Swift 6.1 for Android on 28 May 2025 16:45:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/proxyco/swift-jose.git
Reference: 0.1.3
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/proxyco/swift-jose
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at c534dca Format
Cloned https://github.com/proxyco/swift-jose.git
Revision (git rev-parse @):
c534dcaa0f6dd7fc0efa52cee0e097b503f16cdf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/proxyco/swift-jose.git at 0.1.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/proxyco/swift-jose.git
https://github.com/proxyco/swift-jose.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "openssl",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.180",
"upper_bound" : "1.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/OpenSSL.git"
},
{
"identity" : "secp256k1.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.2",
"upper_bound" : "0.13.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/GigaBitcoin/secp256k1.swift.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.7.2",
"upper_bound" : "1.8.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
}
],
"manifest_display_name" : "JOSE",
"name" : "JOSE",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "swift-jose",
"targets" : [
"JOSE"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "JOSETests",
"module_type" : "SwiftTarget",
"name" : "JOSETests",
"path" : "Tests/JOSETests",
"sources" : [
"Curve448Tests.swift",
"JWEJSONSerializationTests.swift",
"JWETests.swift",
"JWKThumbprintTests.swift",
"Utility/String+ReplacingWhiteSpacesAndNewLines.swift"
],
"target_dependencies" : [
"JOSE"
],
"type" : "test"
},
{
"c99name" : "JOSE",
"module_type" : "SwiftTarget",
"name" : "JOSE",
"path" : "Sources/JOSE",
"product_dependencies" : [
"OpenSSL",
"secp256k1",
"CryptoSwift"
],
"product_memberships" : [
"swift-jose"
],
"sources" : [
"JWE/JOSEHeader+Codable.swift",
"JWE/JOSEHeader+CompressionAlgorithm.swift",
"JWE/JOSEHeader+ContentEncryptionAlgorithm.swift",
"JWE/JOSEHeader+KeyManagementAlgorithm.swift",
"JWE/JOSEHeader.swift",
"JWE/JWE+CompactSerialization.swift",
"JWE/JWE+Crypto.swift",
"JWE/JWE+Decrypt.swift",
"JWE/JWE+Encrypt.swift",
"JWE/JWE+Error.swift",
"JWE/JWE+JOSEHeader.swift",
"JWE/JWE+JSONSerialization.swift",
"JWE/JWE+Recipient.swift",
"JWE/JWE.swift",
"JWK/Curve448.swift",
"JWK/JWK+Codable.swift",
"JWK/JWK+Error.swift",
"JWK/JWK+KeyAgreement.swift",
"JWK/JWK+Thumbprint.swift",
"JWK/JWK.swift",
"JWK/JWKRepresentable.swift",
"JWK/JWKSet.swift",
"Utility/Base64URL.swift",
"Utility/ConcatKDF.swift",
"Utility/Data+Random.swift",
"Utility/DataRepresentable.swift",
"Utility/Types+DataRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
Fetching https://github.com/krzyzanowskim/OpenSSL.git
[1/9790] Fetching openssl
[589/22731] Fetching openssl, cryptoswift
[1754/27560] Fetching openssl, cryptoswift, secp256k1.swift
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (78.04s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (78.12s)
Fetched https://github.com/krzyzanowskim/OpenSSL.git from cache (80.79s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.7.2 (81.86s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.12.2 (1.02s)
Computing version for https://github.com/krzyzanowskim/OpenSSL.git
Computed https://github.com/krzyzanowskim/OpenSSL.git at 1.1.2301 (0.99s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.7.2
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.12.2
Creating working copy for https://github.com/krzyzanowskim/OpenSSL.git
Working copy of https://github.com/krzyzanowskim/OpenSSL.git resolved at 1.1.2301
Building for debugging...
[0/8] Write sources
[3/8] Compiling Utility.c
[4/8] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling precomputed_ecmult_gen.c
[6/8] Compiling secp256k1.c
[7/106] Compiling precomputed_ecmult.c
[9/126] Emitting module secp256k1
[10/128] Compiling secp256k1 Exports.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[11/128] Compiling secp256k1 HashDigest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[12/128] Compiling secp256k1 Asymmetric.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[13/128] Compiling secp256k1 DH.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[14/128] Compiling secp256k1 Digest.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[15/128] Compiling secp256k1 Zeroization.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[16/128] Compiling secp256k1 secp256k1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[17/128] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[18/128] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[19/128] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[20/128] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[21/128] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[22/128] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[23/128] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[24/141] Compiling secp256k1 ECDH.swift
[25/141] Compiling secp256k1 ECDSA.swift
[26/141] Compiling secp256k1 EdDSA.swift
[27/141] Compiling secp256k1 PrettyBytes.swift
[28/141] Compiling secp256k1 RNG_boring.swift
[29/141] Compiling secp256k1 Recovery.swift
[30/141] Compiling secp256k1 Tweak.swift
[31/141] Compiling secp256k1 Utility.swift
[34/141] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[35/141] Compiling CryptoSwift Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[36/141] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[37/141] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[38/141] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[39/141] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[40/141] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[41/141] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[42/141] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[43/141] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[44/141] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[45/141] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[46/141] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[47/141] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[48/141] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[49/141] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[50/141] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[51/141] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[52/141] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[53/141] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[54/141] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[55/141] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[56/141] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[57/141] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[58/141] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[59/141] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[60/141] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[61/141] Compiling CryptoSwift PKCS5.swift
[62/141] Compiling CryptoSwift PKCS7.swift
[63/141] Compiling CryptoSwift PKCS7Padding.swift
[64/141] Compiling CryptoSwift Padding.swift
[65/141] Compiling CryptoSwift Poly1305.swift
[66/141] Compiling CryptoSwift RSA+Cipher.swift
[67/141] Compiling CryptoSwift RSA+Signature.swift
[68/141] Compiling CryptoSwift RSA.swift
[69/141] Compiling CryptoSwift Rabbit.swift
[70/141] Compiling CryptoSwift SHA1.swift
[71/141] Compiling CryptoSwift SHA2.swift
[72/141] Compiling CryptoSwift SHA3.swift
[73/141] Compiling CryptoSwift Scrypt.swift
[74/141] Compiling CryptoSwift Hashable.swift
[75/141] Compiling CryptoSwift Integer Conversion.swift
[76/141] Compiling CryptoSwift Multiplication.swift
[77/141] Compiling CryptoSwift Prime Test.swift
[78/141] Compiling CryptoSwift Random.swift
[79/141] Compiling CryptoSwift Shifts.swift
[80/141] Compiling CryptoSwift Square Root.swift
[81/141] Compiling CryptoSwift Strideable.swift
[82/141] Compiling CryptoSwift String Conversion.swift
[83/141] Compiling CryptoSwift Subtraction.swift
[84/141] Compiling CryptoSwift Words and Bits.swift
[85/141] Compiling CryptoSwift ChaCha20.swift
[86/141] Compiling CryptoSwift Checksum.swift
[87/141] Compiling CryptoSwift Cipher.swift
[88/141] Compiling CryptoSwift Collection+Extension.swift
[89/141] Compiling CryptoSwift CompactMap.swift
[90/141] Compiling CryptoSwift Cryptor.swift
[91/141] Compiling CryptoSwift Cryptors.swift
[92/141] Compiling CryptoSwift Digest.swift
[93/141] Compiling CryptoSwift DigestType.swift
[94/141] Compiling CryptoSwift AES+Foundation.swift
[95/141] Compiling CryptoSwift Array+Foundation.swift
[96/141] Compiling CryptoSwift Blowfish+Foundation.swift
[97/141] Compiling CryptoSwift ChaCha20+Foundation.swift
[98/141] Compiling CryptoSwift Data+Extension.swift
[99/141] Compiling CryptoSwift HMAC+Foundation.swift
[100/141] Compiling CryptoSwift Rabbit+Foundation.swift
[101/141] Compiling CryptoSwift String+FoundationExtension.swift
[102/141] Compiling CryptoSwift CBCMAC.swift
[103/141] Compiling CryptoSwift CMAC.swift
[104/141] Compiling CryptoSwift Addition.swift
[105/141] Compiling CryptoSwift BigInt.swift
[106/141] Compiling CryptoSwift BigUInt.swift
[107/141] Compiling CryptoSwift Bitwise Ops.swift
[108/141] Compiling CryptoSwift CS.swift
[109/141] Compiling CryptoSwift Codable.swift
[110/141] Compiling CryptoSwift Comparable.swift
[111/141] Compiling CryptoSwift Data Conversion.swift
[112/141] Compiling CryptoSwift Division.swift
[113/141] Compiling CryptoSwift Exponentiation.swift
[114/141] Compiling CryptoSwift Floating Point Conversion.swift
[115/141] Compiling CryptoSwift GCD.swift
[116/141] Compiling secp256k1 Errors.swift
[119/141] Compiling secp256k1 SHA256.swift
[120/141] Compiling secp256k1 SafeCompare.swift
[121/141] Compiling secp256k1 Schnorr.swift
[125/141] Compiling secp256k1 SecureBytes.swift
[126/141] Compiling secp256k1 Signature.swift
[127/142] Emitting module CryptoSwift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/119] Emitting module secp256k1
[3/121] Emitting module CryptoSwift
[4/134] Compiling CryptoSwift CBC.swift
[5/134] Compiling CryptoSwift CCM.swift
[6/134] Compiling CryptoSwift BlockEncryptor.swift
[7/134] Compiling CryptoSwift BlockMode.swift
[8/134] Compiling CryptoSwift BlockModeOptions.swift
[9/134] Compiling CryptoSwift BlockCipher.swift
[10/134] Compiling CryptoSwift BlockDecryptor.swift
[11/134] Compiling CryptoSwift AEAD.swift
[12/134] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[13/134] Compiling CryptoSwift AES.Cryptors.swift
[14/134] Compiling CryptoSwift AES.swift
[15/134] Compiling CryptoSwift ASN1.swift
[16/134] Compiling CryptoSwift ASN1Decoder.swift
[17/134] Compiling CryptoSwift ASN1Encoder.swift
[18/134] Compiling CryptoSwift ASN1Scanner.swift
[19/134] Compiling CryptoSwift Array+Extension.swift
[20/134] Compiling CryptoSwift Authenticator.swift
[21/134] Compiling CryptoSwift BatchedCollection.swift
[22/134] Compiling CryptoSwift Bit.swift
[23/134] Compiling CryptoSwift Collection+Extension.swift
[24/134] Compiling CryptoSwift CompactMap.swift
[25/134] Compiling CryptoSwift Cryptor.swift
[26/134] Compiling CryptoSwift Cryptors.swift
[27/134] Compiling CryptoSwift Digest.swift
[28/134] Compiling CryptoSwift DigestType.swift
[29/134] Compiling CryptoSwift AES+Foundation.swift
[30/134] Compiling CryptoSwift Array+Foundation.swift
[31/134] Compiling CryptoSwift Blowfish+Foundation.swift
[32/134] Compiling CryptoSwift ChaCha20+Foundation.swift
[33/134] Compiling CryptoSwift Data+Extension.swift
[34/134] Compiling CryptoSwift HMAC+Foundation.swift
[35/134] Compiling CryptoSwift Rabbit+Foundation.swift
[36/134] Compiling CryptoSwift String+FoundationExtension.swift
[37/134] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[38/134] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[39/134] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[40/134] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[41/134] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[42/134] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[43/134] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[44/134] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[45/134] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[46/134] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[47/134] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[48/134] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[49/134] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[50/134] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:57:25: error: cannot find 'ceil' in scope
55 | let keyLengthFinal = Double(dkLen)
56 | let hLen = Double(variant.digestLength)
57 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
58 | guard numBlocks <= 255 else {
59 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:64:28: error: cannot find 'pow' in scope
62 | let keyLengthFinal = Double(dkLen)
63 | let hLen = Double(prf.variant.digestLength)
64 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
65 | throw Error.derivedKeyTooLong
66 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:72:28: error: cannot find 'ceil' in scope
70 | self.prf = prf
71 |
72 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
73 | }
74 |
[51/134] Compiling secp256k1 Zeroization.swift
[52/134] Compiling secp256k1 secp256k1.swift
[54/135] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[55/135] Compiling CryptoSwift Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[56/135] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[57/135] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[58/135] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[59/135] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[60/135] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[61/135] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[62/135] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[63/135] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[64/135] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[65/135] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[66/135] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:41:9: error: cannot find 'mlock' in scope
39 | // not supported on WASI
40 | #else
41 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
42 | #endif
43 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:53:9: error: cannot find 'munlock' in scope
51 | // not supported on WASI
52 | #else
53 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
54 | #endif
55 | }
[67/135] Compiling CryptoSwift CBCMAC.swift
[68/135] Compiling CryptoSwift CMAC.swift
[69/135] Compiling CryptoSwift Addition.swift
[70/135] Compiling CryptoSwift BigInt.swift
[71/135] Compiling CryptoSwift BigUInt.swift
[72/135] Compiling CryptoSwift Bitwise Ops.swift
[73/135] Compiling CryptoSwift CS.swift
[74/135] Compiling CryptoSwift Codable.swift
[75/135] Compiling CryptoSwift Comparable.swift
[76/135] Compiling CryptoSwift Data Conversion.swift
[77/135] Compiling CryptoSwift Division.swift
[78/135] Compiling CryptoSwift Exponentiation.swift
[79/135] Compiling CryptoSwift Floating Point Conversion.swift
[80/135] Compiling CryptoSwift GCD.swift
[81/135] Compiling CryptoSwift Hashable.swift
[82/135] Compiling CryptoSwift Integer Conversion.swift
[83/135] Compiling CryptoSwift Multiplication.swift
[84/135] Compiling CryptoSwift Prime Test.swift
[85/135] Compiling CryptoSwift Random.swift
[86/135] Compiling CryptoSwift Shifts.swift
[87/135] Compiling CryptoSwift Square Root.swift
[88/135] Compiling CryptoSwift Strideable.swift
[89/135] Compiling CryptoSwift String Conversion.swift
[90/135] Compiling CryptoSwift Subtraction.swift
[91/135] Compiling CryptoSwift Words and Bits.swift
[92/135] Compiling CryptoSwift ChaCha20.swift
[93/135] Compiling CryptoSwift Checksum.swift
[94/135] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[102/135] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[103/135] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[104/135] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[105/135] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[106/135] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[107/135] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[108/135] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:341:26: error: cannot find 'pow' in scope
339 | // [a]32
340 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
341 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
342 | // [a]64
343 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[109/135] Compiling CryptoSwift PKCS5.swift
[110/135] Compiling CryptoSwift PKCS7.swift
[111/135] Compiling CryptoSwift PKCS7Padding.swift
[112/135] Compiling CryptoSwift Padding.swift
[113/135] Compiling CryptoSwift Poly1305.swift
[114/135] Compiling CryptoSwift RSA+Cipher.swift
[115/135] Compiling CryptoSwift RSA+Signature.swift
[116/135] Compiling CryptoSwift RSA.swift
[117/135] Compiling CryptoSwift Rabbit.swift
[118/135] Compiling CryptoSwift SHA1.swift
[119/135] Compiling CryptoSwift SHA2.swift
[120/135] Compiling CryptoSwift SHA3.swift
[121/135] Compiling CryptoSwift Scrypt.swift
BUILD FAILURE 6.1 android