The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WalletConnectSwift, reference master (9e4dfb), with Swift 6.1 for Android on 28 May 2025 09:17:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/WalletConnect/WalletConnectSwift.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/WalletConnect/WalletConnectSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9e4dfba Merge pull request #135 from immutable/logs-update
Cloned https://github.com/WalletConnect/WalletConnectSwift.git
Revision (git rev-parse @):
9e4dfba34fb35336fd5da551285d7986ff536cb8
SUCCESS checkout https://github.com/WalletConnect/WalletConnectSwift.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/WalletConnect/WalletConnectSwift.git
https://github.com/WalletConnect/WalletConnectSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.1",
            "upper_bound" : "1.6.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "WalletConnectSwift",
  "name" : "WalletConnectSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WalletConnectSwift",
      "targets" : [
        "WalletConnectSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WalletConnectSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "WalletConnectSwiftTests",
      "path" : "Tests",
      "sources" : [
        "ClientTests.swift",
        "Helpers.swift",
        "JSONRPC_2_0_Tests.swift",
        "RequestTests.swift",
        "ResponseTests.swift",
        "SessionTests.swift",
        "WCURLTests.swift",
        "WalletConnectTests.swift"
      ],
      "target_dependencies" : [
        "WalletConnectSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WalletConnectSwift",
      "module_type" : "SwiftTarget",
      "name" : "WalletConnectSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "CryptoSwift"
      ],
      "product_memberships" : [
        "WalletConnectSwift"
      ],
      "sources" : [
        "Internal/AES_256_CBC_HMAC_SHA256_Codec.swift",
        "Internal/BridgeTransport.swift",
        "Internal/Communicator.swift",
        "Internal/HandshakeHandler.swift",
        "Internal/JSONRPC_2_0.swift",
        "Internal/PubSubMessage.swift",
        "Internal/Serializer.swift",
        "Internal/UpdateSessionHandler.swift",
        "Internal/WebSocketConnection.swift",
        "PublicInterface/Client.swift",
        "PublicInterface/Logger.swift",
        "PublicInterface/Request.swift",
        "PublicInterface/Response.swift",
        "PublicInterface/Server.swift",
        "PublicInterface/Session.swift",
        "PublicInterface/WCURL.swift",
        "PublicInterface/WalletConnect.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/12941] Fetching cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.32s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (3.64s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/93] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[5/93] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[6/93] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[7/93] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[8/93] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[9/93] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[10/93] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[11/93] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[12/93] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[13/93] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[14/93] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[15/93] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[16/93] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[17/105] Compiling CryptoSwift Integer Conversion.swift
[18/105] Compiling CryptoSwift Multiplication.swift
[19/105] Compiling CryptoSwift Prime Test.swift
[20/105] Compiling CryptoSwift Random.swift
[21/105] Compiling CryptoSwift Shifts.swift
[22/105] Compiling CryptoSwift Square Root.swift
[23/105] Compiling CryptoSwift Strideable.swift
[24/105] Compiling CryptoSwift String Conversion.swift
[25/105] Compiling CryptoSwift Subtraction.swift
[26/105] Compiling CryptoSwift Words and Bits.swift
[27/105] Compiling CryptoSwift ChaCha20.swift
[28/105] Compiling CryptoSwift Checksum.swift
[29/105] Compiling CryptoSwift Cipher.swift
[30/105] Emitting module CryptoSwift
[31/105] Compiling CryptoSwift AEAD.swift
[32/105] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[33/105] Compiling CryptoSwift AES.Cryptors.swift
[34/105] Compiling CryptoSwift AES.swift
[35/105] Compiling CryptoSwift Array+Extension.swift
[36/105] Compiling CryptoSwift Authenticator.swift
[37/105] Compiling CryptoSwift BatchedCollection.swift
[38/105] Compiling CryptoSwift Bit.swift
[39/105] Compiling CryptoSwift BlockCipher.swift
[40/105] Compiling CryptoSwift BlockDecryptor.swift
[41/105] Compiling CryptoSwift BlockEncryptor.swift
[42/105] Compiling CryptoSwift BlockMode.swift
[43/105] Compiling CryptoSwift BlockModeOptions.swift
[44/105] Compiling CryptoSwift String+FoundationExtension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[45/105] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[46/105] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[47/105] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[48/105] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[49/105] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[50/105] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[51/105] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[52/105] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[53/105] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[54/105] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[55/105] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[56/105] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[57/105] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[58/105] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[59/105] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[60/105] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[61/105] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[62/105] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[63/105] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[64/105] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[65/105] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[66/105] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[67/105] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[68/105] Compiling CryptoSwift Collection+Extension.swift
[69/105] Compiling CryptoSwift CompactMap.swift
[70/105] Compiling CryptoSwift Cryptor.swift
[71/105] Compiling CryptoSwift Cryptors.swift
[72/105] Compiling CryptoSwift Digest.swift
[73/105] Compiling CryptoSwift DigestType.swift
[74/105] Compiling CryptoSwift AES+Foundation.swift
[75/105] Compiling CryptoSwift Array+Foundation.swift
[76/105] Compiling CryptoSwift Blowfish+Foundation.swift
[77/105] Compiling CryptoSwift ChaCha20+Foundation.swift
[78/105] Compiling CryptoSwift Data+Extension.swift
[79/105] Compiling CryptoSwift HMAC+Foundation.swift
[80/105] Compiling CryptoSwift Rabbit+Foundation.swift
[81/105] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[82/105] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[83/105] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[84/105] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[85/105] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[86/105] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[87/105] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[88/105] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[89/105] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[90/105] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[91/105] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[92/105] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[93/105] Compiling CryptoSwift Addition.swift
[94/105] Compiling CryptoSwift BigInt.swift
[95/105] Compiling CryptoSwift BigUInt.swift
[96/105] Compiling CryptoSwift Bitwise Ops.swift
[97/105] Compiling CryptoSwift CS.swift
[98/105] Compiling CryptoSwift Codable.swift
[99/105] Compiling CryptoSwift Comparable.swift
[100/105] Compiling CryptoSwift Data Conversion.swift
[101/105] Compiling CryptoSwift Division.swift
[102/105] Compiling CryptoSwift Exponentiation.swift
[103/105] Compiling CryptoSwift Floating Point Conversion.swift
[104/105] Compiling CryptoSwift GCD.swift
[105/105] Compiling CryptoSwift Hashable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/91] Compiling CryptoSwift String+FoundationExtension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[3/91] Compiling CryptoSwift Utils+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[4/91] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[5/91] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[6/91] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[7/91] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[8/91] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[9/91] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[10/91] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[11/91] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[12/91] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[13/91] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:55:25: error: cannot find 'ceil' in scope
53 |     let keyLengthFinal = Double(dkLen)
54 |     let hLen = Double(variant.digestLength)
55 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
56 |     guard numBlocks <= 255 else {
57 |       throw Error.derivedKeyTooLong
[14/103] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[15/103] Compiling CryptoSwift StreamDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[16/103] Compiling CryptoSwift StreamEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[17/103] Compiling CryptoSwift String+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[18/103] Compiling CryptoSwift UInt128.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[19/103] Compiling CryptoSwift UInt16+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[20/103] Compiling CryptoSwift UInt32+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[21/103] Compiling CryptoSwift UInt64+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[22/103] Compiling CryptoSwift UInt8+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[23/103] Compiling CryptoSwift Updatable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[24/103] Compiling CryptoSwift Utils.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[25/103] Compiling CryptoSwift ZeroPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:39:9: error: cannot find 'mlock' in scope
37 |         VirtualLock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
38 |       #else
39 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
40 |       #endif
41 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:49:9: error: cannot find 'munlock' in scope
47 |         VirtualUnlock(UnsafeMutableRawPointer(mutating: pointer.baseAddress), SIZE_T(pointer.count))
48 |       #else
49 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
50 |       #endif
51 |     }
[26/103] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[27/103] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[28/103] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[29/103] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[30/103] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[31/103] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[32/103] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[33/103] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[34/103] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[35/103] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[36/103] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[37/103] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[38/103] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:339:26: error: cannot find 'pow' in scope
337 |       // [a]32
338 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
339 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
340 |       // [a]64
341 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[39/103] Compiling CryptoSwift Addition.swift
[40/103] Compiling CryptoSwift BigInt.swift
[41/103] Compiling CryptoSwift BigUInt.swift
[42/103] Compiling CryptoSwift Bitwise Ops.swift
[43/103] Compiling CryptoSwift CS.swift
[44/103] Compiling CryptoSwift Codable.swift
[45/103] Compiling CryptoSwift Comparable.swift
[46/103] Compiling CryptoSwift Data Conversion.swift
[47/103] Compiling CryptoSwift Division.swift
[48/103] Compiling CryptoSwift Exponentiation.swift
[49/103] Compiling CryptoSwift Floating Point Conversion.swift
[50/103] Compiling CryptoSwift GCD.swift
[51/103] Compiling CryptoSwift Hashable.swift
[52/103] Emitting module CryptoSwift
[53/103] Compiling CryptoSwift Collection+Extension.swift
[54/103] Compiling CryptoSwift CompactMap.swift
[55/103] Compiling CryptoSwift Cryptor.swift
[56/103] Compiling CryptoSwift Cryptors.swift
[57/103] Compiling CryptoSwift Digest.swift
[58/103] Compiling CryptoSwift DigestType.swift
[59/103] Compiling CryptoSwift AES+Foundation.swift
[60/103] Compiling CryptoSwift Array+Foundation.swift
[61/103] Compiling CryptoSwift Blowfish+Foundation.swift
[62/103] Compiling CryptoSwift ChaCha20+Foundation.swift
[63/103] Compiling CryptoSwift Data+Extension.swift
[64/103] Compiling CryptoSwift HMAC+Foundation.swift
[65/103] Compiling CryptoSwift Rabbit+Foundation.swift
[66/103] Compiling CryptoSwift Integer Conversion.swift
[67/103] Compiling CryptoSwift Multiplication.swift
[68/103] Compiling CryptoSwift Prime Test.swift
[69/103] Compiling CryptoSwift Random.swift
[70/103] Compiling CryptoSwift Shifts.swift
[71/103] Compiling CryptoSwift Square Root.swift
[72/103] Compiling CryptoSwift Strideable.swift
[73/103] Compiling CryptoSwift String Conversion.swift
[74/103] Compiling CryptoSwift Subtraction.swift
[75/103] Compiling CryptoSwift Words and Bits.swift
[76/103] Compiling CryptoSwift ChaCha20.swift
[77/103] Compiling CryptoSwift Checksum.swift
[78/103] Compiling CryptoSwift Cipher.swift
[79/103] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[80/103] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[81/103] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[82/103] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[83/103] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[84/103] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[85/103] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[86/103] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[87/103] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[88/103] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[89/103] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[90/103] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:62:28: error: cannot find 'pow' in scope
 60 |       let keyLengthFinal = Double(dkLen)
 61 |       let hLen = Double(prf.variant.digestLength)
 62 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 63 |         throw Error.derivedKeyTooLong
 64 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:70:28: error: cannot find 'ceil' in scope
 68 |       self.prf = prf
 69 |
 70 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 71 |     }
 72 |
[91/103] Compiling CryptoSwift AEAD.swift
[92/103] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[93/103] Compiling CryptoSwift AES.Cryptors.swift
[94/103] Compiling CryptoSwift AES.swift
[95/103] Compiling CryptoSwift Array+Extension.swift
[96/103] Compiling CryptoSwift Authenticator.swift
[97/103] Compiling CryptoSwift BatchedCollection.swift
[98/103] Compiling CryptoSwift Bit.swift
[99/103] Compiling CryptoSwift BlockCipher.swift
[100/103] Compiling CryptoSwift BlockDecryptor.swift
[101/103] Compiling CryptoSwift BlockEncryptor.swift
[102/103] Compiling CryptoSwift BlockMode.swift
[103/103] Compiling CryptoSwift BlockModeOptions.swift
BUILD FAILURE 6.1 android