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 BigNum, reference main (a56227), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 22:21:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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/dankogai/swift-bignum
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-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/apple/swift-numerics from cache (0.44s)
Fetched https://github.com/attaswift/BigInt from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (0.78s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 5.7.0 (0.30s)
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 5.7.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
Building for debugging...
[0/16] Write sources
[6/16] Compiling _NumericsShims _NumericsShims.c
[7/16] Write swift-version-24593BA9C3E375BF.txt
[9/48] Compiling RealModule RealFunctions.swift
[10/49] Compiling RealModule RelaxedArithmetic.swift
[11/49] Compiling BigInt Random.swift
[12/49] Compiling BigInt Shifts.swift
[13/49] Compiling BigInt Square Root.swift
[14/49] Compiling BigInt Strideable.swift
[15/49] Compiling BigInt String Conversion.swift
[16/51] Compiling RealModule Float16+Real.swift
[17/51] Compiling RealModule Float80+Real.swift
[18/51] Compiling BigInt Data Conversion.swift
[19/51] Compiling BigInt Division.swift
[20/51] Compiling BigInt Exponentiation.swift
[21/51] Compiling BigInt Addition.swift
[22/51] Compiling BigInt BigInt.swift
[23/51] Compiling BigInt BigUInt.swift
[24/51] Emitting module BigInt
[25/51] Compiling RealModule Double+Real.swift
[26/51] Compiling RealModule ElementaryFunctions.swift
[27/51] Compiling RealModule Float+Real.swift
[28/51] Compiling BigInt Bitwise Ops.swift
[29/51] Compiling BigInt Codable.swift
[30/51] Compiling BigInt Comparable.swift
[31/51] Compiling RealModule AlgebraicField.swift
[32/51] Compiling RealModule ApproximateEquality.swift
[33/51] Compiling RealModule AugmentedArithmetic.swift
[34/51] Compiling RealModule Real.swift
[39/51] Emitting module RealModule
[42/52] Wrapping AST for RealModule for debugging
[44/63] Compiling ComplexModule Polar.swift
[45/63] Compiling ComplexModule Complex+Numeric.swift
[46/64] Compiling ComplexModule Complex+Hashable.swift
[47/64] Compiling ComplexModule Complex+IntegerLiteral.swift
[48/64] Compiling ComplexModule Complex.swift
[49/64] Compiling ComplexModule Complex+StringConvertible.swift
[50/64] Compiling BigInt Subtraction.swift
[51/64] Compiling BigInt Words and Bits.swift
[52/64] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[53/64] Compiling ComplexModule Complex+AlgebraicField.swift
[54/65] Compiling ComplexModule Scale.swift
[55/65] Wrapping AST for BigInt for debugging
[57/65] Emitting module ComplexModule
[58/65] Compiling ComplexModule Complex+Codable.swift
[59/65] Compiling ComplexModule Complex+ElementaryFunctions.swift
[60/66] Wrapping AST for ComplexModule for debugging
[62/68] Compiling Numerics Numerics.swift
[63/68] Emitting module Numerics
[64/69] Wrapping AST for Numerics for debugging
[66/74] Compiling BigNum Rational.swift
[67/74] Compiling BigNum BigFloat.swift
[68/74] Emitting module BigNum
[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