Build Information
Failed to build aviancore, reference main (d7a4ef), with Swift 6.1 for Wasm on 13 Oct 2026 03:00:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/aviancore.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/grepjava/aviancore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d7a4ef3 Call it 0.7.3
Cloned https://github.com/grepjava/aviancore.git
Revision (git rev-parse @):
d7a4ef3479c12afa31ada6f30e1994c0fd9340e7
SUCCESS checkout https://github.com/grepjava/aviancore.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/grepjava/aviancore.git
https://github.com/grepjava/aviancore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.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 saguaro1/spi-images
Digest: sha256:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
/host/spi-builder-workspace/Sources/CAvian/avian_compress.c:8:10: fatal error: 'pthread.h' file not found
8 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/417] Compiling CAvian avian_compress.c
[0/417] Compiling CAvian avian_crypto.c
[0/417] Compiling CAvian avian_acme.c
[0/417] Compiling a_gentm.cc
[0/417] Compiling a_d2i_fp.cc
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_bus.c:9:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_bus.c:13:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_bus.c:104:17: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
104 | void *map = mmap(NULL, total, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
| ^
[0/417] Compiling CAvian avian_bus.c
[0/417] Compiling a_dup.cc
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_cache.c:7:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_cache.c:11:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:133:17: warning: 'getpid' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid [-Wdeprecated-declarations]
133 | pid_t pid = getpid();
| ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/unistd.h:155:16: note: 'getpid' has been explicitly marked deprecated here
155 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:144:12: error: call to undeclared function 'kill'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
144 | return kill((pid_t)owner, 0) != 0 && errno == ESRCH;
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:195:15: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
195 | void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
| ^
[0/417] Compiling CAvian avian_cache.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/417] Compiling fiat_curve25519_adx_square.S
[1/417] Compiling fiat_p256_adx_sqr.S
[2/417] Compiling fiat_curve25519_adx_mul.S
[3/417] Compiling fiat_p256_adx_mul.S
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/tls13_enc.cc:34:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/417] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[4/417] Compiling tls13_server.cc
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/tls13_client.cc:30:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[4/417] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[4/417] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/tls_record.cc:19:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[4/417] Compiling tls_record.cc
[4/417] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/t1_enc.cc:28:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[4/417] Compiling t1_enc.cc
In file included from /host/spi-builder-workspace/Sources/CAvianSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/Sources/CAvianSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
32 | #include <pthread.h>
| ^~~~~~~~~~~
[4/417] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm