Build Information
Failed to build CaptureSDK, reference master (0af963
), with Swift 6.2 (beta) for Android on 24 Jun 2025 17:22:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SocketMobile/swift-package-capturesdk.git
Reference: master
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/SocketMobile/swift-package-capturesdk
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0af9634 New version of iOS CaptureSDK - Swift Package Manager
Cloned https://github.com/SocketMobile/swift-package-capturesdk.git
Revision (git rev-parse @):
0af9634c2c7707d9506f40c1808f79fb45d5dd89
SUCCESS checkout https://github.com/SocketMobile/swift-package-capturesdk.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/SocketMobile/swift-package-capturesdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/SocketMobile/swift-package-swiftdecodersdk.git
[1/158] Fetching swift-package-swiftdecodersdk
[55/13099] Fetching swift-package-swiftdecodersdk, cryptoswift
Fetched https://github.com/SocketMobile/swift-package-swiftdecodersdk.git from cache (2.07s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.08s)
Computing version for https://github.com/SocketMobile/swift-package-swiftdecodersdk.git
Computed https://github.com/SocketMobile/swift-package-swiftdecodersdk.git at 6.2.3 (2.66s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (1.07s)
Creating working copy for https://github.com/SocketMobile/swift-package-swiftdecodersdk.git
Working copy of https://github.com/SocketMobile/swift-package-swiftdecodersdk.git resolved at 6.2.3
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Building for debugging...
[0/6] Write sources
[0/6] Copying PrivacyInfo.xcprivacy
[2/6] Compiling SwiftDecoderCaptureSDK SwiftDecoderDummy.m
[3/6] Compiling CaptureSDKFramework CaptureSDKDummy.m
[4/6] Write swift-version-8C5A4AE7A8CE2BA.txt
[6/107] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[7/107] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[8/107] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[9/107] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[10/107] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[11/107] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[12/107] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[13/107] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[14/107] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[15/107] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[16/107] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[17/107] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[18/107] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[19/107] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 | // not supported on WASI
42 | #else
43 | mlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'mlock' in scope
44 | #endif
45 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 | // not supported on WASI
54 | #else
55 | munlock(pointer.baseAddress, pointer.count)
| `- error: cannot find 'munlock' in scope
56 | #endif
57 | }
[20/121] Compiling CryptoSwift CompactMap.swift
[21/121] Compiling CryptoSwift Cryptor.swift
[22/121] Compiling CryptoSwift Cryptors.swift
[23/121] Compiling CryptoSwift Digest.swift
[24/121] Compiling CryptoSwift DigestType.swift
[25/121] Compiling CryptoSwift AES+Foundation.swift
[26/121] Compiling CryptoSwift Array+Foundation.swift
[27/121] Compiling CryptoSwift Blowfish+Foundation.swift
[28/121] Compiling CryptoSwift ChaCha20+Foundation.swift
[29/121] Compiling CryptoSwift Data+Extension.swift
[30/121] Compiling CryptoSwift HMAC+Foundation.swift
[31/121] Compiling CryptoSwift Rabbit+Foundation.swift
[32/121] Compiling CryptoSwift String+FoundationExtension.swift
[33/121] Compiling CryptoSwift Utils+Foundation.swift
[34/121] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[35/121] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[36/121] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[37/121] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[38/121] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[39/121] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[40/121] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[41/121] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[42/121] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[43/121] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[44/121] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[45/121] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[46/121] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[47/121] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 | let keyLengthFinal = Double(dkLen)
58 | let hLen = Double(variant.digestLength)
59 | let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
60 | guard numBlocks <= 255 else {
61 | throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
64 | let keyLengthFinal = Double(dkLen)
65 | let hLen = Double(prf.variant.digestLength)
66 | if keyLengthFinal > (pow(2, 32) - 1) * hLen {
| `- error: cannot find 'pow' in scope
67 | throw Error.derivedKeyTooLong
68 | }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
72 | self.prf = prf
73 |
74 | self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
| `- error: cannot find 'ceil' in scope
75 | }
76 |
[48/121] Emitting module CryptoSwift
[49/121] Compiling CryptoSwift AEAD.swift
[50/121] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[51/121] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[52/121] Compiling CryptoSwift AES.Cryptors.swift
[53/121] Compiling CryptoSwift AES.swift
[54/121] Compiling CryptoSwift ASN1.swift
[55/121] Compiling CryptoSwift ASN1Decoder.swift
[56/121] Compiling CryptoSwift ASN1Encoder.swift
[57/121] Compiling CryptoSwift ASN1Scanner.swift
[58/121] Compiling CryptoSwift Array+Extension.swift
[59/121] Compiling CryptoSwift Authenticator.swift
[60/121] Compiling CryptoSwift BatchedCollection.swift
[61/121] Compiling CryptoSwift Bit.swift
[62/121] Compiling CryptoSwift BlockCipher.swift
[63/121] Compiling CryptoSwift BlockDecryptor.swift
[64/121] Compiling CryptoSwift CMAC.swift
[65/121] Compiling CryptoSwift Addition.swift
[66/121] Compiling CryptoSwift BigInt.swift
[67/121] Compiling CryptoSwift BigUInt.swift
[68/121] Compiling CryptoSwift BitwiseOps.swift
[69/121] Compiling CryptoSwift CS.swift
[70/121] Compiling CryptoSwift Codable.swift
[71/121] Compiling CryptoSwift Comparable.swift
[72/121] Compiling CryptoSwift DataConversion.swift
[73/121] Compiling CryptoSwift Division.swift
[74/121] Compiling CryptoSwift Exponentiation.swift
[75/121] Compiling CryptoSwift FloatingPointConversion.swift
[76/121] Compiling CryptoSwift GCD.swift
[77/121] Compiling CryptoSwift Hashable.swift
[78/121] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[79/121] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[80/121] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[81/121] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[82/121] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[83/121] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[84/121] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[85/121] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[86/121] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[87/121] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[88/121] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[89/121] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[90/121] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[91/121] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[92/121] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 | // [a]32
342 | return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 | case 4_294_967_296..<pow(2, 64): // 2^64
| `- error: cannot find 'pow' in scope
344 | // [a]64
345 | return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[93/121] Compiling CryptoSwift IntegerConversion.swift
[94/121] Compiling CryptoSwift Multiplication.swift
[95/121] Compiling CryptoSwift PrimeTest.swift
[96/121] Compiling CryptoSwift Random.swift
[97/121] Compiling CryptoSwift Shifts.swift
[98/121] Compiling CryptoSwift SquareRoot.swift
[99/121] Compiling CryptoSwift Strideable.swift
[100/121] Compiling CryptoSwift StringConversion.swift
[101/121] Compiling CryptoSwift Subtraction.swift
[102/121] Compiling CryptoSwift WordsAndBits.swift
[103/121] Compiling CryptoSwift ChaCha20.swift
[104/121] Compiling CryptoSwift Checksum.swift
[105/121] Compiling CryptoSwift Cipher.swift
[106/121] Compiling CryptoSwift Collection+Extension.swift
[107/121] Compiling CryptoSwift Signature.swift
[108/121] Compiling CryptoSwift StreamDecryptor.swift
[109/121] Compiling CryptoSwift StreamEncryptor.swift
[110/121] Compiling CryptoSwift String+Extension.swift
[111/121] Compiling CryptoSwift UInt128.swift
[112/121] Compiling CryptoSwift UInt16+Extension.swift
[113/121] Compiling CryptoSwift UInt32+Extension.swift
[114/121] Compiling CryptoSwift UInt64+Extension.swift
[115/121] Compiling CryptoSwift UInt8+Extension.swift
[116/121] Compiling CryptoSwift Updatable.swift
[117/121] Compiling CryptoSwift Utils.swift
[118/121] Compiling CryptoSwift XChaCha20.swift
[119/121] Compiling CryptoSwift ZeroPadding.swift
[120/121] Compiling CryptoSwift resource_bundle_accessor.swift
BUILD FAILURE 6.2 android