Build Information
Failed to build BigDecimal, reference 3.0.2 (4414e0
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 07:00:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 3.0.2
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
* tag 3.0.2 -> FETCH_HEAD
HEAD is now at 4414e0e Added more tests and added minimum requirements for OSes.
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
4414e0e82bb859cf5a2883f9401e7d7cb030f5b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at 3.0.2
========================================
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-4606859-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/mgriebling/BigInt.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/UInt128.git
[1/5757] Fetching swift-numerics
[2765/7341] Fetching swift-numerics, uint128
Fetched https://github.com/mgriebling/UInt128.git from cache (0.53s)
[1/7510] Fetching bigint
Fetched https://github.com/apple/swift-numerics from cache (1.28s)
Fetched https://github.com/mgriebling/BigInt.git from cache (1.30s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (4.23s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.57s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.96s)
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/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
Building for debugging...
[0/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/35] Emitting module RealModule
[10/36] 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
[11/37] 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
[12/37] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/37] 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
[14/37] 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
[15/37] 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
[16/37] 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
[17/37] 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
[18/37] Compiling RealModule Float+Real.swift
[19/37] Compiling RealModule Float16+Real.swift
[20/37] Compiling RealModule Float80+Real.swift
[21/37] Compiling RealModule Real.swift
[22/37] 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
[23/37] 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
[26/37] Compiling RealModule ElementaryFunctions.swift
[27/37] 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
[28/37] 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
[29/37] Compiling RealModule RealFunctions.swift
[30/37] 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
[33/38] 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
[35/38] Emitting module UInt128
BUILD FAILURE 6.2 wasm