The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-multihash, reference 0.0.4 (7ea5a9), with Swift 6.1 for Android on 29 May 2025 09:20:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/swift-libp2p/swift-multihash.git
Reference: 0.0.4
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/swift-libp2p/swift-multihash
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 7ea5a98 Commented out print statements
Cloned https://github.com/swift-libp2p/swift-multihash.git
Revision (git rev-parse @):
7ea5a9866bd341601fa61647d521880944139353
SUCCESS checkout https://github.com/swift-libp2p/swift-multihash.git at 0.0.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-libp2p/swift-multihash.git
https://github.com/swift-libp2p/swift-multihash.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-varint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-varint.git"
    },
    {
      "identity" : "swift-multibase",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multibase.git"
    },
    {
      "identity" : "swift-multicodec",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-libp2p/swift-multicodec.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "swift-multihash",
  "name" : "swift-multihash",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "Multihash",
      "targets" : [
        "Multihash"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MultihashTests",
      "module_type" : "SwiftTarget",
      "name" : "MultihashTests",
      "path" : "Tests/MultihashTests",
      "sources" : [
        "MultihashTests.swift",
        "TestValues.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Multihash"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Multihash",
      "module_type" : "SwiftTarget",
      "name" : "Multihash",
      "path" : "Sources/Multihash",
      "product_dependencies" : [
        "VarInt",
        "Multibase",
        "Multicodec",
        "CryptoSwift"
      ],
      "product_memberships" : [
        "Multihash"
      ],
      "sources" : [
        "Multihash.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/swift-libp2p/swift-multibase.git
Fetching https://github.com/swift-libp2p/swift-multicodec.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-libp2p/swift-varint.git
[1/289] Fetching swift-multicodec
[290/397] Fetching swift-multicodec, swift-varint
[310/560] Fetching swift-multicodec, swift-varint, swift-multibase
[479/13501] Fetching swift-multicodec, swift-varint, swift-multibase, cryptoswift
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (0.37s)
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (0.38s)
[2041/13049] Fetching swift-varint, cryptoswift
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (1.58s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.61s)
Computing version for https://github.com/swift-libp2p/swift-varint.git
Computed https://github.com/swift-libp2p/swift-varint.git at 0.0.2 (2.20s)
Computing version for https://github.com/swift-libp2p/swift-multibase.git
Computed https://github.com/swift-libp2p/swift-multibase.git at 0.0.3 (0.67s)
Fetching https://github.com/swift-libp2p/swift-bases.git
[1/286] Fetching swift-bases
Fetched https://github.com/swift-libp2p/swift-bases.git from cache (0.27s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.0.4 (0.89s)
Computing version for https://github.com/swift-libp2p/swift-multicodec.git
Computed https://github.com/swift-libp2p/swift-multicodec.git at 0.0.8 (0.60s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.68s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/swift-libp2p/swift-multicodec.git
Working copy of https://github.com/swift-libp2p/swift-multicodec.git resolved at 0.0.8
Creating working copy for https://github.com/swift-libp2p/swift-bases.git
Working copy of https://github.com/swift-libp2p/swift-bases.git resolved at 0.0.4
Creating working copy for https://github.com/swift-libp2p/swift-multibase.git
Working copy of https://github.com/swift-libp2p/swift-multibase.git resolved at 0.0.3
Creating working copy for https://github.com/swift-libp2p/swift-varint.git
Working copy of https://github.com/swift-libp2p/swift-varint.git resolved at 0.0.2
Building for debugging...
[0/12] Write sources
[1/12] Copying PrivacyInfo.xcprivacy
[3/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/134] Emitting module Base32
[14/134] Compiling Base8 Quintets.swift
[15/134] Compiling Base32 Quintets.swift
[16/134] Compiling Base8 BlockEncoding.swift
[17/134] Compiling Base8 BlockDecoding.swift
[18/134] Compiling Base32 BlockDecoding.swift
[19/134] Compiling Base32 BlockEncoding.swift
[20/134] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[21/134] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[22/134] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[23/134] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[24/134] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[25/134] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[26/134] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[27/134] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[28/134] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[29/134] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[30/134] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[31/134] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[32/134] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[33/134] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[34/134] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[35/148] Compiling CryptoSwift IntegerConversion.swift
[36/148] Compiling CryptoSwift Multiplication.swift
[37/148] Compiling CryptoSwift PrimeTest.swift
[38/148] Compiling CryptoSwift Random.swift
[39/148] Compiling CryptoSwift Shifts.swift
[40/148] Compiling CryptoSwift SquareRoot.swift
[41/148] Compiling CryptoSwift Strideable.swift
[42/148] Compiling CryptoSwift StringConversion.swift
[43/148] Compiling CryptoSwift Subtraction.swift
[44/148] Compiling CryptoSwift WordsAndBits.swift
[45/148] Compiling CryptoSwift ChaCha20.swift
[46/148] Compiling CryptoSwift Checksum.swift
[47/148] Compiling CryptoSwift Cipher.swift
[48/148] Compiling CryptoSwift Collection+Extension.swift
[49/148] Emitting module CryptoSwift
[50/148] Compiling Base32 Alphabets.swift
[51/148] Compiling Base32 Base32.swift
[52/149] Compiling VarInt VarInt.swift
[53/149] Emitting module Base64
[54/149] Compiling Base64 Base64.swift
[55/150] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[56/150] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[57/150] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[58/150] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[59/150] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[60/150] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[61/150] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[62/150] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[63/150] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[64/150] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[65/150] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[66/150] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[67/150] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[68/150] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[69/150] Emitting module VarInt
[70/150] Compiling VarInt BinaryEncoder.swift
[71/151] Compiling CryptoSwift Signature.swift
[72/151] Compiling CryptoSwift StreamDecryptor.swift
[73/151] Compiling CryptoSwift StreamEncryptor.swift
[74/151] Compiling CryptoSwift String+Extension.swift
[75/151] Compiling CryptoSwift UInt128.swift
[76/151] Compiling CryptoSwift UInt16+Extension.swift
[77/151] Compiling CryptoSwift UInt32+Extension.swift
[78/151] Compiling CryptoSwift UInt64+Extension.swift
[79/151] Compiling CryptoSwift UInt8+Extension.swift
[80/151] Compiling CryptoSwift Updatable.swift
[81/151] Compiling CryptoSwift Utils.swift
[82/151] Compiling CryptoSwift XChaCha20.swift
[83/151] Compiling CryptoSwift ZeroPadding.swift
[84/151] Compiling CryptoSwift resource_bundle_accessor.swift
[86/151] Compiling CryptoSwift CompactMap.swift
[87/151] Compiling CryptoSwift Cryptor.swift
[88/151] Compiling CryptoSwift Cryptors.swift
[89/151] Compiling CryptoSwift Digest.swift
[90/151] Compiling CryptoSwift DigestType.swift
[91/151] Compiling CryptoSwift AES+Foundation.swift
[92/151] Compiling CryptoSwift Array+Foundation.swift
[93/151] Compiling CryptoSwift Blowfish+Foundation.swift
[94/151] Compiling CryptoSwift ChaCha20+Foundation.swift
[95/151] Compiling CryptoSwift Data+Extension.swift
[96/151] Compiling CryptoSwift HMAC+Foundation.swift
[97/151] Compiling CryptoSwift Rabbit+Foundation.swift
[98/151] Compiling CryptoSwift String+FoundationExtension.swift
[99/151] Compiling CryptoSwift Utils+Foundation.swift
[100/151] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[101/151] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[102/151] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[103/151] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[104/151] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[105/151] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[106/151] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[107/151] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[108/151] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[109/151] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[110/151] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[111/151] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[112/151] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[113/151] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[114/151] Compiling BaseX BaseX.swift
[115/151] Emitting module BaseX
[116/152] Compiling Base8 Alphabet.swift
[117/152] Emitting module Base8
[118/152] Compiling Base8 Base8.swift
[120/153] Emitting module Base2
[121/153] Compiling Base2 Base2.swift
[123/154] Compiling CryptoSwift CMAC.swift
[124/154] Compiling CryptoSwift Addition.swift
[125/154] Compiling CryptoSwift BigInt.swift
[126/154] Compiling CryptoSwift BigUInt.swift
[127/154] Compiling CryptoSwift BitwiseOps.swift
[128/154] Compiling CryptoSwift CS.swift
[129/154] Compiling CryptoSwift Codable.swift
[130/154] Compiling CryptoSwift Comparable.swift
[131/154] Compiling CryptoSwift DataConversion.swift
[132/154] Compiling CryptoSwift Division.swift
[133/154] Compiling CryptoSwift Exponentiation.swift
[134/154] Compiling CryptoSwift FloatingPointConversion.swift
[135/154] Compiling CryptoSwift GCD.swift
[136/154] Compiling CryptoSwift Hashable.swift
[140/158] Compiling CryptoSwift AEAD.swift
[141/158] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[142/158] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[143/158] Compiling CryptoSwift AES.Cryptors.swift
[144/158] Compiling CryptoSwift AES.swift
[145/158] Compiling CryptoSwift ASN1.swift
[146/158] Compiling CryptoSwift ASN1Decoder.swift
[147/158] Compiling CryptoSwift ASN1Encoder.swift
[148/158] Compiling CryptoSwift ASN1Scanner.swift
[149/158] Compiling CryptoSwift Array+Extension.swift
[150/158] Compiling CryptoSwift Authenticator.swift
[151/158] Compiling CryptoSwift BatchedCollection.swift
[152/158] Compiling CryptoSwift Bit.swift
[153/158] Compiling CryptoSwift BlockCipher.swift
[154/158] Compiling CryptoSwift BlockDecryptor.swift
[155/158] Compiling Multicodec Multicodec.swift
[156/160] Emitting module Multicodec
[157/160] Emitting module Multibase
[158/160] Compiling Multicodec Codecs+Equatable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/123] Compiling Base32 BlockEncoding.swift
[3/123] Compiling Base32 Quintets.swift
[4/123] Compiling Base32 BlockDecoding.swift
[5/123] Compiling Base32 Base32.swift
[6/123] Compiling Base8 BlockEncoding.swift
[7/123] Compiling Base8 Quintets.swift
[8/123] Emitting module Base32
[9/123] Compiling Base32 Alphabets.swift
[10/124] Emitting module Base64
[11/124] Compiling Base64 Base64.swift
[12/125] Compiling Base8 BlockDecoding.swift
[15/125] Compiling Base8 Alphabet.swift
[16/125] Emitting module Base8
[17/125] Compiling Base8 Base8.swift
[18/126] Compiling BaseX BaseX.swift
[19/126] Emitting module BaseX
[22/127] Compiling VarInt BinaryEncoder.swift
[23/127] Compiling VarInt VarInt.swift
[24/127] Emitting module VarInt
[26/128] Emitting module Base2
[27/128] Compiling Base2 Base2.swift
[29/133] Compiling CryptoSwift CompactMap.swift
[30/133] Compiling CryptoSwift Cryptor.swift
[31/133] Compiling CryptoSwift Cryptors.swift
[32/133] Compiling CryptoSwift Digest.swift
[33/133] Compiling CryptoSwift DigestType.swift
[34/133] Compiling CryptoSwift AES+Foundation.swift
[35/133] Compiling CryptoSwift Array+Foundation.swift
[36/133] Compiling CryptoSwift Blowfish+Foundation.swift
[37/133] Compiling CryptoSwift ChaCha20+Foundation.swift
[38/133] Compiling CryptoSwift Data+Extension.swift
[39/133] Compiling CryptoSwift HMAC+Foundation.swift
[40/133] Compiling CryptoSwift Rabbit+Foundation.swift
[41/133] Compiling CryptoSwift String+FoundationExtension.swift
[42/133] Compiling CryptoSwift Utils+Foundation.swift
[43/149] Compiling Multicodec Multicodec.swift
[44/149] Emitting module Multibase
[45/149] Compiling Multibase Multibase.swift
[47/150] Compiling Multicodec Codecs.swift
[48/150] Compiling Multicodec Codecs+Equatable.swift
[49/150] Emitting module Multicodec
[51/151] Compiling CryptoSwift CMAC.swift
[52/151] Compiling CryptoSwift Addition.swift
[53/151] Compiling CryptoSwift BigInt.swift
[54/151] Compiling CryptoSwift BigUInt.swift
[55/151] Compiling CryptoSwift BitwiseOps.swift
[56/151] Compiling CryptoSwift CS.swift
[57/151] Compiling CryptoSwift Codable.swift
[58/151] Compiling CryptoSwift Comparable.swift
[59/151] Compiling CryptoSwift DataConversion.swift
[60/151] Compiling CryptoSwift Division.swift
[61/151] Compiling CryptoSwift Exponentiation.swift
[62/151] Compiling CryptoSwift FloatingPointConversion.swift
[63/151] Compiling CryptoSwift GCD.swift
[64/151] Compiling CryptoSwift Hashable.swift
[65/151] Compiling CryptoSwift Signature.swift
[66/151] Compiling CryptoSwift StreamDecryptor.swift
[67/151] Compiling CryptoSwift StreamEncryptor.swift
[68/151] Compiling CryptoSwift String+Extension.swift
[69/151] Compiling CryptoSwift UInt128.swift
[70/151] Compiling CryptoSwift UInt16+Extension.swift
[71/151] Compiling CryptoSwift UInt32+Extension.swift
[72/151] Compiling CryptoSwift UInt64+Extension.swift
[73/151] Compiling CryptoSwift UInt8+Extension.swift
[74/151] Compiling CryptoSwift Updatable.swift
[75/151] Compiling CryptoSwift Utils.swift
[76/151] Compiling CryptoSwift XChaCha20.swift
[77/151] Compiling CryptoSwift ZeroPadding.swift
[78/151] Compiling CryptoSwift resource_bundle_accessor.swift
[79/151] Emitting module CryptoSwift
[80/151] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[81/151] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[82/151] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[83/151] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[84/151] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[85/151] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[86/151] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[87/151] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[88/151] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[89/151] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[90/151] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[91/151] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[92/151] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[93/151] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[94/151] Compiling CryptoSwift PKCS5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[95/151] Compiling CryptoSwift PKCS7.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[96/151] Compiling CryptoSwift PKCS7Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[97/151] Compiling CryptoSwift Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[98/151] Compiling CryptoSwift Poly1305.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[99/151] Compiling CryptoSwift RSA+Cipher.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[100/151] Compiling CryptoSwift RSA+Signature.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[101/151] Compiling CryptoSwift RSA.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[102/151] Compiling CryptoSwift Rabbit.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[103/151] Compiling CryptoSwift SHA1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[104/151] Compiling CryptoSwift SHA2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[105/151] Compiling CryptoSwift SHA3.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[106/151] Compiling CryptoSwift Scrypt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[107/151] Compiling CryptoSwift SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:43:9: error: cannot find 'mlock' in scope
41 |         // not supported on WASI
42 |       #else
43 |         mlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'mlock' in scope
44 |       #endif
45 |     }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/SecureBytes.swift:55:9: error: cannot find 'munlock' in scope
53 |         // not supported on WASI
54 |       #else
55 |         munlock(pointer.baseAddress, pointer.count)
   |         `- error: cannot find 'munlock' in scope
56 |       #endif
57 |     }
[108/151] Compiling CryptoSwift IntegerConversion.swift
[109/151] Compiling CryptoSwift Multiplication.swift
[110/151] Compiling CryptoSwift PrimeTest.swift
[111/151] Compiling CryptoSwift Random.swift
[112/151] Compiling CryptoSwift Shifts.swift
[113/151] Compiling CryptoSwift SquareRoot.swift
[114/151] Compiling CryptoSwift Strideable.swift
[115/151] Compiling CryptoSwift StringConversion.swift
[116/151] Compiling CryptoSwift Subtraction.swift
[117/151] Compiling CryptoSwift WordsAndBits.swift
[118/151] Compiling CryptoSwift ChaCha20.swift
[119/151] Compiling CryptoSwift Checksum.swift
[120/151] Compiling CryptoSwift Cipher.swift
[121/151] Compiling CryptoSwift Collection+Extension.swift
[122/151] Compiling CryptoSwift AEAD.swift
[123/151] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[124/151] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[125/151] Compiling CryptoSwift AES.Cryptors.swift
[126/151] Compiling CryptoSwift AES.swift
[127/151] Compiling CryptoSwift ASN1.swift
[128/151] Compiling CryptoSwift ASN1Decoder.swift
[129/151] Compiling CryptoSwift ASN1Encoder.swift
[130/151] Compiling CryptoSwift ASN1Scanner.swift
[131/151] Compiling CryptoSwift Array+Extension.swift
[132/151] Compiling CryptoSwift Authenticator.swift
[133/151] Compiling CryptoSwift BatchedCollection.swift
[134/151] Compiling CryptoSwift Bit.swift
[135/151] Compiling CryptoSwift BlockCipher.swift
[136/151] Compiling CryptoSwift BlockDecryptor.swift
[137/151] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[138/151] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[139/151] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[140/151] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[141/151] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[142/151] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[143/151] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[144/151] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[145/151] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[146/151] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[147/151] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[148/151] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[149/151] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[150/151] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
[151/151] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/BlockMode/CCM.swift:343:26: error: cannot find 'pow' in scope
341 |       // [a]32
342 |       return addPadding([0xFF, 0xFE] + a.bytes(totalBytes: 4) + aad, blockSize: 16)
343 |     case 4_294_967_296..<pow(2, 64): // 2^64
    |                          `- error: cannot find 'pow' in scope
344 |       // [a]64
345 |       return addPadding([0xFF, 0xFF] + a.bytes(totalBytes: 8) + aad, blockSize: 16)
BUILD FAILURE 6.1 android