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 SwiftHPKE, reference 2.7.0 (84800f), with Swift 6.1 for Wasm on 30 May 2025 22:15:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/leif-ibsen/SwiftHPKE.git
Reference: 2.7.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.7.0      -> FETCH_HEAD
HEAD is now at 84800fa Release 2.7.0
Cloned https://github.com/leif-ibsen/SwiftHPKE.git
Revision (git rev-parse @):
84800fad96d7e53a34c0da3c8124321eeae8a05c
SUCCESS checkout https://github.com/leif-ibsen/SwiftHPKE.git at 2.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftHPKE.git
https://github.com/leif-ibsen/SwiftHPKE.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/ASN1"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.21.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/BigInt"
    },
    {
      "identity" : "digest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.13.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest"
    }
  ],
  "manifest_display_name" : "SwiftHPKE",
  "name" : "SwiftHPKE",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftHPKE",
      "targets" : [
        "SwiftHPKE"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftHPKETests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHPKETests",
      "path" : "Tests/SwiftHPKETests",
      "sources" : [
        "CipherSuiteTest.swift",
        "CryptoKitAuthPSKTest.swift",
        "CryptoKitAuthTest.swift",
        "CryptoKitBaseTest.swift",
        "CryptoKitPSKTest.swift",
        "CryptoKitTest.swift",
        "Curve25519Test.swift",
        "Curve448Test.swift",
        "ExceptionTest.swift",
        "HPKETest.swift",
        "KeysTest.swift",
        "SenderRecipientTest.swift",
        "WycheproofP256Test.swift",
        "WycheproofP384Test.swift",
        "WycheproofP521Test.swift",
        "WycheproofX25519Test.swift",
        "WycheproofX448Test.swift"
      ],
      "target_dependencies" : [
        "SwiftHPKE"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftHPKE",
      "module_type" : "SwiftTarget",
      "name" : "SwiftHPKE",
      "path" : "Sources/SwiftHPKE",
      "product_dependencies" : [
        "ASN1",
        "BigInt",
        "Digest"
      ],
      "product_memberships" : [
        "SwiftHPKE"
      ],
      "sources" : [
        "AEAD.swift",
        "CipherSuite.swift",
        "Curve.swift",
        "Exception.swift",
        "KDF.swift",
        "KEM.swift",
        "Point.swift",
        "PrivateKey.swift",
        "PublicKey.swift",
        "Recipient.swift",
        "Sender.swift",
        "X255_448/Curve25519.swift",
        "X255_448/Curve448.swift",
        "X255_448/Field25519.swift",
        "X255_448/Field448.swift",
        "X255_448/UInt128.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/ASN1
[1/2427] Fetching asn1
[802/5020] Fetching asn1, digest
[3617/10536] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (1.07s)
[7558/8109] Fetching digest, bigint
Fetched https://github.com/leif-ibsen/Digest from cache (1.55s)
Fetched https://github.com/leif-ibsen/BigInt from cache (1.58s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (2.64s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (1.01s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (5.02s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.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/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/27] Compiling Digest MD.swift
[7/28] 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]
[8/28] 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]
[9/28] Compiling Digest SHA2.swift
[10/28] Compiling Digest SHA3.swift
[11/28] Compiling Digest XOF.swift
[12/28] Compiling BigInt Limbs.swift
[13/28] Compiling BigInt Karatsuba.swift
[14/28] Compiling BigInt GCD.swift
[15/29] Compiling BigInt FFT.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 |
[16/29] 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 |
[17/29] Compiling BigInt CRT.swift
[18/29] Compiling BigInt ExpMod.swift
[19/29] Compiling Digest SHA1.swift
[20/29] Compiling Digest SHAKE.swift
[21/29] Compiling BigInt ToomCook.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/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 |
[25/29] Compiling Digest BLAKE.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 |         }
[26/29] Compiling Digest Base64.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 |         }
[27/29] Emitting module Digest
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/23] Compiling Digest SHAKE.swift
[3/24] Compiling BigInt GCD.swift
[4/24] Compiling BigInt Karatsuba.swift
[5/25] Compiling Digest XOF.swift
[6/25] Compiling BigInt ToomCook.swift
[7/25] Compiling BigInt Limbs.swift
[8/25] Compiling Digest HMAC.swift
[9/25] Compiling Digest KDF.swift
[10/25] Compiling BigInt BitSieve.swift
[11/25] Compiling BigInt BurnikelZiegler.swift
[12/25] Compiling Digest BLAKE.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 |
[13/25] Compiling Digest Base64.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/25] Compiling Digest SHA2.swift
[15/25] Compiling Digest SHA3.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/25] 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 |
[17/25] Compiling BigInt BigFrac.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 |         }
[18/25] 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 |         }
[19/25] Compiling Digest SHA1.swift
[20/25] Emitting module Digest
[21/25] Compiling Digest MD.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]
/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]
BUILD FAILURE 6.1 wasm