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 main (5eacb3), with Swift 6.1 for Android on 29 May 2025 09:19:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/swift-libp2p/swift-multihash
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5eacb30 Merge pull request #10 from swift-libp2p/soundness
Cloned https://github.com/swift-libp2p/swift-multihash.git
Revision (git rev-parse @):
5eacb30248808ca6da86d2dec45d7b9a9957227a
SUCCESS checkout https://github.com/swift-libp2p/swift-multihash.git at main
========================================
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"
      ],
      "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.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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-varint.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/swift-libp2p/swift-multicodec.git
Fetching https://github.com/swift-libp2p/swift-multibase.git
[1/108] Fetching swift-varint
[109/397] Fetching swift-varint, swift-multicodec
[398/560] Fetching swift-varint, swift-multicodec, swift-multibase
[561/13501] Fetching swift-varint, swift-multicodec, swift-multibase, cryptoswift
Fetched https://github.com/swift-libp2p/swift-varint.git from cache (0.32s)
[2394/13393] Fetching swift-multicodec, swift-multibase, cryptoswift
Fetched https://github.com/swift-libp2p/swift-multicodec.git from cache (1.39s)
Fetched https://github.com/swift-libp2p/swift-multibase.git from cache (1.39s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.41s)
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.14s)
Computing version for https://github.com/swift-libp2p/swift-multibase.git
Computed https://github.com/swift-libp2p/swift-multibase.git at 0.0.3 (1.37s)
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.33s)
Computing version for https://github.com/swift-libp2p/swift-bases.git
Computed https://github.com/swift-libp2p/swift-bases.git at 0.0.4 (1.20s)
Computing version for https://github.com/swift-libp2p/swift-multicodec.git
Computed https://github.com/swift-libp2p/swift-multicodec.git at 0.0.8 (1.11s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.97s)
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-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/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-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-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
[5/12] Copying PrivacyInfo.xcprivacy
[6/12] Write sources
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/134] Compiling Base8 BlockEncoding.swift
[14/134] Compiling Base8 Quintets.swift
[15/134] Compiling Base8 BlockDecoding.swift
[16/134] Compiling Base32 Quintets.swift
[17/134] Compiling Base32 BlockDecoding.swift
[18/134] Compiling Base32 BlockEncoding.swift
[19/134] Compiling CryptoSwift IntegerConversion.swift
[20/134] Compiling CryptoSwift Multiplication.swift
[21/134] Compiling CryptoSwift PrimeTest.swift
[22/134] Compiling CryptoSwift Random.swift
[23/134] Compiling CryptoSwift Shifts.swift
[24/134] Compiling CryptoSwift SquareRoot.swift
[25/134] Compiling CryptoSwift Strideable.swift
[26/134] Compiling CryptoSwift StringConversion.swift
[27/134] Compiling CryptoSwift Subtraction.swift
[28/134] Compiling CryptoSwift WordsAndBits.swift
[29/134] Compiling CryptoSwift ChaCha20.swift
[30/134] Compiling CryptoSwift Checksum.swift
[31/134] Compiling CryptoSwift Cipher.swift
[32/134] Compiling CryptoSwift Collection+Extension.swift
[33/148] Emitting module Base64
[34/148] Compiling Base64 Base64.swift
[35/149] Compiling Base8 Base8.swift
[36/149] Emitting module Base32
[37/149] Compiling Base32 Alphabets.swift
[38/149] Compiling Base32 Base32.swift
[39/150] Emitting module Base8
[40/150] Compiling Base8 Alphabet.swift
[41/150] 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 |
[42/150] 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 |
[43/150] 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 |
[44/150] 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 |
[45/150] 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 |
[46/150] 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 |
[47/150] 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 |
[48/150] 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 |
[49/150] 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 |
[50/150] 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 |
[51/150] 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 |
[52/150] 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 |
[53/150] 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 |
[54/150] 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 |
[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/151] Compiling Base2 Base2.swift
[70/151] Emitting module Base2
[71/152] Compiling CryptoSwift Signature.swift
[72/152] Compiling CryptoSwift StreamDecryptor.swift
[73/152] Compiling CryptoSwift StreamEncryptor.swift
[74/152] Compiling CryptoSwift String+Extension.swift
[75/152] Compiling CryptoSwift UInt128.swift
[76/152] Compiling CryptoSwift UInt16+Extension.swift
[77/152] Compiling CryptoSwift UInt32+Extension.swift
[78/152] Compiling CryptoSwift UInt64+Extension.swift
[79/152] Compiling CryptoSwift UInt8+Extension.swift
[80/152] Compiling CryptoSwift Updatable.swift
[81/152] Compiling CryptoSwift Utils.swift
[82/152] Compiling CryptoSwift XChaCha20.swift
[83/152] Compiling CryptoSwift ZeroPadding.swift
[84/152] Compiling CryptoSwift resource_bundle_accessor.swift
[85/152] Compiling CryptoSwift CompactMap.swift
[86/152] Compiling CryptoSwift Cryptor.swift
[87/152] Compiling CryptoSwift Cryptors.swift
[88/152] Compiling CryptoSwift Digest.swift
[89/152] Compiling CryptoSwift DigestType.swift
[90/152] Compiling CryptoSwift AES+Foundation.swift
[91/152] Compiling CryptoSwift Array+Foundation.swift
[92/152] Compiling CryptoSwift Blowfish+Foundation.swift
[93/152] Compiling CryptoSwift ChaCha20+Foundation.swift
[94/152] Compiling CryptoSwift Data+Extension.swift
[95/152] Compiling CryptoSwift HMAC+Foundation.swift
[96/152] Compiling CryptoSwift Rabbit+Foundation.swift
[97/152] Compiling CryptoSwift String+FoundationExtension.swift
[98/152] Compiling CryptoSwift Utils+Foundation.swift
[99/152] Compiling VarInt BinaryEncoder.swift
[100/152] Compiling VarInt VarInt.swift
[101/152] Emitting module VarInt
[103/153] Compiling BaseX BaseX.swift
[104/153] Emitting module BaseX
[110/154] Compiling CryptoSwift AEAD.swift
[111/154] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[112/154] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[113/154] Compiling CryptoSwift AES.Cryptors.swift
[114/154] Compiling CryptoSwift AES.swift
[115/154] Compiling CryptoSwift ASN1.swift
[116/154] Compiling CryptoSwift ASN1Decoder.swift
[117/154] Compiling CryptoSwift ASN1Encoder.swift
[118/154] Compiling CryptoSwift ASN1Scanner.swift
[119/154] Compiling CryptoSwift Array+Extension.swift
[120/154] Compiling CryptoSwift Authenticator.swift
[121/154] Compiling CryptoSwift BatchedCollection.swift
[122/154] Compiling CryptoSwift Bit.swift
[123/154] Compiling CryptoSwift BlockCipher.swift
[124/154] Compiling CryptoSwift BlockDecryptor.swift
[125/154] Emitting module CryptoSwift
[126/154] Compiling CryptoSwift CMAC.swift
[127/154] Compiling CryptoSwift Addition.swift
[128/154] Compiling CryptoSwift BigInt.swift
[129/154] Compiling CryptoSwift BigUInt.swift
[130/154] Compiling CryptoSwift BitwiseOps.swift
[131/154] Compiling CryptoSwift CS.swift
[132/154] Compiling CryptoSwift Codable.swift
[133/154] Compiling CryptoSwift Comparable.swift
[134/154] Compiling CryptoSwift DataConversion.swift
[135/154] Compiling CryptoSwift Division.swift
[136/154] Compiling CryptoSwift Exponentiation.swift
[137/154] Compiling CryptoSwift FloatingPointConversion.swift
[138/154] Compiling CryptoSwift GCD.swift
[139/154] Compiling CryptoSwift Hashable.swift
[140/154] 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)
[141/154] 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)
[142/154] 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)
[143/154] 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)
[144/154] 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)
[145/154] 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)
[146/154] 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)
[147/154] 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)
[148/154] 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)
[149/154] 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)
[150/154] 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)
[151/154] 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)
[152/154] 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)
[153/154] 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)
[154/154] 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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/22] Compiling Base32 BlockEncoding.swift
[3/22] Compiling Base8 BlockDecoding.swift
[4/55] Compiling Base8 BlockEncoding.swift
[5/58] Compiling Base8 Quintets.swift
[6/64] Emitting module Base2
[7/77] Emitting module Base64
[8/123] Compiling Base32 Quintets.swift
[9/123] Emitting module VarInt
[10/123] Compiling Base8 Base8.swift
[11/123] Compiling Base64 Base64.swift
[12/123] Compiling Base8 Alphabet.swift
[13/124] Emitting module Base8
[14/125] Compiling Base32 Base32.swift
[15/125] Compiling Base32 BlockDecoding.swift
[18/125] Emitting module Base32
[19/125] Compiling Base32 Alphabets.swift
[21/126] Compiling VarInt BinaryEncoder.swift
[22/126] Compiling VarInt VarInt.swift
[24/127] Compiling CryptoSwift CompactMap.swift
[25/127] Compiling CryptoSwift Cryptor.swift
[26/127] Compiling CryptoSwift Cryptors.swift
[27/127] Compiling CryptoSwift Digest.swift
[28/127] Compiling CryptoSwift DigestType.swift
[29/127] Compiling CryptoSwift AES+Foundation.swift
[30/127] Compiling CryptoSwift Array+Foundation.swift
[31/127] Compiling CryptoSwift Blowfish+Foundation.swift
[32/127] Compiling CryptoSwift ChaCha20+Foundation.swift
[33/127] Compiling CryptoSwift Data+Extension.swift
[34/127] Compiling CryptoSwift HMAC+Foundation.swift
[35/127] Compiling CryptoSwift Rabbit+Foundation.swift
[36/127] Compiling CryptoSwift String+FoundationExtension.swift
[37/127] Compiling CryptoSwift Utils+Foundation.swift
[38/133] Emitting module BaseX
[39/133] Compiling BaseX BaseX.swift
[41/146] Compiling Base2 Base2.swift
[43/149] Emitting module Multicodec
[44/149] Compiling Multicodec Multicodec.swift
[45/149] Compiling Multicodec Codecs+Equatable.swift
[46/149] Compiling Multicodec Codecs.swift
[47/150] Emitting module Multibase
[48/150] Compiling Multibase Multibase.swift
[51/151] Compiling CryptoSwift Signature.swift
[52/151] Compiling CryptoSwift StreamDecryptor.swift
[53/151] Compiling CryptoSwift StreamEncryptor.swift
[54/151] Compiling CryptoSwift String+Extension.swift
[55/151] Compiling CryptoSwift UInt128.swift
[56/151] Compiling CryptoSwift UInt16+Extension.swift
[57/151] Compiling CryptoSwift UInt32+Extension.swift
[58/151] Compiling CryptoSwift UInt64+Extension.swift
[59/151] Compiling CryptoSwift UInt8+Extension.swift
[60/151] Compiling CryptoSwift Updatable.swift
[61/151] Compiling CryptoSwift Utils.swift
[62/151] Compiling CryptoSwift XChaCha20.swift
[63/151] Compiling CryptoSwift ZeroPadding.swift
[64/151] Compiling CryptoSwift resource_bundle_accessor.swift
[65/151] Compiling CryptoSwift IntegerConversion.swift
[66/151] Compiling CryptoSwift Multiplication.swift
[67/151] Compiling CryptoSwift PrimeTest.swift
[68/151] Compiling CryptoSwift Random.swift
[69/151] Compiling CryptoSwift Shifts.swift
[70/151] Compiling CryptoSwift SquareRoot.swift
[71/151] Compiling CryptoSwift Strideable.swift
[72/151] Compiling CryptoSwift StringConversion.swift
[73/151] Compiling CryptoSwift Subtraction.swift
[74/151] Compiling CryptoSwift WordsAndBits.swift
[75/151] Compiling CryptoSwift ChaCha20.swift
[76/151] Compiling CryptoSwift Checksum.swift
[77/151] Compiling CryptoSwift Cipher.swift
[78/151] Compiling CryptoSwift Collection+Extension.swift
[79/151] Compiling CryptoSwift CMAC.swift
[80/151] Compiling CryptoSwift Addition.swift
[81/151] Compiling CryptoSwift BigInt.swift
[82/151] Compiling CryptoSwift BigUInt.swift
[83/151] Compiling CryptoSwift BitwiseOps.swift
[84/151] Compiling CryptoSwift CS.swift
[85/151] Compiling CryptoSwift Codable.swift
[86/151] Compiling CryptoSwift Comparable.swift
[87/151] Compiling CryptoSwift DataConversion.swift
[88/151] Compiling CryptoSwift Division.swift
[89/151] Compiling CryptoSwift Exponentiation.swift
[90/151] Compiling CryptoSwift FloatingPointConversion.swift
[91/151] Compiling CryptoSwift GCD.swift
[92/151] Compiling CryptoSwift Hashable.swift
[93/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 |
[94/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 |
[95/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 |
[96/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 |
[97/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 |
[98/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 |
[99/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 |
[100/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 |
[101/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 |
[102/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 |
[103/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 |
[104/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 |
[105/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 |
[106/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 |
[107/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)
[108/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)
[109/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)
[110/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)
[111/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)
[112/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)
[113/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)
[114/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)
[115/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)
[116/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)
[117/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)
[118/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)
[119/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)
[120/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)
[121/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)
[122/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 |     }
[123/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 |     }
[124/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 |     }
[125/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 |     }
[126/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 |     }
[127/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 |     }
[128/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 |     }
[129/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 |     }
[130/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 |     }
[131/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 |     }
[132/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 |     }
[133/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 |     }
[134/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 |     }
[135/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 |     }
[136/151] Emitting module CryptoSwift
[137/151] Compiling CryptoSwift AEAD.swift
[138/151] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[139/151] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[140/151] Compiling CryptoSwift AES.Cryptors.swift
[141/151] Compiling CryptoSwift AES.swift
[142/151] Compiling CryptoSwift ASN1.swift
[143/151] Compiling CryptoSwift ASN1Decoder.swift
[144/151] Compiling CryptoSwift ASN1Encoder.swift
[145/151] Compiling CryptoSwift ASN1Scanner.swift
[146/151] Compiling CryptoSwift Array+Extension.swift
[147/151] Compiling CryptoSwift Authenticator.swift
[148/151] Compiling CryptoSwift BatchedCollection.swift
[149/151] Compiling CryptoSwift Bit.swift
[150/151] Compiling CryptoSwift BlockCipher.swift
[151/151] Compiling CryptoSwift BlockDecryptor.swift
BUILD FAILURE 6.1 android