Build Information
Failed to build swift-bigint-gmp, reference 0.0.1 (a44529), with Swift 6.3 for Wasm on 16 Aug 2026 03:11:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bigint-gmp.git
Reference: 0.0.1
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-bigint-gmp
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at a445292 Add Benchmark.md and the Benchmarks/ harness
Cloned https://github.com/dankogai/swift-bigint-gmp.git
Revision (git rev-parse @):
a445292be1b652e0cbb3369a1ac5f82e1a9268d5
SUCCESS checkout https://github.com/dankogai/swift-bigint-gmp.git at 0.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/dankogai/swift-bigint-gmp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
warning: you may be able to install gmp using your system-packager:
apt-get install libgmp-dev
warning: you may be able to install gmp using your system-packager:
apt-get install libgmp-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module GMPBigInt
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgmp/shim.h:1:10: error: 'gmp.h' file not found
1 | #include <gmp.h>
| `- error: 'gmp.h' file not found
2 |
/host/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build C module 'Cgmp'
1 | import Cgmp
| `- error: could not build C module 'Cgmp'
2 |
3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
[4/4] Compiling GMPBigInt GMPBigInt.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/Cgmp/shim.h:1:10: error: 'gmp.h' file not found
1 | #include <gmp.h>
| `- error: 'gmp.h' file not found
2 |
/host/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build C module 'Cgmp'
1 | import Cgmp
| `- error: could not build C module 'Cgmp'
2 |
3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
BUILD FAILURE 6.3 wasm