Build Information
Failed to build ExpressionParser, reference main (e9984c
), with Swift 6.1 for Wasm on 29 May 2025 19:31:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/ExpressionParser.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mgriebling/ExpressionParser
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e9984ca Added badges.
Cloned https://github.com/mgriebling/ExpressionParser.git
Revision (git rev-parse @):
e9984ca215b16c2c508dfc181f9c5320c126ede8
SUCCESS checkout https://github.com/mgriebling/ExpressionParser.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mgriebling/ExpressionParser.git
https://github.com/mgriebling/ExpressionParser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "bigdecimal",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mgriebling/BigDecimal.git"
}
],
"manifest_display_name" : "ExpressionParser",
"name" : "ExpressionParser",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.3"
},
{
"name" : "ios",
"version" : "16.4"
},
{
"name" : "maccatalyst",
"version" : "13.3"
},
{
"name" : "tvos",
"version" : "16.4"
},
{
"name" : "watchos",
"version" : "9.4"
}
],
"products" : [
{
"name" : "ExpressionParser",
"targets" : [
"ExpressionParser"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ExpressionParserTests",
"module_type" : "SwiftTarget",
"name" : "ExpressionParserTests",
"path" : "Tests/ExpressionParserTests",
"sources" : [
"ExpressionParserTests.swift"
],
"target_dependencies" : [
"ExpressionParser"
],
"type" : "test"
},
{
"c99name" : "ExpressionParser",
"module_type" : "SwiftTarget",
"name" : "ExpressionParser",
"path" : "Sources/ExpressionParser",
"product_dependencies" : [
"BigDecimal"
],
"product_memberships" : [
"ExpressionParser"
],
"sources" : [
"AST.swift",
"ExpressionParser.swift",
"LaTeX.swift",
"Parser.swift",
"Scanner.swift",
"String+Char.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/mgriebling/BigDecimal.git
[1/5906] Fetching bigdecimal
Fetched https://github.com/mgriebling/BigDecimal.git from cache (0.62s)
Computing version for https://github.com/mgriebling/BigDecimal.git
Computed https://github.com/mgriebling/BigDecimal.git at 3.0.2 (1.19s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/mgriebling/BigInt.git
[1/5706] Fetching swift-numerics
[857/7290] Fetching swift-numerics, uint128
Fetched https://github.com/apple/swift-numerics from cache (0.49s)
[1/7510] Fetching bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (4.18s)
Fetched https://github.com/mgriebling/BigInt.git from cache (4.26s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (6.78s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.71s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.53s)
Creating working copy for https://github.com/mgriebling/BigDecimal.git
Working copy of https://github.com/mgriebling/BigDecimal.git resolved at 3.0.2
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
Building for debugging...
[0/9] Write sources
[7/9] Compiling _NumericsShims _NumericsShims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/36] 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 |
[11/36] 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 |
[12/37] Compiling RealModule Real.swift
[13/38] Emitting module RealModule
[14/38] Emitting module UInt128
[15/38] Compiling UInt128 Common.swift
[16/38] Compiling UInt128 UInt128.swift
[17/38] Compiling RealModule AlgebraicField.swift
[18/38] Compiling RealModule ApproximateEquality.swift
[19/38] Compiling RealModule RealFunctions.swift
[20/38] Compiling UInt128 Int128.swift
[23/38] Compiling RealModule AugmentedArithmetic.swift
[24/38] Compiling RealModule Double+Real.swift
[25/38] Compiling BigInt Karatsuba.swift
[26/39] Compiling RealModule Float80+Real.swift
[27/39] Compiling RealModule Float+Real.swift
[28/39] Compiling RealModule ElementaryFunctions.swift
[29/39] Compiling RealModule Float16+Real.swift
[30/40] Compiling BigInt ExpMod.swift
[31/40] Compiling BigInt FFT.swift
[34/40] Compiling BigInt ToomCook.swift
[35/40] Compiling BigInt Limbs.swift
[36/45] Compiling ComplexModule Arithmetic.swift
[37/45] Compiling ComplexModule Complex.swift
[38/45] Emitting module ComplexModule
[39/45] Compiling ComplexModule Differentiable.swift
[40/45] Compiling ComplexModule ElementaryFunctions.swift
[42/48] Compiling Numerics Numerics.swift
[43/48] Emitting module Numerics
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/49] 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 |
[48/49] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
[49/49] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling RealModule Float80+Real.swift
[3/28] Compiling RealModule ElementaryFunctions.swift
[4/29] Compiling RealModule Real.swift
[5/29] Compiling RealModule RealFunctions.swift
[6/29] Compiling BigInt BigInt.swift
[7/29] Compiling BigInt BitSieve.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/29] 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 |
[9/30] Compiling BigInt BigFrac.swift
[10/30] Compiling BigInt BigInt-Extensions.swift
[11/30] Compiling RealModule Float16+Real.swift
[12/30] Compiling RealModule Float+Real.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 BigInt Karatsuba.swift
[16/30] Emitting module RealModule
[18/36] Compiling BigInt ToomCook.swift
[19/36] Compiling ComplexModule Differentiable.swift
[20/36] Compiling UInt128 Common.swift
[21/36] Compiling UInt128 UInt128.swift
[22/36] Emitting module UInt128
[23/36] Compiling UInt128 Int128.swift
[24/37] Compiling BigInt BurnikelZiegler.swift
[25/37] Compiling BigInt CRT.swift
[26/37] Compiling BigInt ExpMod.swift
[27/37] Compiling BigInt FFT.swift
[28/37] Compiling ComplexModule Arithmetic.swift
[29/37] Compiling ComplexModule Complex.swift
[31/37] Compiling ComplexModule ElementaryFunctions.swift
[32/37] Emitting module ComplexModule
[33/38] Compiling BigInt Limbs.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
BUILD FAILURE 6.1 wasm