Build Information
Failed to build aviancore, reference main (d7a4ef), with Swift 6.2 for Wasm on 13 Oct 2026 03:02:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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.2
Building package at path: $PWD
https://github.com/grepjava/aviancore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_load.c:11:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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_load.c:39:15: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
39 | void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE,
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_load.c:39:33: error: use of undeclared identifier 'PROT_READ'
39 | void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE,
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_load.c:39:45: error: use of undeclared identifier 'PROT_WRITE'
39 | void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE,
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_load.c:40:20: error: use of undeclared identifier 'MAP_SHARED'
40 | MAP_SHARED | MAP_ANONYMOUS, -1, 0);
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_load.c:40:33: error: use of undeclared identifier 'MAP_ANONYMOUS'
40 | MAP_SHARED | MAP_ANONYMOUS, -1, 0);
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_load.c:41:14: error: use of undeclared identifier 'MAP_FAILED'
41 | if (p == MAP_FAILED) return -1;
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_load.c:63:45: 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]
63 | atomic_store_explicit(&s->pid, (int32_t)getpid(), memory_order_relaxed);
| ^
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/unistd.h:155:16: note: 'getpid' has been explicitly marked deprecated here
155 | __attribute__((__deprecated__(
| ^
1 warning and 7 errors generated.
[0/417] Compiling CAvian avian_load.c
[0/417] Compiling CAvian avian_watch.c
[0/417] Compiling CAvian avian_crypto.c
[0/417] Compiling a_object.cc
[0/417] Compiling CAvian avian_tls.c
/host/spi-builder-workspace/Sources/CAvian/avian_udp.c:17:10: fatal error: 'netdb.h' file not found
17 | #include <netdb.h>
| ^~~~~~~~~
[0/417] Compiling CAvian avian_udp.c
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_extra.c:19:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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, \
| ^
/host/spi-builder-workspace/Sources/CAvian/avian_extra.c:24:10: fatal error: 'sys/wait.h' file not found
24 | #include <sys/wait.h>
| ^~~~~~~~~~~~
[0/417] Compiling CAvian avian_extra.c
/host/spi-builder-workspace/Sources/CAvian/avian_sys.c:7:10: fatal error: 'netdb.h' file not found
7 | #include <netdb.h>
| ^~~~~~~~~
[0/417] Compiling CAvian avian_sys.c
BUILD FAILURE 6.2 wasm