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 BigDecimal, reference main (ddc5df), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 07:00:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/BigDecimal.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/BigDecimal
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ddc5df3 Put back the nanFlag.
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
ddc5df3676a865345686901c44fa022f30dd4a0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mgriebling/BigDecimal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mgriebling/BigInt.git
[1/2082] Fetching swift-docc-plugin
[231/3666] Fetching swift-docc-plugin, uint128
[1404/9423] Fetching swift-docc-plugin, uint128, swift-numerics
[9424/16933] Fetching swift-docc-plugin, uint128, swift-numerics, bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (0.78s)
[14223/15349] Fetching swift-docc-plugin, swift-numerics, bigint
Fetched https://github.com/apple/swift-numerics from cache (0.78s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.79s)
[6459/7510] Fetching bigint
Fetched https://github.com/mgriebling/BigInt.git from cache (1.12s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (3.58s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.80s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.99s)
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/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write sources
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/37] Compiling BigInt Limbs.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[12/38] Compiling BigInt Karatsuba.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[13/38] Compiling BigInt ToomCook.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[14/38] Compiling RealModule Float16+Real.swift
[15/39] Compiling BigInt Factorial.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[16/39] Compiling BigInt GCD.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/39] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[18/39] Compiling BigInt BurnikelZiegler.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[19/39] Compiling BigInt CRT.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[20/39] Compiling BigInt ExpMod.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[21/39] Compiling BigInt FFT.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[22/39] Compiling BigInt BigFrac.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[23/39] Compiling BigInt BigInt-Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[24/39] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[25/39] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:9:8: error: no such module 'Foundation'
   7 | //
   8 |
   9 | import Foundation
     |        `- error: no such module 'Foundation'
  10 |
  11 | /// Unsigned 8 bit value
[26/39] Compiling RealModule Float80+Real.swift
[27/39] Compiling RealModule Real.swift
[28/39] Compiling RealModule RealFunctions.swift
[29/39] Compiling UInt128 Common.swift
[30/39] Emitting module UInt128
[31/39] Compiling RealModule ElementaryFunctions.swift
[36/39] Emitting module RealModule
BUILD FAILURE 6.2 wasm