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 CryptoOffice, reference 0.1.1 (06be38), with Swift 6.1 for Android on 27 May 2025 19:48:08 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/CoreOffice/CryptoOffice.git
Reference: 0.1.1
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/CoreOffice/CryptoOffice
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 06be38e Update `CHANGELOG.md` for the 0.1.1 release
Cloned https://github.com/CoreOffice/CryptoOffice.git
Revision (git rev-parse @):
06be38e0c71cc3ac1cdd75b6c229c1661248efc5
SUCCESS checkout https://github.com/CoreOffice/CryptoOffice.git at 0.1.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CoreOffice/CryptoOffice.git
https://github.com/CoreOffice/CryptoOffice.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    },
    {
      "identity" : "cryptoswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
    },
    {
      "identity" : "xmlcoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.11.1",
            "upper_bound" : "0.12.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MaxDesiatov/XMLCoder.git"
    },
    {
      "identity" : "olekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CoreOffice/OLEKit.git"
    },
    {
      "identity" : "zipfoundation",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.11",
            "upper_bound" : "0.10.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/weichsel/ZIPFoundation.git"
    }
  ],
  "manifest_display_name" : "CryptoOffice",
  "name" : "CryptoOffice",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "CryptoOffice",
      "targets" : [
        "CryptoOffice"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CryptoOfficeTests",
      "module_type" : "SwiftTarget",
      "name" : "CryptoOfficeTests",
      "path" : "Tests/CryptoOfficeTests",
      "product_dependencies" : [
        "ZIPFoundation"
      ],
      "sources" : [
        "CryptoOfficeTests.swift"
      ],
      "target_dependencies" : [
        "CryptoOffice"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CryptoOffice",
      "module_type" : "SwiftTarget",
      "name" : "CryptoOffice",
      "path" : "Sources/CryptoOffice",
      "product_dependencies" : [
        "Crypto",
        "CryptoSwift",
        "OLEKit",
        "XMLCoder"
      ],
      "product_memberships" : [
        "CryptoOffice"
      ],
      "sources" : [
        "CryptoOfficeError.swift",
        "CryptoOfficeFile.swift",
        "ECMA376Agile.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
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/CoreOffice/OLEKit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/MaxDesiatov/XMLCoder.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/weichsel/ZIPFoundation.git
[1/906] Fetching olekit
[572/6480] Fetching olekit, zipfoundation
[1667/16491] Fetching olekit, zipfoundation, xmlcoder
[1768/29432] Fetching olekit, zipfoundation, xmlcoder, cryptoswift
[3245/43368] Fetching olekit, zipfoundation, xmlcoder, cryptoswift, swift-crypto
Fetched https://github.com/MaxDesiatov/XMLCoder.git from cache (2.26s)
Fetched https://github.com/weichsel/ZIPFoundation.git from cache (2.27s)
Fetched https://github.com/CoreOffice/OLEKit.git from cache (2.45s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.48s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.51s)
Computing version for https://github.com/CoreOffice/OLEKit.git
Computed https://github.com/CoreOffice/OLEKit.git at 0.1.0 (3.16s)
Computing version for https://github.com/MaxDesiatov/XMLCoder.git
Computed https://github.com/MaxDesiatov/XMLCoder.git at 0.11.1 (1.10s)
Computing version for https://github.com/weichsel/ZIPFoundation.git
Computed https://github.com/weichsel/ZIPFoundation.git at 0.9.19 (0.60s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.61s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.52s)
Creating working copy for https://github.com/CoreOffice/OLEKit.git
Working copy of https://github.com/CoreOffice/OLEKit.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/weichsel/ZIPFoundation.git
Working copy of https://github.com/weichsel/ZIPFoundation.git resolved at 0.9.19
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/MaxDesiatov/XMLCoder.git
Working copy of https://github.com/MaxDesiatov/XMLCoder.git resolved at 0.11.1
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
Building for debugging...
[0/412] Write sources
[5/412] Copying PrivacyInfo.xcprivacy
[6/412] Compiling a_bool.c
[7/412] Compiling a_i2d_fp.c
[8/412] Compiling a_gentm.c
[9/412] Compiling a_dup.c
[10/412] Compiling a_bitstr.c
[11/412] Compiling a_strnid.c
[12/412] Compiling v3_skey.c
[13/412] Write swift-version-24593BA9C3E375BF.txt
[14/412] Compiling v3_prn.c
[15/412] Compiling v3_pcons.c
[16/412] Compiling v3_pmaps.c
[17/412] Compiling v3_purp.c
[18/412] Compiling CCryptoBoringSSLShims shims.c
[19/412] Compiling v3_utl.c
[20/412] Compiling v3_pcia.c
[21/461] Compiling v3_ncons.c
[22/463] Compiling v3_pci.c
[23/463] Compiling v3_ocsp.c
[24/496] Compiling v3_lib.c
[25/526] Compiling v3_int.c
[26/557] Compiling v3_ia5.c
[27/564] Compiling v3_info.c
[28/564] Compiling v3_genn.c
[29/564] Compiling v3_enum.c
[30/564] Compiling v3_extku.c
[31/564] Compiling v3_conf.c
[32/564] Compiling v3_crld.c
[33/564] Compiling v3_cpols.c
[34/564] Compiling v3_bcons.c
[35/564] Compiling v3_bitst.c
[36/564] Compiling v3_akeya.c
[37/564] Compiling v3_alt.c
[38/564] Compiling v3_akey.c
[39/564] Compiling pcy_node.c
[40/564] Compiling pcy_map.c
[41/564] Compiling pcy_tree.c
[42/564] Compiling pcy_lib.c
[43/564] Compiling pcy_data.c
[44/564] Compiling pcy_cache.c
[45/564] Compiling x_x509a.c
[46/564] Compiling x_val.c
[47/564] Compiling x_spki.c
[48/564] Compiling x_x509.c
[49/564] Compiling x_sig.c
[50/564] Compiling x_req.c
[51/564] Compiling x_pubkey.c
[52/564] Compiling x_pkey.c
[53/564] Compiling x_name.c
[54/564] Compiling x_info.c
[55/564] Compiling x_exten.c
[56/564] Compiling x_attrib.c
[57/564] Compiling x_crl.c
[58/564] Compiling x_algor.c
[59/564] Compiling x_all.c
[60/564] Compiling x509spki.c
[61/564] Compiling x509rset.c
[62/564] Compiling x509name.c
[63/564] Compiling x509cset.c
[64/564] Compiling x509_v3.c
[65/564] Compiling x509_vpm.c
[66/564] Compiling x509_txt.c
[67/564] Compiling x509_vfy.c
[68/564] Compiling x509_trs.c
[69/564] Compiling x509_set.c
[70/564] Compiling x509_req.c
[71/564] Compiling x509_obj.c
[72/564] Compiling x509_ext.c
[73/564] Compiling x509_def.c
[74/564] Compiling x509_d2.c
[75/564] Compiling x509_lu.c
[76/564] Compiling x509_cmp.c
[77/564] Compiling x509_att.c
[78/564] Compiling x509.c
[79/564] Compiling t_x509a.c
[80/564] Compiling t_x509.c
[81/564] Compiling t_crl.c
[82/564] Compiling i2d_pr.c
[83/564] Compiling rsa_pss.c
[84/564] Compiling t_req.c
[85/564] Compiling by_dir.c
[86/564] Compiling by_file.c
[87/564] Compiling algorithm.c
[88/564] Compiling a_verify.c
[89/564] Compiling asn1_gen.c
[90/564] Compiling a_sign.c
[91/564] Compiling a_strex.c
[92/564] Compiling voprf.c
[93/564] Compiling a_digest.c
[94/564] Compiling thread_win.c
[95/564] Compiling trust_token.c
[96/564] Compiling thread_none.c
[97/564] Compiling thread.c
[98/564] Compiling thread_pthread.c
[99/564] Compiling siphash.c
[99/564] Compiling stack.c
[101/564] Compiling rsa_print.c
[102/564] Compiling pmbtoken.c
[103/564] Compiling rc4.c
[104/564] Compiling windows.c
[104/564] Compiling refcount_c11.c
[104/564] Compiling refcount_lock.c
[105/564] Compiling rsa_asn1.c
[108/564] Compiling rand_extra.c
[109/564] Compiling fuchsia.c
[110/564] Compiling deterministic.c
[111/564] Compiling forkunsafe.c
[112/564] Compiling passive.c
[113/564] Compiling poly1305_arm_asm.S
[114/564] Compiling poly1305_vec.c
[115/564] Compiling poly1305_arm.c
[116/564] Compiling pool.c
[117/564] Compiling poly1305.c
[118/564] Compiling pkcs7.c
[119/564] Compiling pkcs7_x509.c
[120/564] Compiling pkcs8.c
[121/564] Compiling p5_pbev2.c
[122/564] Compiling pkcs8_x509.c
[123/564] Compiling pem_xaux.c
[124/564] Compiling pem_pkey.c
[125/564] Compiling pem_x509.c
[126/564] Compiling pem_info.c
[127/564] Compiling pem_oth.c
[128/564] Compiling obj_xref.c
[129/564] Compiling pem_pk8.c
[130/564] Compiling pem_lib.c
[132/564] Emitting module XMLCoder
[132/569] Compiling mem.c
[133/569] Compiling poly_rq_mul.S
[134/569] Compiling lhash.c
[135/569] Compiling obj.c
[136/569] Compiling pem_all.c
[137/569] Compiling hpke.c
[138/569] Compiling x86_64-mont5.mac.x86_64.S
[139/569] Compiling hkdf.c
[140/569] Compiling x86_64-mont5.linux.x86_64.S
[141/569] Compiling x86_64-mont.mac.x86_64.S
[142/569] Compiling x86-mont.windows.x86.S
[143/569] Compiling x86-mont.linux.x86.S
[144/569] Compiling x86_64-mont.linux.x86_64.S
[145/569] Compiling vpaes-x86_64.mac.x86_64.S
[146/569] Compiling vpaes-x86_64.linux.x86_64.S
[147/569] Compiling vpaes-x86.windows.x86.S
[148/569] Compiling vpaes-x86.linux.x86.S
[149/569] Compiling vpaes-armv8.ios.aarch64.S
[150/569] Compiling vpaes-armv7.linux.arm.S
[151/569] Compiling vpaes-armv7.ios.arm.S
[152/569] Compiling vpaes-armv8.linux.aarch64.S
[153/569] Compiling sha512-x86_64.linux.x86_64.S
[154/569] Compiling sha512-x86_64.mac.x86_64.S
[155/569] Compiling sha512-armv8.linux.aarch64.S
[156/569] Compiling kdf.c
[157/569] Compiling sha512-armv8.ios.aarch64.S
[158/569] Compiling sha512-armv4.linux.arm.S
[159/569] Compiling hrss.c
[160/569] Compiling sha512-armv4.ios.arm.S
[161/569] Compiling sha512-586.windows.x86.S
[162/569] Compiling sha256-x86_64.linux.x86_64.S
[163/569] Compiling sha512-586.linux.x86.S
[164/569] Compiling sha256-x86_64.mac.x86_64.S
[165/569] Compiling sha256-armv8.ios.aarch64.S
[166/569] Compiling sha256-armv8.linux.aarch64.S
[167/569] Compiling sha256-armv4.linux.arm.S
[168/569] Compiling sha256-armv4.ios.arm.S
[169/569] Compiling sha256-586.windows.x86.S
[170/569] Compiling sha1-x86_64.mac.x86_64.S
[170/569] Compiling sha256-586.linux.x86.S
[172/569] Compiling sha1-x86_64.linux.x86_64.S
[173/569] Compiling sha1-armv4-large.linux.arm.S
[174/569] Compiling sha1-armv8.ios.aarch64.S
[175/569] Compiling sha1-armv8.linux.aarch64.S
[176/569] Compiling sha1-586.windows.x86.S
[177/569] Compiling sha1-armv4-large.ios.arm.S
[178/569] Compiling sha1-586.linux.x86.S
[179/569] Compiling sha1-altivec.c
[180/569] Compiling sha1.c
[181/569] Compiling sha512.c
[182/569] Compiling sha256.c
[183/569] Compiling rsaz-avx2.mac.x86_64.S
[184/569] Compiling self_check.c
[185/569] Compiling rsaz-avx2.linux.x86_64.S
[186/569] Compiling rsa_impl.c
[187/569] Compiling blinding.c
[188/569] Compiling rdrand-x86_64.mac.x86_64.S
[189/569] Compiling rdrand-x86_64.linux.x86_64.S
[190/569] Compiling rand.c
[191/569] Compiling urandom.c
[192/569] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[193/569] Compiling ctrdrbg.c
[193/569] Compiling fork_detect.c
[195/569] Compiling padding.c
[196/569] Compiling rsa.c
[197/569] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[198/569] Compiling ofb.c
[199/569] Compiling polyval.c
[200/569] Compiling p256-x86_64-asm.linux.x86_64.S
[201/569] Compiling p256-x86_64-asm.mac.x86_64.S
[202/569] Compiling gcm.c
[203/569] Compiling gcm_nohw.c
[204/569] Compiling cbc.c
[205/569] Compiling ctr.c
[206/569] Compiling md5-x86_64.mac.x86_64.S
[207/569] Compiling cfb.c
[208/569] Compiling md5-x86_64.linux.x86_64.S
[209/569] Compiling md5-586.windows.x86.S
[210/569] Compiling md5.c
[211/569] Compiling md5-586.linux.x86.S
[212/569] Compiling md4.c
[213/569] Compiling ghashv8-armx64.linux.aarch64.S
[214/569] Compiling is_fips.c
[215/569] Compiling ghashv8-armx64.ios.aarch64.S
[216/569] Compiling ghashv8-armx32.linux.arm.S
[217/569] Compiling ghashv8-armx32.ios.arm.S
[218/569] Compiling hmac.c
[219/569] Compiling ghash-x86_64.mac.x86_64.S
[220/569] Compiling ghash-x86_64.linux.x86_64.S
[221/569] Compiling ghash-x86.linux.x86.S
[222/569] Compiling ghash-x86.windows.x86.S
[223/569] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[223/569] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[225/569] Compiling ghash-ssse3-x86.windows.x86.S
[226/569] Compiling ghash-ssse3-x86.linux.x86.S
[227/569] Compiling ghash-neon-armv8.ios.aarch64.S
[228/569] Compiling ghash-neon-armv8.linux.aarch64.S
[229/569] Compiling ghash-armv4.linux.arm.S
[230/569] Compiling ghash-armv4.ios.arm.S
[230/569] Compiling fips_shared_support.c
[232/569] Compiling util.c
[233/569] Compiling ecdh.c
[234/569] Compiling ecdsa.c
[235/569] Compiling wnaf.c
[236/569] Compiling simple_mul.c
[237/569] Compiling simple.c
[238/569] Compiling scalar.c
[239/569] Compiling oct.c
[240/569] Compiling p256-x86_64.c
[241/569] Compiling p224-64.c
[242/569] Compiling p256.c
[243/569] Compiling felem.c
[244/569] Compiling ec_montgomery.c
[245/569] Compiling ec_key.c
[246/569] Compiling digest.c
[247/569] Compiling digests.c
[248/569] Compiling check.c
[249/569] Compiling dh.c
[250/569] Compiling ec.c
[251/569] Compiling co-586.windows.x86.S
[253/569] 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)
[254/569] 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)
[255/569] 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)
[256/569] 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)
[257/569] 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)
[258/569] 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)
[259/569] 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)
[260/569] 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)
[261/569] 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)
[262/569] 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)
[263/569] 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)
[264/569] 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)
[265/569] 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)
[266/569] 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)
[267/569] 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)
[267/569] Compiling co-586.linux.x86.S
[268/583] Compiling e_des.c
[269/583] Compiling des.c
[270/583] Compiling bsaes-armv7.ios.arm.S
[271/583] Compiling bsaes-armv7.linux.arm.S
[272/583] Compiling e_aes.c
[273/583] Compiling aead.c
[274/583] Compiling cipher.c
[275/583] Compiling sqrt.c
[276/583] Compiling shift.c
[277/583] Compiling rsaz_exp.c
[278/583] Compiling random.c
[279/583] Compiling prime.c
[280/583] Compiling montgomery_inv.c
[281/583] Compiling mul.c
[282/583] Compiling montgomery.c
[283/583] Compiling jacobi.c
[284/583] Compiling gcd.c
[285/583] Compiling gcd_extra.c
[286/583] Compiling generic.c
[287/583] Compiling div_extra.c
[288/583] Compiling exponentiation.c
[289/583] Compiling ctx.c
[290/583] Compiling cmp.c
[291/583] Compiling bn.c
[292/583] Compiling div.c
[293/583] Compiling x86_64-gcc.c
[293/583] Compiling bytes.c
[295/583] Compiling bn-586.windows.x86.S
[296/583] Compiling add.c
[297/583] Compiling bn-586.linux.x86.S
[298/583] Compiling armv8-mont.ios.aarch64.S
[299/583] Compiling armv4-mont.linux.arm.S
[299/583] Compiling armv8-mont.linux.aarch64.S
[301/583] Compiling armv4-mont.ios.arm.S
[302/583] Compiling aesv8-armx64.ios.aarch64.S
[303/583] Compiling aesv8-armx32.linux.arm.S
[304/583] Compiling aesv8-armx64.linux.aarch64.S
[305/583] Compiling aesv8-armx32.ios.arm.S
[306/583] Compiling aesni-x86_64.mac.x86_64.S
[307/583] Compiling aesni-x86_64.linux.x86_64.S
[308/583] Compiling aesni-x86.windows.x86.S
[309/583] Compiling aesni-gcm-x86_64.mac.x86_64.S
[310/583] Compiling aesni-x86.linux.x86.S
[311/583] Compiling aesni-gcm-x86_64.linux.x86_64.S
[312/583] Compiling mode_wrappers.c
[313/583] Compiling key_wrap.c
[314/583] Compiling sign.c
[315/583] Compiling aes.c
[316/583] Compiling ex_data.c
[317/583] Compiling aes_nohw.c
[318/583] Compiling pbkdf.c
[319/583] Compiling scrypt.c
[320/583] Compiling print.c
[321/583] Compiling p_x25519.c
[322/583] Compiling p_x25519_asn1.c
[323/583] Compiling p_ed25519.c
[324/583] Compiling p_ed25519_asn1.c
[325/583] Compiling p_rsa_asn1.c
[326/583] Compiling p_ec_asn1.c
[327/583] Compiling p_rsa.c
[328/583] Compiling p_ec.c
[329/583] Compiling p_dsa_asn1.c
[330/583] Compiling evp_asn1.c
[330/583] Compiling err_data.c
[332/583] Compiling digestsign.c
[333/583] Compiling evp_ctx.c
[334/583] Compiling evp.c
[335/583] Compiling engine.c
[336/583] Compiling ecdsa_asn1.c
[337/583] Compiling err.c
[338/583] Compiling ecdh_extra.c
[339/583] Compiling hash_to_curve.c
[340/583] Compiling ec_derive.c
[341/583] Compiling dsa_asn1.c
[342/583] Compiling ec_asn1.c
[343/583] Compiling dsa.c
[344/583] Compiling digest_extra.c
[345/583] Compiling params.c
[346/583] Compiling dh_asn1.c
[347/583] Compiling spake25519.c
[348/583] Compiling x25519-asm-arm.S
[349/583] Compiling crypto.c
[350/583] Compiling cpu-intel.c
[351/583] Compiling cpu-ppc64le.c
[352/583] Compiling cpu-arm.c
[353/583] Compiling cpu-aarch64-win.c
[354/583] Compiling cpu-arm-linux.c
[355/583] Compiling cpu-aarch64-fuchsia.c
[356/583] Compiling cpu-aarch64-linux.c
[357/583] Compiling cmac.c
[358/583] Compiling conf.c
[359/583] Compiling curve25519.c
[360/583] Compiling e_rc4.c
[361/583] Compiling e_null.c
[361/583] Compiling tls_cbc.c
[363/583] Compiling e_tls.c
[364/583] Compiling e_rc2.c
[365/583] Compiling e_chacha20poly1305.c
[366/583] Compiling e_aesgcmsiv.c
[367/583] Compiling derive_key.c
[367/583] Compiling e_aesctrhmac.c
[369/583] Compiling e_aesccm.c
[370/583] Compiling chacha20_poly1305_x86_64.mac.x86_64.S
[371/583] Compiling chacha20_poly1305_x86_64.linux.x86_64.S
[372/583] Compiling aes128gcmsiv-x86_64.linux.x86_64.S
[373/583] Compiling cipher_extra.c
[374/583] Compiling aes128gcmsiv-x86_64.mac.x86_64.S
[375/583] Compiling chacha-x86_64.mac.x86_64.S
[376/583] Compiling chacha.c
[377/583] Compiling chacha-x86.windows.x86.S
[378/583] Compiling chacha-x86.linux.x86.S
[378/583] Compiling chacha-x86_64.linux.x86_64.S
[384/583] Compiling CryptoSwift AEAD.swift
[385/583] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[386/583] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[387/583] Compiling OLEKit Header.swift
[388/583] Compiling XMLCoder XMLReferencingEncoder.swift
[389/583] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[390/583] Compiling CryptoSwift PrimeTest.swift
[391/583] Compiling CryptoSwift Random.swift
[392/583] Compiling CryptoSwift Shifts.swift
[393/583] Compiling CryptoSwift SquareRoot.swift
[394/583] Compiling CryptoSwift Strideable.swift
[395/583] Compiling CryptoSwift StringConversion.swift
[396/583] Compiling CryptoSwift Subtraction.swift
[397/583] Compiling CryptoSwift WordsAndBits.swift
[398/583] Compiling CryptoSwift ChaCha20.swift
[399/583] Compiling CryptoSwift Checksum.swift
[400/583] Compiling CryptoSwift Cipher.swift
[401/583] Compiling CryptoSwift Collection+Extension.swift
[402/583] Compiling CryptoSwift CompactMap.swift
[403/583] Compiling CryptoSwift Cryptor.swift
[404/583] Compiling CryptoSwift Cryptors.swift
[405/583] Compiling CryptoSwift Digest.swift
[406/583] Compiling CryptoSwift DigestType.swift
[407/583] Compiling CryptoSwift AES+Foundation.swift
[408/583] Compiling CryptoSwift Array+Foundation.swift
[409/583] Compiling CryptoSwift Blowfish+Foundation.swift
[410/583] Compiling CryptoSwift ChaCha20+Foundation.swift
[411/583] Compiling CryptoSwift Data+Extension.swift
[412/583] Compiling CryptoSwift HMAC+Foundation.swift
[413/583] Compiling CryptoSwift Rabbit+Foundation.swift
[414/583] Compiling CryptoSwift String+FoundationExtension.swift
[415/583] Compiling CryptoSwift Utils+Foundation.swift
[416/584] Compiling CryptoSwift Codable.swift
[417/584] Compiling CryptoSwift Comparable.swift
[418/584] Compiling CryptoSwift DataConversion.swift
[419/584] Compiling CryptoSwift Division.swift
[420/584] Compiling CryptoSwift Exponentiation.swift
[421/584] Compiling OLEKit Reader.swift
[421/584] Compiling chacha-armv8.ios.aarch64.S
[422/584] Compiling chacha-armv4.ios.arm.S
[423/584] Compiling chacha-armv4.linux.arm.S
[425/584] Compiling CryptoSwift Array+Extension.swift
[426/584] Compiling CryptoSwift Authenticator.swift
[427/584] Compiling CryptoSwift BatchedCollection.swift
[428/584] Compiling CryptoSwift Bit.swift
[429/584] Compiling CryptoSwift BlockCipher.swift
[430/584] Compiling CryptoSwift BlockDecryptor.swift
[431/584] Compiling CryptoSwift CMAC.swift
[432/584] Compiling CryptoSwift Addition.swift
[433/584] Compiling CryptoSwift BigInt.swift
[434/584] Compiling CryptoSwift BigUInt.swift
[435/584] Compiling CryptoSwift BitwiseOps.swift
[436/584] Compiling CryptoSwift CS.swift
[437/584] Compiling CryptoSwift AES.Cryptors.swift
[438/584] Compiling CryptoSwift AES.swift
[439/584] Compiling CryptoSwift ASN1.swift
[440/584] Compiling CryptoSwift ASN1Decoder.swift
[441/584] Compiling CryptoSwift ASN1Encoder.swift
[442/584] Compiling CryptoSwift ASN1Scanner.swift
[448/584] Compiling unicode.c
[450/584] Compiling OLEKit OLEStream.swift
[451/584] Compiling OLEKit OLEFile.swift
[452/584] Compiling OLEKit FAT.swift
[455/584] Emitting module OLEKit
[456/584] Compiling OLEKit OLEError.swift
[456/584] Compiling chacha-armv8.linux.aarch64.S
[458/584] 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 |     }
[459/584] 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 |     }
[460/584] 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 |     }
[461/584] 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 |     }
[462/584] 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 |     }
[463/584] 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 |     }
[464/584] 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 |     }
[465/584] 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 |     }
[466/584] 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 |     }
[467/584] 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 |     }
[468/584] 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 |     }
[469/584] 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 |     }
[470/584] 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 |     }
[471/584] 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 |     }
[472/584] 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 |
[473/584] 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 |
[474/584] 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 |
[475/584] 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 |
[476/584] 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 |
[477/584] 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 |
[478/584] 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 |
[479/584] 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 |
[480/584] 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 |
[481/584] 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 |
[482/584] 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 |
[483/584] 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 |
[484/584] 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 |
[485/584] 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 |
[486/584] Compiling XMLCoder XMLEncoderImplementation.swift
[487/584] Compiling XMLCoder XMLEncodingStorage.swift
[488/584] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[497/585] Compiling CryptoSwift Signature.swift
[498/585] Compiling CryptoSwift StreamDecryptor.swift
[499/585] Compiling CryptoSwift StreamEncryptor.swift
[500/585] Compiling CryptoSwift String+Extension.swift
[501/585] Compiling CryptoSwift UInt128.swift
[502/585] Compiling CryptoSwift UInt16+Extension.swift
[503/585] Compiling CryptoSwift UInt32+Extension.swift
[504/585] Compiling CryptoSwift UInt64+Extension.swift
[505/585] Compiling CryptoSwift UInt8+Extension.swift
[506/585] Compiling CryptoSwift Updatable.swift
[507/585] Compiling CryptoSwift Utils.swift
[508/585] Compiling CryptoSwift XChaCha20.swift
[509/585] Compiling CryptoSwift ZeroPadding.swift
[510/585] Compiling CryptoSwift resource_bundle_accessor.swift
[510/585] Compiling cbs.c
[511/585] Compiling asn1_compat.c
[526/585] Compiling ber.c
[527/585] Compiling cbb.c
[528/585] Compiling buf.c
[531/585] Compiling OLEKit StorageType.swift
[531/585] Compiling bn_asn1.c
[533/585] Emitting module CryptoSwift
[548/586] Compiling blake2.c
[549/586] Compiling convert.c
[550/586] Compiling socket_helper.c
[551/586] Compiling socket.c
[552/586] Compiling printf.c
[553/586] Compiling pair.c
[554/586] Compiling hexdump.c
[556/586] Compiling file.c
[557/586] Compiling fd.c
[558/586] Compiling bio_mem.c
[559/586] Compiling connect.c
[560/586] Compiling time_support.c
[561/586] Compiling base64.c
[562/586] Compiling bio.c
[563/586] Compiling tasn_new.c
[564/586] Compiling tasn_utl.c
[565/586] Compiling tasn_fre.c
[566/586] Compiling tasn_typ.c
[567/586] Compiling tasn_enc.c
[568/586] Compiling f_enum.c
[569/586] Compiling f_string.c
[570/586] Compiling f_int.c
[571/586] Compiling tasn_dec.c
[572/586] Compiling asn1_par.c
[573/586] Compiling asn_pack.c
[574/586] Compiling asn1_lib.c
[575/586] Compiling a_utf8.c
[576/586] Compiling a_utctm.c
[577/586] Compiling a_type.c
[578/586] Compiling a_time.c
[579/586] Compiling a_print.c
[580/586] Compiling a_octet.c
[581/586] Compiling a_mbstr.c
[582/586] Compiling a_int.c
[583/586] Compiling a_object.c
[584/586] Compiling a_enum.c
[585/586] Compiling a_d2i_fp.c
[587/640] Emitting module Crypto
[588/647] Compiling Crypto Insecure.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[589/647] Compiling Crypto Insecure_HashFunctions.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[590/647] Compiling Crypto ECDH_boring.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[591/647] Compiling Crypto DH.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[592/647] Compiling Crypto ECDH.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[593/647] Compiling Crypto HKDF.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[594/647] Compiling Crypto Ed25519_boring.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[595/647] Compiling Crypto EllipticCurvePoint_boring.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[596/647] Compiling Crypto SymmetricKeys.swift
[597/647] Compiling Crypto HMAC.swift
[598/647] Compiling Crypto MACFunctions.swift
[599/647] Compiling Crypto MessageAuthenticationCode.swift
[600/647] Compiling Crypto AES.swift
[601/647] Compiling Crypto ECDSASignature_boring.swift
[602/647] Compiling Crypto ECDSA_boring.swift
[603/647] Compiling Crypto EdDSA_boring.swift
[604/647] Compiling Crypto ECDSA.swift
[605/647] Compiling Crypto EdDSA.swift
[606/647] Compiling Crypto Signature.swift
[607/647] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[608/647] Compiling Crypto CryptoKitErrors_boring.swift
[609/647] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[610/647] Compiling Crypto EllipticCurve_boring.swift
[611/647] Compiling Crypto NISTCurvesKeys_boring.swift
[612/647] Compiling Crypto X25519Keys_boring.swift
[613/647] Compiling Crypto Curve25519.swift
[614/647] Compiling Crypto Ed25519.swift
[615/647] Compiling Crypto NISTCurvesKeys.swift
[616/647] Compiling Crypto X25519Keys.swift
[617/647] Compiling Crypto SEC1PrivateKey.swift
[618/647] Compiling Crypto SubjectPublicKeyInfo.swift
[619/647] Compiling Crypto CryptoKitErrors.swift
[620/647] Compiling Crypto Digest_boring.swift
[621/647] Compiling Crypto Digest.swift
[622/647] Compiling Crypto Digests.swift
[623/647] Compiling Crypto HashFunctions.swift
[624/647] Compiling Crypto HashFunctions_SHA2.swift
[625/647] Compiling Crypto ASN1Identifier.swift
[626/647] Compiling Crypto ASN1Integer.swift
[627/647] Compiling Crypto ASN1OctetString.swift
[628/647] Compiling Crypto ArraySliceBigint.swift
[629/647] Compiling Crypto ObjectIdentifier.swift
[630/647] Compiling Crypto ECDSASignature.swift
[631/647] Compiling Crypto PEMDocument.swift
[632/647] Compiling Crypto PKCS8PrivateKey.swift
[633/647] Compiling Crypto AES-GCM.swift
[634/647] Compiling Crypto AES-GCM_boring.swift
[635/647] Compiling Crypto ChaChaPoly_boring.swift
[636/647] Compiling Crypto ChaChaPoly.swift
[637/647] Compiling Crypto Cipher.swift
[638/647] Compiling Crypto Nonces.swift
[639/647] Compiling Crypto ASN1.swift
[640/647] Compiling Crypto ASN1BitString.swift
[641/647] Compiling Crypto RNG_boring.swift
[642/647] Compiling Crypto SafeCompare_boring.swift
[643/647] Compiling Crypto Zeroization_boring.swift
[644/647] Compiling Crypto PrettyBytes.swift
[645/647] Compiling Crypto SafeCompare.swift
[646/647] Compiling Crypto SecureBytes.swift
[647/647] Compiling Crypto Zeroization.swift
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
warning: 'zipfoundation': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/ZIPFoundation/Sources/ZIPFoundation/Resources/PrivacyInfo.xcprivacy
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/106] Compiling OLEKit Reader.swift
[3/208] Compiling OLEKit StorageType.swift
[4/208] Compiling OLEKit OLEStream.swift
[5/208] Compiling OLEKit OLEError.swift
[6/208] Compiling OLEKit OLEFile.swift
[7/208] Compiling OLEKit Header.swift
[8/208] Compiling OLEKit FAT.swift
[9/208] Compiling CryptoSwift BlockEncryptor.swift
[10/208] Compiling CryptoSwift BlockMode.swift
[11/208] Compiling CryptoSwift BlockModeOptions.swift
[12/208] Compiling CryptoSwift CBC.swift
[13/208] Compiling CryptoSwift CCM.swift
[14/208] Compiling CryptoSwift CFB.swift
[15/208] Compiling CryptoSwift CTR.swift
[16/208] Compiling CryptoSwift CipherModeWorker.swift
[17/208] Compiling CryptoSwift CS.swift
[18/208] Compiling CryptoSwift Codable.swift
[19/208] Compiling CryptoSwift Comparable.swift
[20/208] Compiling CryptoSwift DataConversion.swift
[21/208] Compiling CryptoSwift Division.swift
[22/208] Compiling CryptoSwift Exponentiation.swift
[29/220] Compiling CryptoSwift PCBC.swift
[30/220] Compiling CryptoSwift Blowfish.swift
[31/220] Compiling CryptoSwift CBCMAC.swift
[32/220] Compiling CryptoSwift AEAD.swift
[33/220] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[34/220] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[37/220] Compiling CryptoSwift ECB.swift
[38/220] Compiling CryptoSwift GCM.swift
[39/220] Compiling CryptoSwift OCB.swift
[40/220] Compiling CryptoSwift OFB.swift
[41/220] Emitting module XMLCoder
[44/220] Compiling CryptoSwift AES.Cryptors.swift
[45/220] Compiling CryptoSwift AES.swift
[46/220] Compiling CryptoSwift ASN1.swift
[47/220] Compiling CryptoSwift ASN1Decoder.swift
[48/220] Compiling CryptoSwift ASN1Encoder.swift
[49/220] Compiling CryptoSwift ASN1Scanner.swift
[60/220] Compiling XMLCoder XMLEncoderImplementation.swift
[61/220] Compiling XMLCoder XMLEncodingStorage.swift
[62/220] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[63/220] Compiling XMLCoder XMLReferencingEncoder.swift
[64/220] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[65/220] Compiling CryptoSwift PrimeTest.swift
[66/220] Compiling CryptoSwift Random.swift
[67/220] Compiling CryptoSwift Shifts.swift
[68/220] Compiling CryptoSwift SquareRoot.swift
[69/220] Compiling CryptoSwift Strideable.swift
[70/220] Compiling CryptoSwift StringConversion.swift
[71/220] Compiling CryptoSwift Subtraction.swift
[72/220] Compiling CryptoSwift Array+Extension.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[73/220] Compiling CryptoSwift Authenticator.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[74/220] Compiling CryptoSwift BatchedCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[75/220] Compiling CryptoSwift Bit.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[76/220] Compiling CryptoSwift BlockCipher.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[77/220] Compiling CryptoSwift BlockDecryptor.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[78/220] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[79/220] Compiling CryptoSwift Addition.swift
/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/Crypto/Key Derivation/HKDF.swift:110:68: error: cannot convert value of type 'Float' to expected argument type 'Double'
108 |     /// - Returns: The expanded key bytes.
109 |     public static func expand<PRK: ContiguousBytes, Info: DataProtocol>(pseudoRandomKey prk: PRK, info: Info?, outputByteCount: Int) -> SymmetricKey {
110 |         let iterations: UInt8 = UInt8(ceil((Float(outputByteCount) / Float(H.Digest.byteCount))))
    |                                                                    `- error: cannot convert value of type 'Float' to expected argument type 'Double'
111 |         var output = SecureBytes()
112 |         let key = SymmetricKey(data: prk)
[80/220] Compiling CryptoSwift BigInt.swift
[81/220] Compiling CryptoSwift BigUInt.swift
[82/220] Compiling CryptoSwift BitwiseOps.swift
[87/220] Emitting module Crypto
[93/220] Emitting module OLEKit
[102/221] Compiling Crypto RNG_boring.swift
[103/221] Compiling Crypto SafeCompare_boring.swift
[104/221] Compiling Crypto Zeroization_boring.swift
[105/221] Compiling Crypto PrettyBytes.swift
[106/221] Compiling Crypto SafeCompare.swift
[107/221] Compiling Crypto SecureBytes.swift
[108/221] Compiling Crypto Zeroization.swift
[111/221] Compiling CryptoSwift Cryptors.swift
[112/221] Compiling CryptoSwift Digest.swift
[113/221] Compiling CryptoSwift DigestType.swift
[114/221] Compiling CryptoSwift AES+Foundation.swift
[115/221] Compiling CryptoSwift Array+Foundation.swift
[116/221] Compiling CryptoSwift Blowfish+Foundation.swift
[117/221] Compiling CryptoSwift ChaCha20+Foundation.swift
[118/221] Compiling CryptoSwift Data+Extension.swift
[119/221] Compiling CryptoSwift HMAC+Foundation.swift
[120/221] Compiling CryptoSwift Rabbit+Foundation.swift
[121/221] Compiling CryptoSwift String+FoundationExtension.swift
[122/221] Compiling CryptoSwift Utils+Foundation.swift
[135/235] 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 |
[136/235] 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 |
[137/235] 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 |
[138/235] 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 |
[139/235] 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 |
[140/235] 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 |
[141/235] 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 |
[142/235] 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 |
[143/235] 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 |
[144/235] 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 |
[145/235] 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 |
[146/235] 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 |
[147/235] 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 |
[148/235] 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 |
BUILD FAILURE 6.1 android