Build Information
Failed to build big-num, reference main (5c5511
), with Swift 6.1 for Wasm on 29 May 2025 06:38:46 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adam-fowler/big-num.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/adam-fowler/big-num
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5c5511a Update swift versions in CI
Cloned https://github.com/adam-fowler/big-num.git
Revision (git rev-parse @):
5c5511ad06aeb2b97d0868f7394e14a624bfb1c7
SUCCESS checkout https://github.com/adam-fowler/big-num.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/adam-fowler/big-num.git
https://github.com/adam-fowler/big-num.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "big-num",
"name" : "big-num",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BigNum",
"targets" : [
"BigNum"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CBigNumBoringSSL",
"module_type" : "ClangTarget",
"name" : "CBigNumBoringSSL",
"path" : "Sources/CBigNumBoringSSL",
"product_memberships" : [
"BigNum"
],
"sources" : [
"crypto/bio/bio.c",
"crypto/bio/file.c",
"crypto/bn_extra/convert.c",
"crypto/bytestring/asn1_compat.c",
"crypto/bytestring/ber.c",
"crypto/bytestring/cbb.c",
"crypto/bytestring/cbs.c",
"crypto/bytestring/unicode.c",
"crypto/cpu_aarch64_apple.c",
"crypto/cpu_aarch64_fuchsia.c",
"crypto/cpu_aarch64_linux.c",
"crypto/cpu_aarch64_win.c",
"crypto/cpu_arm.c",
"crypto/cpu_arm_linux.c",
"crypto/cpu_intel.c",
"crypto/cpu_ppc64le.c",
"crypto/crypto.c",
"crypto/err/err.c",
"crypto/err/err_data.c",
"crypto/ex_data.c",
"crypto/fipsmodule/aes/aes.c",
"crypto/fipsmodule/aes/aes_nohw.c",
"crypto/fipsmodule/aes/key_wrap.c",
"crypto/fipsmodule/aes/mode_wrappers.c",
"crypto/fipsmodule/aesni-gcm-x86_64.linux.x86_64.S",
"crypto/fipsmodule/aesni-gcm-x86_64.mac.x86_64.S",
"crypto/fipsmodule/aesni-x86.linux.x86.S",
"crypto/fipsmodule/aesni-x86_64.linux.x86_64.S",
"crypto/fipsmodule/aesni-x86_64.mac.x86_64.S",
"crypto/fipsmodule/aesv8-armx32.ios.arm.S",
"crypto/fipsmodule/aesv8-armx32.linux.arm.S",
"crypto/fipsmodule/aesv8-armx64.ios.aarch64.S",
"crypto/fipsmodule/aesv8-armx64.linux.aarch64.S",
"crypto/fipsmodule/armv4-mont.ios.arm.S",
"crypto/fipsmodule/armv4-mont.linux.arm.S",
"crypto/fipsmodule/armv8-mont.ios.aarch64.S",
"crypto/fipsmodule/armv8-mont.linux.aarch64.S",
"crypto/fipsmodule/bn-586.linux.x86.S",
"crypto/fipsmodule/bn/add.c",
"crypto/fipsmodule/bn/asm/x86_64-gcc.c",
"crypto/fipsmodule/bn/bn.c",
"crypto/fipsmodule/bn/bytes.c",
"crypto/fipsmodule/bn/cmp.c",
"crypto/fipsmodule/bn/ctx.c",
"crypto/fipsmodule/bn/div.c",
"crypto/fipsmodule/bn/div_extra.c",
"crypto/fipsmodule/bn/exponentiation.c",
"crypto/fipsmodule/bn/gcd.c",
"crypto/fipsmodule/bn/gcd_extra.c",
"crypto/fipsmodule/bn/generic.c",
"crypto/fipsmodule/bn/jacobi.c",
"crypto/fipsmodule/bn/montgomery.c",
"crypto/fipsmodule/bn/montgomery_inv.c",
"crypto/fipsmodule/bn/mul.c",
"crypto/fipsmodule/bn/prime.c",
"crypto/fipsmodule/bn/random.c",
"crypto/fipsmodule/bn/rsaz_exp.c",
"crypto/fipsmodule/bn/shift.c",
"crypto/fipsmodule/bn/sqrt.c",
"crypto/fipsmodule/bsaes-armv7.ios.arm.S",
"crypto/fipsmodule/bsaes-armv7.linux.arm.S",
"crypto/fipsmodule/cipher/cipher.c",
"crypto/fipsmodule/cipher/e_aes.c",
"crypto/fipsmodule/co-586.linux.x86.S",
"crypto/fipsmodule/ghash-armv4.ios.arm.S",
"crypto/fipsmodule/ghash-armv4.linux.arm.S",
"crypto/fipsmodule/ghash-neon-armv8.ios.aarch64.S",
"crypto/fipsmodule/ghash-neon-armv8.linux.aarch64.S",
"crypto/fipsmodule/ghash-ssse3-x86.linux.x86.S",
"crypto/fipsmodule/ghash-ssse3-x86_64.linux.x86_64.S",
"crypto/fipsmodule/ghash-ssse3-x86_64.mac.x86_64.S",
"crypto/fipsmodule/ghash-x86.linux.x86.S",
"crypto/fipsmodule/ghash-x86_64.linux.x86_64.S",
"crypto/fipsmodule/ghash-x86_64.mac.x86_64.S",
"crypto/fipsmodule/ghashv8-armx32.ios.arm.S",
"crypto/fipsmodule/ghashv8-armx32.linux.arm.S",
"crypto/fipsmodule/ghashv8-armx64.ios.aarch64.S",
"crypto/fipsmodule/ghashv8-armx64.linux.aarch64.S",
"crypto/fipsmodule/md5-586.linux.x86.S",
"crypto/fipsmodule/md5-x86_64.linux.x86_64.S",
"crypto/fipsmodule/md5-x86_64.mac.x86_64.S",
"crypto/fipsmodule/modes/cbc.c",
"crypto/fipsmodule/modes/cfb.c",
"crypto/fipsmodule/modes/ctr.c",
"crypto/fipsmodule/modes/gcm.c",
"crypto/fipsmodule/modes/gcm_nohw.c",
"crypto/fipsmodule/modes/ofb.c",
"crypto/fipsmodule/modes/polyval.c",
"crypto/fipsmodule/p256-x86_64-asm.linux.x86_64.S",
"crypto/fipsmodule/p256-x86_64-asm.mac.x86_64.S",
"crypto/fipsmodule/p256_beeu-x86_64-asm.linux.x86_64.S",
"crypto/fipsmodule/p256_beeu-x86_64-asm.mac.x86_64.S",
"crypto/fipsmodule/rand/ctrdrbg.c",
"crypto/fipsmodule/rand/fork_detect.c",
"crypto/fipsmodule/rand/rand.c",
"crypto/fipsmodule/rand/urandom.c",
"crypto/fipsmodule/rdrand-x86_64.linux.x86_64.S",
"crypto/fipsmodule/rdrand-x86_64.mac.x86_64.S",
"crypto/fipsmodule/rsaz-avx2.linux.x86_64.S",
"crypto/fipsmodule/rsaz-avx2.mac.x86_64.S",
"crypto/fipsmodule/sha1-586.linux.x86.S",
"crypto/fipsmodule/sha1-armv4-large.ios.arm.S",
"crypto/fipsmodule/sha1-armv4-large.linux.arm.S",
"crypto/fipsmodule/sha1-armv8.ios.aarch64.S",
"crypto/fipsmodule/sha1-armv8.linux.aarch64.S",
"crypto/fipsmodule/sha1-x86_64.linux.x86_64.S",
"crypto/fipsmodule/sha1-x86_64.mac.x86_64.S",
"crypto/fipsmodule/sha256-586.linux.x86.S",
"crypto/fipsmodule/sha256-armv4.ios.arm.S",
"crypto/fipsmodule/sha256-armv4.linux.arm.S",
"crypto/fipsmodule/sha256-armv8.ios.aarch64.S",
"crypto/fipsmodule/sha256-armv8.linux.aarch64.S",
"crypto/fipsmodule/sha256-x86_64.linux.x86_64.S",
"crypto/fipsmodule/sha256-x86_64.mac.x86_64.S",
"crypto/fipsmodule/sha512-586.linux.x86.S",
"crypto/fipsmodule/sha512-armv4.ios.arm.S",
"crypto/fipsmodule/sha512-armv4.linux.arm.S",
"crypto/fipsmodule/sha512-armv8.ios.aarch64.S",
"crypto/fipsmodule/sha512-armv8.linux.aarch64.S",
"crypto/fipsmodule/sha512-x86_64.linux.x86_64.S",
"crypto/fipsmodule/sha512-x86_64.mac.x86_64.S",
"crypto/fipsmodule/vpaes-armv7.ios.arm.S",
"crypto/fipsmodule/vpaes-armv7.linux.arm.S",
"crypto/fipsmodule/vpaes-armv8.ios.aarch64.S",
"crypto/fipsmodule/vpaes-armv8.linux.aarch64.S",
"crypto/fipsmodule/vpaes-x86.linux.x86.S",
"crypto/fipsmodule/vpaes-x86_64.linux.x86_64.S",
"crypto/fipsmodule/vpaes-x86_64.mac.x86_64.S",
"crypto/fipsmodule/x86-mont.linux.x86.S",
"crypto/fipsmodule/x86_64-mont.linux.x86_64.S",
"crypto/fipsmodule/x86_64-mont.mac.x86_64.S",
"crypto/fipsmodule/x86_64-mont5.linux.x86_64.S",
"crypto/fipsmodule/x86_64-mont5.mac.x86_64.S",
"crypto/mem.c",
"crypto/rand_extra/deterministic.c",
"crypto/rand_extra/forkunsafe.c",
"crypto/rand_extra/fuchsia.c",
"crypto/rand_extra/passive.c",
"crypto/rand_extra/rand_extra.c",
"crypto/rand_extra/windows.c",
"crypto/refcount_c11.c",
"crypto/refcount_lock.c",
"crypto/stack/stack.c",
"crypto/thread.c",
"crypto/thread_none.c",
"crypto/thread_pthread.c",
"crypto/thread_win.c"
],
"type" : "library"
},
{
"c99name" : "BigNumTests",
"module_type" : "SwiftTarget",
"name" : "BigNumTests",
"path" : "Tests/BigNumTests",
"sources" : [
"BigNumTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"BigNum"
],
"type" : "test"
},
{
"c99name" : "BigNum",
"module_type" : "SwiftTarget",
"name" : "BigNum",
"path" : "Sources/BigNum",
"product_memberships" : [
"BigNum"
],
"sources" : [
"BigNum.swift"
],
"target_dependencies" : [
"CBigNumBoringSSL"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/149] Compiling cpu_aarch64_win.c
[1/149] Compiling cpu_aarch64_linux.c
[2/149] Compiling cpu_aarch64_fuchsia.c
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bytestring/asn1_compat.c:25:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bytestring/../internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bio/file.c:85:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bio/../internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[3/149] Compiling file.c
[3/149] Compiling thread_pthread.c
[3/149] Compiling asn1_compat.c
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/err/err.c:125:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/err/../internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
[3/149] Compiling err.c
[3/149] Compiling bio.c
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bn_extra/convert.c:69:
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bn_extra/../fipsmodule/bn/internal.h:135:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/bn_extra/../fipsmodule/bn/../../internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
[3/149] Compiling convert.c
[3/149] Compiling thread_win.c
[3/149] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/146] Compiling thread.c
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/refcount_lock.c:15:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/146] Compiling refcount_lock.c
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/thread_none.c:15:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/146] Compiling thread_none.c
[1/146] Compiling refcount_c11.c
In file included from /host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/thread_win.c:15:
/host/spi-builder-workspace/Sources/CBigNumBoringSSL/crypto/internal.h:135:10: fatal error: 'pthread.h' file not found
135 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[1/146] Compiling thread_win.c
[1/146] Compiling windows.c
[1/146] Compiling stack.c
[1/146] Compiling thread_pthread.c
[1/146] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm