The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JOSE, reference main (c534dc), with Swift 6.1 for Android on 28 May 2025 16:46:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

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