Build Information
Failed to build BigNum, reference 6.0.0 (a56227
), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 22:20:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bignum.git
Reference: 6.0.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/dankogai/swift-bignum
* tag 6.0.0 -> FETCH_HEAD
HEAD is now at a562275 Update README.md
Cloned https://github.com/dankogai/swift-bignum.git
Revision (git rev-parse @):
a562275f0a64bc95f6e3f6c45ee652eefa820749
SUCCESS checkout https://github.com/dankogai/swift-bignum.git at 6.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankogai/swift-bignum.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
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/attaswift/BigInt
[1/4826] Fetching bigint
[3862/11174] Fetching bigint, swift-numerics
Fetched https://github.com/attaswift/BigInt from cache (0.56s)
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (1.08s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.7.0 (1.54s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.7.0
Building for debugging...
[0/16] Write sources
[6/16] Compiling _NumericsShims _NumericsShims.c
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/48] Emitting module BigInt
[10/50] Emitting module RealModule
[11/51] Compiling BigInt Strideable.swift
[12/51] Compiling BigInt String Conversion.swift
[13/51] Compiling RealModule Float80+Real.swift
[14/51] Compiling BigInt BigUInt.swift
[15/51] Compiling BigInt Floating Point Conversion.swift
[16/51] Compiling BigInt Subtraction.swift
[17/51] Compiling BigInt Words and Bits.swift
[18/51] Compiling BigInt Addition.swift
[19/51] Compiling BigInt BigInt.swift
[20/51] Compiling BigInt Integer Conversion.swift
[21/51] Compiling BigInt Multiplication.swift
[22/51] Compiling BigInt Prime Test.swift
[24/51] Compiling BigInt GCD.swift
[25/51] Compiling BigInt Hashable.swift
[26/51] Compiling RealModule RelaxedArithmetic.swift
[27/51] Compiling BigInt Bitwise Ops.swift
[28/51] Compiling BigInt Codable.swift
[29/51] Compiling BigInt Comparable.swift
[30/51] Compiling BigInt Data Conversion.swift
[31/51] Compiling BigInt Division.swift
[32/51] Compiling BigInt Exponentiation.swift
[36/51] Compiling BigInt Random.swift
[37/51] Compiling BigInt Shifts.swift
[38/51] Compiling BigInt Square Root.swift
[41/52] Compiling RealModule Float16+Real.swift
[43/52] Compiling RealModule Real.swift
[44/52] Compiling RealModule RealFunctions.swift
[45/53] Wrapping AST for BigInt for debugging
[46/53] Wrapping AST for RealModule for debugging
[48/64] Compiling ComplexModule Complex+Hashable.swift
[49/64] Compiling ComplexModule Complex+IntegerLiteral.swift
[50/65] Compiling ComplexModule Polar.swift
[51/65] Compiling ComplexModule Scale.swift
[52/65] Compiling ComplexModule Complex+Numeric.swift
[53/65] Compiling ComplexModule Complex+StringConvertible.swift
[54/65] Compiling ComplexModule Complex.swift
[55/65] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[56/65] Compiling ComplexModule Complex+AlgebraicField.swift
[57/65] Compiling ComplexModule Complex+Codable.swift
[58/65] Compiling ComplexModule Complex+ElementaryFunctions.swift
[59/65] Emitting module ComplexModule
[60/66] Wrapping AST for ComplexModule for debugging
[62/68] Emitting module Numerics
[63/68] Compiling Numerics Numerics.swift
[64/69] Wrapping AST for Numerics for debugging
[66/74] Emitting module BigNum
[67/74] Compiling BigNum BigFloat.swift
[68/74] Compiling BigNum Rational.swift
[69/74] Compiling BigNum BigNum.swift
[70/74] Compiling BigNum GenericMath.swift
[71/75] Wrapping AST for BigNum for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/77] Emitting module BigNumRun
/host/spi-builder-workspace/Sources/BigNumRun/main.swift:5:8: error: no such module 'Darwin'
3 | import Glibc
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
[74/77] Compiling BigNumRun main.swift
/host/spi-builder-workspace/Sources/BigNumRun/main.swift:5:8: error: no such module 'Darwin'
3 | import Glibc
4 | #else
5 | import Darwin
| `- error: no such module 'Darwin'
6 | #endif
7 |
BUILD FAILURE 6.2 wasm