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 CaptureSDK, reference 1.9.139 (0af963), with Swift 6.1 for Android on 16 Jun 2025 22:09:55 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/SocketMobile/swift-package-capturesdk.git
Reference: 1.9.139
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/SocketMobile/swift-package-capturesdk
 * tag               1.9.139    -> FETCH_HEAD
HEAD is now at 0af9634 New version of iOS CaptureSDK - Swift Package Manager
Cloned https://github.com/SocketMobile/swift-package-capturesdk.git
Revision (git rev-parse @):
0af9634c2c7707d9506f40c1808f79fb45d5dd89
SUCCESS checkout https://github.com/SocketMobile/swift-package-capturesdk.git at 1.9.139
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SocketMobile/swift-package-capturesdk.git
https://github.com/SocketMobile/swift-package-capturesdk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-package-swiftdecodersdk",
      "requirement" : {
        "exact" : [
          "6.2.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SocketMobile/swift-package-swiftdecodersdk.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    }
  ],
  "manifest_display_name" : "CaptureSDK",
  "name" : "CaptureSDK",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CaptureSDK",
      "targets" : [
        "CaptureSDKFramework",
        "SwiftDecoderCaptureSDK",
        "CryptoSwiftCaptureSDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftDecoderCaptureSDK",
      "module_type" : "ClangTarget",
      "name" : "SwiftDecoderCaptureSDK",
      "path" : "Sources/SwiftDecoderDummy",
      "product_dependencies" : [
        "SwiftDecoderSDK"
      ],
      "product_memberships" : [
        "CaptureSDK"
      ],
      "sources" : [
        "SwiftDecoderDummy.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CryptoSwiftCaptureSDK",
      "module_type" : "ClangTarget",
      "name" : "CryptoSwiftCaptureSDK",
      "path" : "Sources/CryptoSwiftDummy",
      "product_dependencies" : [
        "CryptoSwift"
      ],
      "product_memberships" : [
        "CaptureSDK"
      ],
      "sources" : [
        "CryptoSwiftDummy.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CaptureSDKFramework",
      "module_type" : "ClangTarget",
      "name" : "CaptureSDKFramework",
      "path" : "Sources/CaptureSDKDummy",
      "product_memberships" : [
        "CaptureSDK"
      ],
      "sources" : [
        "CaptureSDKDummy.m"
      ],
      "target_dependencies" : [
        "CaptureSDKBinaryTarget"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CaptureSDKBinaryTarget",
      "module_type" : "BinaryTarget",
      "name" : "CaptureSDKBinaryTarget",
      "path" : "Sources/CaptureSDK.xcframework",
      "product_memberships" : [
        "CaptureSDK"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.6"
}
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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/SocketMobile/swift-package-swiftdecodersdk.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/158] Fetching swift-package-swiftdecodersdk
[55/13099] Fetching swift-package-swiftdecodersdk, cryptoswift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (3.02s)
Fetched https://github.com/SocketMobile/swift-package-swiftdecodersdk.git from cache (3.06s)
Computing version for https://github.com/SocketMobile/swift-package-swiftdecodersdk.git
Computed https://github.com/SocketMobile/swift-package-swiftdecodersdk.git at 6.2.3 (3.67s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (1.12s)
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/SocketMobile/swift-package-swiftdecodersdk.git
Working copy of https://github.com/SocketMobile/swift-package-swiftdecodersdk.git resolved at 6.2.3
Building for debugging...
[0/6] Copying PrivacyInfo.xcprivacy
[0/6] Write sources
[2/6] Compiling CaptureSDKFramework CaptureSDKDummy.m
[3/6] Compiling SwiftDecoderCaptureSDK SwiftDecoderDummy.m
[4/6] Write swift-version-24593BA9C3E375BF.txt
[6/107] 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)
[7/107] 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)
[8/107] 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)
[9/107] 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)
[10/107] 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)
[11/107] 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)
[12/107] 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)
[13/107] 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)
[14/107] 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)
[15/107] 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)
[16/107] 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)
[17/107] 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)
[18/107] 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)
[19/107] 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)
[20/107] 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)
[21/121] Emitting module CryptoSwift
[22/121] Compiling CryptoSwift CMAC.swift
[23/121] Compiling CryptoSwift Addition.swift
[24/121] Compiling CryptoSwift BigInt.swift
[25/121] Compiling CryptoSwift BigUInt.swift
[26/121] Compiling CryptoSwift BitwiseOps.swift
[27/121] Compiling CryptoSwift CS.swift
[28/121] Compiling CryptoSwift Codable.swift
[29/121] Compiling CryptoSwift Comparable.swift
[30/121] Compiling CryptoSwift DataConversion.swift
[31/121] Compiling CryptoSwift Division.swift
[32/121] Compiling CryptoSwift Exponentiation.swift
[33/121] Compiling CryptoSwift FloatingPointConversion.swift
[34/121] Compiling CryptoSwift GCD.swift
[35/121] Compiling CryptoSwift Hashable.swift
[36/121] Compiling CryptoSwift Signature.swift
[37/121] Compiling CryptoSwift StreamDecryptor.swift
[38/121] Compiling CryptoSwift StreamEncryptor.swift
[39/121] Compiling CryptoSwift String+Extension.swift
[40/121] Compiling CryptoSwift UInt128.swift
[41/121] Compiling CryptoSwift UInt16+Extension.swift
[42/121] Compiling CryptoSwift UInt32+Extension.swift
[43/121] Compiling CryptoSwift UInt64+Extension.swift
[44/121] Compiling CryptoSwift UInt8+Extension.swift
[45/121] Compiling CryptoSwift Updatable.swift
[46/121] Compiling CryptoSwift Utils.swift
[47/121] Compiling CryptoSwift XChaCha20.swift
[48/121] Compiling CryptoSwift ZeroPadding.swift
[49/121] Compiling CryptoSwift resource_bundle_accessor.swift
[50/121] Compiling CryptoSwift IntegerConversion.swift
[51/121] Compiling CryptoSwift Multiplication.swift
[52/121] Compiling CryptoSwift PrimeTest.swift
[53/121] Compiling CryptoSwift Random.swift
[54/121] Compiling CryptoSwift Shifts.swift
[55/121] Compiling CryptoSwift SquareRoot.swift
[56/121] Compiling CryptoSwift Strideable.swift
[57/121] Compiling CryptoSwift StringConversion.swift
[58/121] Compiling CryptoSwift Subtraction.swift
[59/121] Compiling CryptoSwift WordsAndBits.swift
[60/121] Compiling CryptoSwift ChaCha20.swift
[61/121] Compiling CryptoSwift Checksum.swift
[62/121] Compiling CryptoSwift Cipher.swift
[63/121] Compiling CryptoSwift Collection+Extension.swift
[64/121] 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 |     }
[65/121] 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 |     }
[66/121] 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 |     }
[67/121] 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 |     }
[68/121] 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 |     }
[69/121] 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 |     }
[70/121] 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 |     }
[71/121] 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 |     }
[72/121] 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 |     }
[73/121] 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 |     }
[74/121] 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 |     }
[75/121] 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 |     }
[76/121] 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 |     }
[77/121] 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 |     }
[78/121] Compiling CryptoSwift CompactMap.swift
[79/121] Compiling CryptoSwift Cryptor.swift
[80/121] Compiling CryptoSwift Cryptors.swift
[81/121] Compiling CryptoSwift Digest.swift
[82/121] Compiling CryptoSwift DigestType.swift
[83/121] Compiling CryptoSwift AES+Foundation.swift
[84/121] Compiling CryptoSwift Array+Foundation.swift
[85/121] Compiling CryptoSwift Blowfish+Foundation.swift
[86/121] Compiling CryptoSwift ChaCha20+Foundation.swift
[87/121] Compiling CryptoSwift Data+Extension.swift
[88/121] Compiling CryptoSwift HMAC+Foundation.swift
[89/121] Compiling CryptoSwift Rabbit+Foundation.swift
[90/121] Compiling CryptoSwift String+FoundationExtension.swift
[91/121] Compiling CryptoSwift Utils+Foundation.swift
[92/121] Compiling CryptoSwift XChaCha20+Foundation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[93/121] Compiling CryptoSwift Generics.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[94/121] Compiling CryptoSwift HKDF.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[95/121] Compiling CryptoSwift HMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[96/121] Compiling CryptoSwift ISO10126Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[97/121] Compiling CryptoSwift ISO78164Padding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[98/121] Compiling CryptoSwift Int+Extension.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[99/121] Compiling CryptoSwift MD5.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[100/121] Compiling CryptoSwift NoPadding.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[101/121] Compiling CryptoSwift Operators.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[102/121] Compiling CryptoSwift DER.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[103/121] Compiling CryptoSwift PBKDF1.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[104/121] Compiling CryptoSwift PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[105/121] Compiling CryptoSwift PKCS1v15.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/HKDF.swift:59:25: error: cannot find 'ceil' in scope
57 |     let keyLengthFinal = Double(dkLen)
58 |     let hLen = Double(variant.digestLength)
59 |     let numBlocks = Int(ceil(keyLengthFinal / hLen)) // l = ceil(keyLength / hLen)
   |                         `- error: cannot find 'ceil' in scope
60 |     guard numBlocks <= 255 else {
61 |       throw Error.derivedKeyTooLong
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:66:28: error: cannot find 'pow' in scope
 64 |       let keyLengthFinal = Double(dkLen)
 65 |       let hLen = Double(prf.variant.digestLength)
 66 |       if keyLengthFinal > (pow(2, 32) - 1) * hLen {
    |                            `- error: cannot find 'pow' in scope
 67 |         throw Error.derivedKeyTooLong
 68 |       }
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/PKCS/PBKDF2.swift:74:28: error: cannot find 'ceil' in scope
 72 |       self.prf = prf
 73 |
 74 |       self.numBlocks = Int(ceil(Double(keyLengthFinal) / hLen)) // l = ceil(keyLength / hLen)
    |                            `- error: cannot find 'ceil' in scope
 75 |     }
 76 |
[106/121] Compiling CryptoSwift AEAD.swift
[107/121] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[108/121] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[109/121] Compiling CryptoSwift AES.Cryptors.swift
[110/121] Compiling CryptoSwift AES.swift
[111/121] Compiling CryptoSwift ASN1.swift
[112/121] Compiling CryptoSwift ASN1Decoder.swift
[113/121] Compiling CryptoSwift ASN1Encoder.swift
[114/121] Compiling CryptoSwift ASN1Scanner.swift
[115/121] Compiling CryptoSwift Array+Extension.swift
[116/121] Compiling CryptoSwift Authenticator.swift
[117/121] Compiling CryptoSwift BatchedCollection.swift
[118/121] Compiling CryptoSwift Bit.swift
[119/121] Compiling CryptoSwift BlockCipher.swift
[120/121] Compiling CryptoSwift BlockDecryptor.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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
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/2] Write swift-version-24593BA9C3E375BF.txt
[2/103] Compiling CryptoSwift CompactMap.swift
[3/103] Compiling CryptoSwift Cryptor.swift
[4/103] Compiling CryptoSwift Cryptors.swift
[5/103] Compiling CryptoSwift Digest.swift
[6/103] Compiling CryptoSwift DigestType.swift
[7/103] Compiling CryptoSwift AES+Foundation.swift
[8/103] Compiling CryptoSwift Array+Foundation.swift
[9/103] Compiling CryptoSwift Blowfish+Foundation.swift
[10/103] Compiling CryptoSwift ChaCha20+Foundation.swift
[11/103] Compiling CryptoSwift Data+Extension.swift
[12/103] Compiling CryptoSwift HMAC+Foundation.swift
[13/103] Compiling CryptoSwift Rabbit+Foundation.swift
[14/103] Compiling CryptoSwift String+FoundationExtension.swift
[15/103] Compiling CryptoSwift Utils+Foundation.swift
[16/117] 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)
[17/117] 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)
[18/117] 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)
[19/117] 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)
[20/117] 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)
[21/117] 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)
[22/117] 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)
[23/117] 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)
[24/117] 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)
[25/117] 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)
[26/117] 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)
[27/117] 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)
[28/117] 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)
[29/117] 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)
[30/117] 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)
[31/117] Compiling CryptoSwift Signature.swift
[32/117] Compiling CryptoSwift StreamDecryptor.swift
[33/117] Compiling CryptoSwift StreamEncryptor.swift
[34/117] Compiling CryptoSwift String+Extension.swift
[35/117] Compiling CryptoSwift UInt128.swift
[36/117] Compiling CryptoSwift UInt16+Extension.swift
[37/117] Compiling CryptoSwift UInt32+Extension.swift
[38/117] Compiling CryptoSwift UInt64+Extension.swift
[39/117] Compiling CryptoSwift UInt8+Extension.swift
[40/117] Compiling CryptoSwift Updatable.swift
[41/117] Compiling CryptoSwift Utils.swift
[42/117] Compiling CryptoSwift XChaCha20.swift
[43/117] Compiling CryptoSwift ZeroPadding.swift
[44/117] Compiling CryptoSwift resource_bundle_accessor.swift
[45/117] Compiling CryptoSwift IntegerConversion.swift
[46/117] Compiling CryptoSwift Multiplication.swift
[47/117] Compiling CryptoSwift PrimeTest.swift
[48/117] Compiling CryptoSwift Random.swift
[49/117] Compiling CryptoSwift Shifts.swift
[50/117] Compiling CryptoSwift SquareRoot.swift
[51/117] Compiling CryptoSwift Strideable.swift
[52/117] Compiling CryptoSwift StringConversion.swift
[53/117] Compiling CryptoSwift Subtraction.swift
[54/117] Compiling CryptoSwift WordsAndBits.swift
[55/117] Compiling CryptoSwift ChaCha20.swift
[56/117] Compiling CryptoSwift Checksum.swift
[57/117] Compiling CryptoSwift Cipher.swift
[58/117] Compiling CryptoSwift Collection+Extension.swift
[59/117] Compiling CryptoSwift CMAC.swift
[60/117] Compiling CryptoSwift Addition.swift
[61/117] Compiling CryptoSwift BigInt.swift
[62/117] Compiling CryptoSwift BigUInt.swift
[63/117] Compiling CryptoSwift BitwiseOps.swift
[64/117] Compiling CryptoSwift CS.swift
[65/117] Compiling CryptoSwift Codable.swift
[66/117] Compiling CryptoSwift Comparable.swift
[67/117] Compiling CryptoSwift DataConversion.swift
[68/117] Compiling CryptoSwift Division.swift
[69/117] Compiling CryptoSwift Exponentiation.swift
[70/117] Compiling CryptoSwift FloatingPointConversion.swift
[71/117] Compiling CryptoSwift GCD.swift
[72/117] Compiling CryptoSwift Hashable.swift
[73/117] Emitting module CryptoSwift
[74/117] 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 |     }
[75/117] 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 |     }
[76/117] 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 |     }
[77/117] 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 |     }
[78/117] 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 |     }
[79/117] 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 |     }
[80/117] 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 |     }
[81/117] 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 |     }
[82/117] 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 |     }
[83/117] 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 |     }
[84/117] 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 |     }
[85/117] 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 |     }
[86/117] 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 |     }
[87/117] 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 |     }
[88/117] 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 |
[89/117] 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 |
[90/117] 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 |
[91/117] 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 |
[92/117] 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 |
[93/117] 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 |
[94/117] 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 |
[95/117] 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 |
[96/117] 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 |
[97/117] 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 |
[98/117] 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 |
[99/117] 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 |
[100/117] 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 |
[101/117] 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 |
[102/117] Compiling CryptoSwift AEAD.swift
[103/117] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[104/117] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[105/117] Compiling CryptoSwift AES.Cryptors.swift
[106/117] Compiling CryptoSwift AES.swift
[107/117] Compiling CryptoSwift ASN1.swift
[108/117] Compiling CryptoSwift ASN1Decoder.swift
[109/117] Compiling CryptoSwift ASN1Encoder.swift
[110/117] Compiling CryptoSwift ASN1Scanner.swift
[111/117] Compiling CryptoSwift Array+Extension.swift
[112/117] Compiling CryptoSwift Authenticator.swift
[113/117] Compiling CryptoSwift BatchedCollection.swift
[114/117] Compiling CryptoSwift Bit.swift
[115/117] Compiling CryptoSwift BlockCipher.swift
[116/117] Compiling CryptoSwift BlockDecryptor.swift
BUILD FAILURE 6.1 android