Build Information
Failed to build SwiftSnmpKit, reference 0.2.0 (97e749), with Swift 6.2 for Android on 19 Jun 2025 22:12:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrellroot/SwiftSnmpKit.git
Reference: 0.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/darrellroot/SwiftSnmpKit
* tag 0.2.0 -> FETCH_HEAD
HEAD is now at 97e7493 Updated documentation
Cloned https://github.com/darrellroot/SwiftSnmpKit.git
Revision (git rev-parse @):
97e7493e0030909048fb6a6e09bca51f5a6918cb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/darrellroot/SwiftSnmpKit.git at 0.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/darrellroot/SwiftSnmpKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-nio.git
[1/12941] Fetching cryptoswift
[1813/89268] Fetching cryptoswift, swift-nio
Fetching https://github.com/apple/swift-crypto.git
[89269/104581] Fetching cryptoswift, swift-nio, swift-crypto
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (5.13s)
[83065/91640] Fetching swift-nio, swift-crypto
Fetched https://github.com/apple/swift-nio.git from cache (5.23s)
[9954/15313] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (7.67s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.09s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[73/6233] Fetching swift-atomics, swift-system
[4517/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.47s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.69s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Building for debugging...
[0/437] Write sources
[9/437] Copying PrivacyInfo.xcprivacy
[12/437] Compiling CNIOWindows shim.c
[13/437] Compiling CNIOWindows WSAStartup.c
[14/437] Compiling CNIOLinux liburing_shims.c
[15/437] Compiling CNIOWASI CNIOWASI.c
[16/437] Compiling CNIODarwin shim.c
[17/437] Compiling _AtomicsShims.c
[18/437] Compiling CNIOLinux shim.c
[19/437] Compiling fiat_curve25519_adx_mul.S
[20/437] Write swift-version-8C5A4AE7A8CE2BA.txt
[21/437] Compiling fiat_curve25519_adx_square.S
[22/441] Compiling v3_purp.c
[23/441] Compiling v3_skey.c
[24/441] Compiling CCryptoBoringSSLShims shims.c
[25/441] Compiling v3_prn.c
[26/441] Compiling v3_utl.c
[27/558] Compiling v3_pmaps.c
[28/558] Compiling v3_pcons.c
[29/558] Compiling v3_ocsp.c
[30/558] Compiling v3_ncons.c
[31/558] Compiling v3_int.c
[32/558] Compiling v3_lib.c
[33/558] Compiling v3_info.c
[34/558] Compiling v3_ia5.c
[35/558] Compiling v3_genn.c
[36/558] Compiling v3_extku.c
[37/558] Compiling v3_enum.c
[38/558] Compiling v3_crld.c
[39/558] Compiling v3_conf.c
[40/558] Compiling v3_cpols.c
[41/558] Compiling v3_bitst.c
[42/558] Compiling v3_bcons.c
[43/558] Compiling v3_alt.c
[44/558] Compiling c-nioatomics.c
[45/558] Compiling v3_akeya.c
[46/558] Compiling v3_akey.c
[47/558] Compiling x_x509a.c
[48/558] Compiling x_val.c
[49/558] Compiling x_spki.c
[50/558] Compiling x_x509.c
[51/558] Compiling x_req.c
[52/558] Compiling x_sig.c
[53/558] Compiling x_pubkey.c
[54/558] Compiling x_pkey.c
[55/558] Compiling x_name.c
[56/558] Compiling x_info.c
[57/558] Compiling x_exten.c
[58/558] Compiling x_crl.c
[59/558] Compiling x_attrib.c
[60/558] Compiling x_all.c
[61/558] Compiling x509spki.c
[62/558] Compiling x_algor.c
[63/558] Compiling c-atomics.c
[65/558] Compiling CryptoSwift Authenticator.swift
[66/558] Compiling CryptoSwift BatchedCollection.swift
[66/559] Compiling x509name.c
[67/559] Compiling x509rset.c
[69/559] Emitting module InternalCollectionsUtilities
[70/559] Compiling CryptoSwift AEAD.swift
[71/559] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[72/559] Compiling CryptoSwift AES.swift
[73/559] Compiling CryptoSwift ASN1.swift
[73/559] Compiling x509cset.c
[75/563] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[76/563] Compiling CryptoSwift AES.Cryptors.swift
[77/565] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[78/565] Compiling CryptoSwift ASN1Decoder.swift
[79/565] Compiling CryptoSwift ASN1Encoder.swift
[80/565] Compiling CryptoSwift ASN1Scanner.swift
[81/565] Compiling CryptoSwift Array+Extension.swift
[81/565] Compiling x509_vpm.c
[83/565] Emitting module _NIOBase64
[84/565] Compiling _NIOBase64 Base64.swift
[85/566] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[88/567] Compiling _NIODataStructures Heap.swift
[88/567] Compiling x509_txt.c
[89/567] Compiling x509_v3.c
[91/567] Compiling _NIODataStructures PriorityQueue.swift
[92/567] Emitting module _NIODataStructures
[93/567] Compiling _NIODataStructures _TinyArray.swift
[94/581] Compiling x509_req.c
[95/583] Compiling x509_set.c
[96/583] Compiling x509_trs.c
[97/583] Compiling x509_vfy.c
[98/583] Compiling x509_obj.c
[100/583] Compiling DequeModule Deque+CustomReflectable.swift
[101/583] Compiling DequeModule Deque+Descriptions.swift
[102/585] Compiling DequeModule _DequeBuffer.swift
[103/585] Compiling DequeModule _DequeBufferHeader.swift
[103/585] Compiling x509_lu.c
[104/585] Compiling x509_ext.c
[105/585] Compiling x509_def.c
[106/585] Compiling x509_d2.c
[108/585] Compiling DequeModule Deque+Equatable.swift
[109/585] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[110/585] Compiling DequeModule Deque+Extras.swift
[111/585] Compiling DequeModule Deque+Hashable.swift
[112/585] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[112/585] Compiling x509_cmp.c
[114/585] Compiling NIOConcurrencyHelpers lock.swift
[114/585] Compiling x509_att.c
[115/585] Compiling t_x509a.c
[117/585] Emitting module NIOConcurrencyHelpers
[117/585] Compiling x509.c
[119/585] Compiling DequeModule _DequeSlot.swift
[120/585] Compiling DequeModule _UnsafeWrappedBuffer.swift
[121/585] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[122/585] Compiling NIOConcurrencyHelpers NIOLock.swift
[122/585] Compiling t_req.c
[124/585] Compiling NIOConcurrencyHelpers atomics.swift
[124/585] Compiling t_x509.c
[126/586] Compiling DequeModule Deque+Testing.swift
[127/586] Compiling DequeModule Deque._Storage.swift
[128/586] Compiling DequeModule Deque._UnsafeHandle.swift
[129/586] Compiling DequeModule Deque.swift
[130/586] Compiling name_print.c
[131/586] Compiling t_crl.c
[132/586] Compiling i2d_pr.c
[133/586] Compiling rsa_pss.c
[135/586] Compiling DequeModule Deque+Codable.swift
[136/586] Compiling DequeModule Deque+Collection.swift
[136/586] Compiling algorithm.c
[137/586] Compiling policy.c
[138/586] Compiling by_file.c
[139/586] Compiling a_verify.c
[140/586] Compiling a_sign.c
[141/586] Compiling a_digest.c
[142/586] Compiling trust_token.c
[143/586] Compiling voprf.c
[143/586] Compiling by_dir.c
[145/586] Compiling asn1_gen.c
[146/586] Compiling thread_win.c
[147/586] Compiling thread_pthread.c
[149/586] Emitting module DequeModule
[149/587] Compiling thread_none.c
[150/587] Compiling thread.c
[152/587] Compiling rsa_print.c
[153/587] Compiling stack.c
[154/587] Compiling rc4.c
[155/587] Compiling pmbtoken.c
[156/587] Compiling refcount.c
[157/587] Compiling rsa_asn1.c
[158/587] Compiling siphash.c
[159/587] Compiling windows.c
[160/587] Compiling rsa_crypt.c
[161/587] Compiling rand_extra.c
[162/587] Compiling trusty.c
[163/587] Compiling passive.c
[164/587] Compiling ios.c
[165/587] Compiling getentropy.c
[166/587] Compiling poly1305_vec.c
[167/587] Compiling forkunsafe.c
[168/587] Compiling deterministic.c
[169/587] Compiling poly1305_arm.c
[170/587] Compiling pool.c
[171/587] Compiling poly1305.c
[172/587] Compiling poly1305_arm_asm.S
[173/587] Compiling p5_pbev2.c
[174/587] Compiling pkcs8.c
[175/587] Compiling pkcs7_x509.c
[176/587] Compiling pkcs8_x509.c
[177/587] Compiling pkcs7.c
[178/587] Compiling pem_x509.c
[179/587] Compiling pem_xaux.c
[180/587] Compiling pem_pkey.c
[181/587] Compiling obj_xref.c
[182/587] Compiling pem_lib.c
[183/587] Compiling pem_info.c
[183/587] Compiling pem_oth.c
[185/587] Compiling pem_pk8.c
[186/587] Compiling pem_all.c
[187/587] Compiling mem.c
[188/587] Compiling poly_rq_mul.S
[189/587] Compiling lhash.c
[190/587] Compiling obj.c
[191/587] Compiling keccak.c
[192/587] Compiling kyber.c
[193/587] Compiling x86_64-mont5-linux.linux.x86_64.S
[193/587] Compiling x86_64-mont5-mac.mac.x86_64.S
[195/587] Compiling x86_64-mont-linux.linux.x86_64.S
[196/587] Compiling hpke.c
[197/587] Compiling x86_64-mont-mac.mac.x86_64.S
[198/587] Compiling vpaes-x86_64-mac.mac.x86_64.S
[199/587] Compiling x86-mont-linux.linux.x86.S
[200/587] Compiling vpaes-x86_64-linux.linux.x86_64.S
[200/587] Compiling x86-mont-windows.windows.x86.S
[202/587] Compiling vpaes-x86-linux.linux.x86.S
[202/587] Compiling vpaes-x86-windows.windows.x86.S
[204/587] Compiling vpaes-armv8-ios.ios.aarch64.S
[205/587] Compiling vpaes-armv8-linux.linux.aarch64.S
[206/587] Compiling vpaes-armv7-linux.linux.arm.S
[207/587] Compiling vpaes-armv7-ios.ios.arm.S
[208/587] Compiling kdf.c
[209/587] Compiling sha512-x86_64-linux.linux.x86_64.S
[210/587] Compiling hrss.c
[211/587] Compiling sha512-x86_64-mac.mac.x86_64.S
[212/587] Compiling sha512-armv8-linux.linux.aarch64.S
[213/587] Compiling sha512-armv4-ios.ios.arm.S
[214/587] Compiling sha512-armv4-linux.linux.arm.S
[214/587] Compiling sha512-armv8-ios.ios.aarch64.S
[216/587] Compiling sha512-586-linux.linux.x86.S
[217/587] Compiling sha512-586-windows.windows.x86.S
[218/587] Compiling sha256-x86_64-mac.mac.x86_64.S
[219/587] Compiling sha256-armv4-ios.ios.arm.S
[220/587] Compiling sha256-armv8-ios.ios.aarch64.S
[220/587] Compiling sha256-x86_64-linux.linux.x86_64.S
[222/587] Compiling sha256-586-linux.linux.x86.S
[223/587] Compiling sha256-armv4-linux.linux.arm.S
[224/587] Compiling sha256-armv8-linux.linux.aarch64.S
[225/587] Compiling sha256-586-windows.windows.x86.S
[226/587] Compiling sha1-x86_64-linux.linux.x86_64.S
[227/587] Compiling sha1-x86_64-mac.mac.x86_64.S
[228/587] Compiling sha1-armv4-large-linux.linux.arm.S
[229/587] Compiling sha1-armv4-large-ios.ios.arm.S
[230/587] Compiling sha1-armv8-ios.ios.aarch64.S
[231/587] Compiling sha1-586-windows.windows.x86.S
[232/587] Compiling sha1-armv8-linux.linux.aarch64.S
[233/587] Compiling sha1-586-linux.linux.x86.S
[234/587] Compiling rsaz-avx2-mac.mac.x86_64.S
[235/587] Compiling service_indicator.c
[236/587] Compiling sha1.c
[237/587] Compiling fips.c
[238/587] Compiling sha512.c
[239/587] Compiling sha256.c
[240/587] Compiling rsaz-avx2-linux.linux.x86_64.S
[241/587] Compiling self_check.c
[242/587] Compiling padding.c
[243/587] Compiling rdrand-x86_64-mac.mac.x86_64.S
[244/587] Compiling rdrand-x86_64-linux.linux.x86_64.S
[245/587] Compiling blinding.c
[246/587] Compiling rsa_impl.c
[247/587] Compiling urandom.c
[248/587] Compiling rand.c
[249/587] Compiling p256_beeu-x86_64-asm-linux.linux.x86_64.S
[250/587] Compiling rsa.c
[251/587] Compiling ctrdrbg.c
[252/587] Compiling p256_beeu-x86_64-asm-mac.mac.x86_64.S
[253/587] Compiling fork_detect.c
[254/587] Compiling p256-x86_64-asm-mac.mac.x86_64.S
[255/587] Compiling p256_beeu-armv8-asm-ios.ios.aarch64.S
[255/587] Compiling p256_beeu-armv8-asm-linux.linux.aarch64.S
[258/587] 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 |
[259/587] 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 |
[260/587] 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 |
[261/587] 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 |
[262/587] 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 |
[263/587] 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 |
[264/587] 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 |
[265/587] 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 |
[266/587] 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 |
[267/587] 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 |
[268/587] 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 |
[269/587] 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 |
[270/587] 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 |
[271/587] 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 |
[271/599] Compiling p256-armv8-asm-ios.ios.aarch64.S
[273/601] Compiling CryptoSwift CompactMap.swift
[274/601] Compiling CryptoSwift Cryptor.swift
[275/601] Compiling CryptoSwift Cryptors.swift
[276/601] Compiling CryptoSwift Digest.swift
[277/601] Compiling CryptoSwift DigestType.swift
[278/601] Compiling CryptoSwift AES+Foundation.swift
[279/601] Compiling CryptoSwift Array+Foundation.swift
[280/601] Compiling CryptoSwift Blowfish+Foundation.swift
[281/601] Compiling CryptoSwift ChaCha20+Foundation.swift
[282/601] Compiling CryptoSwift Data+Extension.swift
[283/601] Compiling CryptoSwift HMAC+Foundation.swift
[284/601] Compiling CryptoSwift Rabbit+Foundation.swift
[285/601] Compiling CryptoSwift String+FoundationExtension.swift
[286/601] Compiling CryptoSwift Utils+Foundation.swift
[286/601] Compiling p256-x86_64-asm-linux.linux.x86_64.S
[287/601] Compiling p256-armv8-asm-linux.linux.aarch64.S
[288/601] Compiling polyval.c
[290/601] 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 | }
[291/601] 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 | }
[292/601] 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 | }
[293/601] 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 | }
[294/601] 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 | }
[295/601] 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 | }
[296/601] 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 | }
[297/601] 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 | }
[298/601] 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 | }
[299/601] 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 | }
[300/601] 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 | }
[301/601] 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 | }
[302/601] 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 | }
[303/601] 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 | }
[303/601] Compiling cfb.c
[303/601] Compiling ofb.c
[305/601] Compiling gcm.c
[306/601] Compiling gcm_nohw.c
[307/601] Compiling ctr.c
[308/601] Compiling md5.c
[309/601] Compiling md5-x86_64-mac.mac.x86_64.S
[310/601] Compiling cbc.c
[311/601] Compiling md5-x86_64-linux.linux.x86_64.S
[312/601] Compiling md5-586-windows.windows.x86.S
[313/601] Compiling md5-586-linux.linux.x86.S
[314/601] Compiling md4.c
[315/601] Compiling hkdf.c
[316/601] Compiling hmac.c
[317/601] Compiling ghashv8-armv7-ios.ios.arm.S
[318/601] Compiling ghashv8-armv8-ios.ios.aarch64.S
[319/601] Compiling ghashv8-armv7-linux.linux.arm.S
[320/601] Compiling ghashv8-armv8-linux.linux.aarch64.S
[321/601] Compiling ghash-x86-windows.windows.x86.S
[322/601] Compiling ghash-x86_64-mac.mac.x86_64.S
[323/601] Compiling ghash-x86_64-linux.linux.x86_64.S
[324/601] Compiling ghash-x86-linux.linux.x86.S
[325/601] Compiling ghash-ssse3-x86_64-mac.mac.x86_64.S
[326/601] Compiling ghash-ssse3-x86_64-linux.linux.x86_64.S
[327/601] Compiling ghash-ssse3-x86-windows.windows.x86.S
[328/601] Compiling ghash-neon-armv8-ios.ios.aarch64.S
[329/601] Compiling ghash-ssse3-x86-linux.linux.x86.S
[330/601] Compiling ghash-neon-armv8-linux.linux.aarch64.S
[331/601] Compiling fips_shared_support.c
[332/601] Compiling ghash-armv4-ios.ios.arm.S
[334/601] Compiling CryptoSwift CMAC.swift
[335/601] Compiling CryptoSwift Addition.swift
[336/601] Compiling CryptoSwift BigInt.swift
[337/601] Compiling CryptoSwift BigUInt.swift
[338/601] Compiling CryptoSwift BitwiseOps.swift
[339/601] Compiling CryptoSwift CS.swift
[340/601] Compiling CryptoSwift Codable.swift
[341/601] Compiling CryptoSwift Comparable.swift
[342/601] Compiling CryptoSwift DataConversion.swift
[343/601] Compiling CryptoSwift Division.swift
[344/601] Compiling CryptoSwift Exponentiation.swift
[345/601] Compiling CryptoSwift FloatingPointConversion.swift
[346/601] Compiling CryptoSwift GCD.swift
[347/601] Compiling CryptoSwift Hashable.swift
[348/601] Compiling CryptoSwift IntegerConversion.swift
[349/601] Compiling CryptoSwift Multiplication.swift
[350/601] Compiling CryptoSwift PrimeTest.swift
[351/601] Compiling CryptoSwift Random.swift
[352/601] Compiling CryptoSwift Shifts.swift
[353/601] Compiling CryptoSwift SquareRoot.swift
[354/601] Compiling CryptoSwift Strideable.swift
[355/601] Compiling CryptoSwift StringConversion.swift
[356/601] Compiling CryptoSwift Subtraction.swift
[357/601] Compiling CryptoSwift WordsAndBits.swift
[358/601] Compiling CryptoSwift ChaCha20.swift
[359/601] Compiling CryptoSwift Checksum.swift
[360/601] Compiling CryptoSwift Cipher.swift
[361/601] Compiling CryptoSwift Collection+Extension.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)
[363/601] 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)
[364/601] 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)
[365/601] 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)
[366/601] 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)
[367/601] 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)
[368/601] 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)
[369/601] 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)
[370/601] 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)
[371/601] 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)
[372/601] 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)
[373/601] 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)
[374/601] 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)
[375/601] 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)
[376/601] 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)
[376/601] Compiling ghash-armv4-linux.linux.arm.S
[377/601] Compiling ecdsa.c
[378/601] Compiling wnaf.c
[379/601] Compiling scalar.c
[380/601] Compiling ecdh.c
[381/601] Compiling simple.c
[382/601] Compiling util.c
[383/601] Compiling p256.c
[384/601] Compiling simple_mul.c
[385/601] Compiling p224-64.c
[386/601] Compiling felem.c
[387/601] Compiling oct.c
[388/601] Compiling ec_montgomery.c
[389/601] Compiling digestsign.c
[390/601] Compiling digests.c
[390/601] Compiling dh.c
[392/601] Compiling ec_key.c
[393/601] Compiling digest.c
[394/601] Compiling p256-nistz.c
[395/601] Compiling ec.c
[396/601] Compiling co-586-windows.windows.x86.S
[397/601] Compiling cmac.c
[398/601] Compiling check.c
[399/601] Compiling co-586-linux.linux.x86.S
[400/601] Compiling e_aesccm.c
[401/601] Compiling bsaes-armv7-linux.linux.arm.S
[402/601] Compiling aead.c
[403/601] Compiling bsaes-armv7-ios.ios.arm.S
[404/601] Compiling cipher.c
[405/601] Compiling shift.c
[406/601] Compiling sqrt.c
[407/601] Compiling rsaz_exp.c
[408/601] Compiling random.c
[409/601] Compiling e_aes.c
[410/601] Compiling montgomery_inv.c
[411/601] Compiling prime.c
[412/601] Compiling mul.c
[413/601] Compiling montgomery.c
[414/601] Compiling jacobi.c
[415/601] Compiling gcd_extra.c
[416/601] Compiling div_extra.c
[418/601] Emitting module CryptoSwift
[418/601] Compiling generic.c
[434/601] Compiling gcd.c
[435/601] Compiling div.c
[436/601] Compiling exponentiation.c
[437/601] Compiling ctx.c
[438/601] Compiling x86_64-gcc.c
[439/601] Compiling bytes.c
[440/601] Compiling cmp.c
[441/601] Compiling bn.c
[442/601] Compiling bn-armv8-ios.ios.aarch64.S
[443/601] Compiling bn-armv8-linux.linux.aarch64.S
[444/601] Compiling add.c
[445/601] Compiling bn-586-windows.windows.x86.S
[446/601] Compiling armv4-mont-ios.ios.arm.S
[447/601] Compiling bn-586-linux.linux.x86.S
[448/601] Compiling armv4-mont-linux.linux.arm.S
[449/601] Compiling armv8-mont-ios.ios.aarch64.S
[450/601] Compiling armv8-mont-linux.linux.aarch64.S
[451/601] Compiling aesv8-gcm-armv8-linux.linux.aarch64.S
[452/601] Compiling aesv8-armv8-ios.ios.aarch64.S
[453/601] Compiling aesv8-gcm-armv8-ios.ios.aarch64.S
[454/601] Compiling aesni-x86_64-linux.linux.x86_64.S
[455/601] Compiling aesni-x86_64-mac.mac.x86_64.S
[456/601] Compiling aesni-x86-linux.linux.x86.S
[456/601] Compiling aesv8-armv7-ios.ios.arm.S
[458/601] Compiling aesv8-armv7-linux.linux.arm.S
[459/601] Compiling aesni-x86-windows.windows.x86.S
[460/601] Compiling aesv8-armv8-linux.linux.aarch64.S
[461/601] Compiling aesni-gcm-x86_64-linux.linux.x86_64.S
[462/601] Compiling aesni-gcm-x86_64-mac.mac.x86_64.S
[463/601] Compiling ex_data.c
[464/601] Compiling sign.c
[465/601] Compiling mode_wrappers.c
[466/601] Compiling aes_nohw.c
[467/601] Compiling key_wrap.c
[468/601] Compiling aes.c
[469/601] Compiling scrypt.c
[470/601] Compiling pbkdf.c
[471/601] Compiling print.c
[472/601] Compiling p_x25519_asn1.c
[473/601] Compiling p_x25519.c
[474/601] Compiling p_hkdf.c
[475/601] Compiling p_rsa_asn1.c
[476/601] Compiling p_ed25519.c
[477/601] Compiling p_ed25519_asn1.c
[479/601] Compiling CryptoSwift Signature.swift
[480/601] Compiling CryptoSwift StreamDecryptor.swift
[481/601] Compiling CryptoSwift StreamEncryptor.swift
[482/601] Compiling CryptoSwift String+Extension.swift
[483/601] Compiling CryptoSwift UInt128.swift
[484/601] Compiling CryptoSwift UInt16+Extension.swift
[485/601] Compiling CryptoSwift UInt32+Extension.swift
[486/601] Compiling CryptoSwift UInt64+Extension.swift
[487/601] Compiling CryptoSwift UInt8+Extension.swift
[488/601] Compiling CryptoSwift Updatable.swift
[489/601] Compiling CryptoSwift Utils.swift
[490/601] Compiling CryptoSwift XChaCha20.swift
[491/601] Compiling CryptoSwift ZeroPadding.swift
[492/601] Compiling CryptoSwift resource_bundle_accessor.swift
[492/601] Compiling p_ec_asn1.c
[493/601] Compiling p_rsa.c
[494/601] Compiling p_ec.c
[495/601] Compiling p_dsa_asn1.c
[496/601] Compiling err_data.c
[497/601] Compiling evp_ctx.c
[498/601] Compiling evp.c
[499/601] Compiling engine.c
[500/601] Compiling evp_asn1.c
[501/601] Compiling dsa_asn1.c
[501/601] Compiling err.c
[501/601] Compiling ec_derive.c
[501/601] Compiling hash_to_curve.c
[501/601] Compiling ec_asn1.c
[501/601] Compiling ecdh_extra.c
[501/601] Compiling ecdsa_asn1.c
BUILD FAILURE 6.2 android