The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftHPKE, reference 2.8.0 (38742b), with Swift 6.3 for Wasm on 16 Apr 2026 14:39:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftHPKE.git
Reference: 2.8.0
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/leif-ibsen/SwiftHPKE
 * tag               2.8.0      -> FETCH_HEAD
HEAD is now at 38742b7 Release 2.8.0
Cloned https://github.com/leif-ibsen/SwiftHPKE.git
Revision (git rev-parse @):
38742b7ac47912d156f57957cc9ccb9d6b3ad3a7
SUCCESS checkout https://github.com/leif-ibsen/SwiftHPKE.git at 2.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftHPKE.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/ASN1
Fetching https://github.com/leif-ibsen/Digest
[1/2427] Fetching asn1
[2428/9178] Fetching asn1, bigint
[4724/11771] Fetching asn1, bigint, digest
Fetched https://github.com/leif-ibsen/Digest from cache (0.98s)
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.98s)
Fetched https://github.com/leif-ibsen/BigInt from cache (0.99s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (1.36s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (3.30s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.23.0 (1.55s)
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.23.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/28] Compiling BigInt BurnikelZiegler.swift
[7/28] Compiling BigInt CRT.swift
[8/28] Compiling Digest SHAKE.swift
[9/30] Compiling BigInt ExpMod.swift
[10/30] Compiling BigInt FFT.swift
[11/30] Compiling BigInt Karatsuba.swift
[12/30] Compiling BigInt Limbs.swift
[13/30] Compiling BigInt Factorial.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:64: error: integer literal '2432902008176640000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                                                                `- error: integer literal '2432902008176640000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:44: error: integer literal '121645100408832000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                                            `- error: integer literal '121645100408832000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:26: error: integer literal '6402373705728000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                          `- error: integer literal '6402373705728000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:9: error: integer literal '355687428096000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |         `- error: integer literal '355687428096000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:60: error: integer literal '20922789888000' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                                            `- error: integer literal '20922789888000' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:45: error: integer literal '1307674368000' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                             `- error: integer literal '1307674368000' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:32: error: integer literal '87178291200' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                `- error: integer literal '87178291200' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:20: error: integer literal '6227020800' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                    `- error: integer literal '6227020800' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
[14/30] Compiling BigInt GCD.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:64: error: integer literal '2432902008176640000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                                                                `- error: integer literal '2432902008176640000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:44: error: integer literal '121645100408832000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                                            `- error: integer literal '121645100408832000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:26: error: integer literal '6402373705728000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                          `- error: integer literal '6402373705728000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:9: error: integer literal '355687428096000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |         `- error: integer literal '355687428096000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:60: error: integer literal '20922789888000' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                                            `- error: integer literal '20922789888000' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:45: error: integer literal '1307674368000' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                             `- error: integer literal '1307674368000' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:32: error: integer literal '87178291200' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                `- error: integer literal '87178291200' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:20: error: integer literal '6227020800' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                    `- error: integer literal '6227020800' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
[15/30] Compiling Digest SHA2.swift
[16/30] Compiling Digest SHA1.swift
[17/30] Compiling Digest SHA3.swift
[18/30] Compiling Digest MD.swift
[19/30] Compiling Digest HMAC.swift
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:32: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:60: error: integer literal '4294967295' overflows when stored into 'Int'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                                            `- error: integer literal '4294967295' overflows when stored into 'Int'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
[20/30] Compiling Digest KDF.swift
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:9: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |         `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:32: error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                `- error: integer literal '4294967295' overflows when stored into signed 'Builtin.Int32'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
/host/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/KDF.swift:59:60: error: integer literal '4294967295' overflows when stored into 'Int'
 57 |     public static func X963KDF(_ kind: MessageDigest.Kind, _ ikm: Bytes, _ size: Int, _ info: Bytes) -> Bytes {
 58 |         let md = MessageDigest(kind)
 59 |         precondition(size >= 0 && size < md.digestLength * 0xffffffff)
    |                                                            `- error: integer literal '4294967295' overflows when stored into 'Int'
 60 |         var T: Bytes = []
 61 |         var counter: Bytes = [0, 0, 0, 1]
[21/30] Compiling Digest XOF.swift
[22/30] Compiling BigInt ToomCook.swift
[23/30] Emitting module Digest
[24/30] Compiling Digest BLAKE.swift
[25/30] Compiling Digest Base64.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/30] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:64: error: integer literal '2432902008176640000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                                                                `- error: integer literal '2432902008176640000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:44: error: integer literal '121645100408832000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                                            `- error: integer literal '121645100408832000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:26: error: integer literal '6402373705728000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |                          `- error: integer literal '6402373705728000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:15:9: error: integer literal '355687428096000' overflows when stored into 'Int'
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
   |         `- error: integer literal '355687428096000' overflows when stored into 'Int'
16 |
17 |     var N: Limbs = [1]
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:60: error: integer literal '20922789888000' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                                            `- error: integer literal '20922789888000' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:45: error: integer literal '1307674368000' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                             `- error: integer literal '1307674368000' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:32: error: integer literal '87178291200' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                                `- error: integer literal '87178291200' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/Factorial.swift:14:20: error: integer literal '6227020800' overflows when stored into 'Int'
12 |     static let smallFacs: [Int] = [
13 |         1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800, 39916800,
14 |         479001600, 6227020800, 87178291200, 1307674368000, 20922789888000,
   |                    `- error: integer literal '6227020800' overflows when stored into 'Int'
15 |         355687428096000, 6402373705728000, 121645100408832000, 2432902008176640000]
16 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 |     static internal func randomBytes(_ bytes: inout Bytes) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1702 |             fatalError("randomBytes failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1707 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1708 |             fatalError("randomLimbs failed")
1709 |         }
BUILD FAILURE 6.3 wasm