The Swift Package Index logo.Swift Package Index

Build Information

Failed to build aviancore, reference 0.7.3 (d7a4ef), with Swift 6.1 for Wasm on 13 Oct 2026 03:02:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grepjava/aviancore.git
Reference: 0.7.3
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
 * tag               0.7.3      -> FETCH_HEAD
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 0.7.3
========================================
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-54344847-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...
[0/417] Compiling CAvian avian_crypto.c
/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.
[1/417] Compiling CAvian avian_compress.c
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_metrics.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_metrics.c:40:15: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   40 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE,
      |               ^
/host/spi-builder-workspace/Sources/CAvian/avian_metrics.c:40:33: error: use of undeclared identifier 'PROT_READ'
   40 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE,
      |                                 ^
/host/spi-builder-workspace/Sources/CAvian/avian_metrics.c:40:45: error: use of undeclared identifier 'PROT_WRITE'
   40 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE,
      |                                             ^
/host/spi-builder-workspace/Sources/CAvian/avian_metrics.c:41:20: error: use of undeclared identifier 'MAP_SHARED'
   41 |                    MAP_SHARED | MAP_ANONYMOUS, -1, 0);
      |                    ^
/host/spi-builder-workspace/Sources/CAvian/avian_metrics.c:41:33: error: use of undeclared identifier 'MAP_ANONYMOUS'
   41 |                    MAP_SHARED | MAP_ANONYMOUS, -1, 0);
      |                                 ^
/host/spi-builder-workspace/Sources/CAvian/avian_metrics.c:42:14: error: use of undeclared identifier 'MAP_FAILED'
   42 |     if (p == MAP_FAILED) return -1;
      |              ^
7 error[1/417] Compiling CAvian avian_extra.c
[1/417] Compiling CAvian avian_metrics.c
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_load.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"
[1/417] Compiling CAvian avian_load.c
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, \
      |  ^
[1/417] Compiling CAvian avian_cache.c
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_ratelimit.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_ratelimit.c:63:15: error: call to undeclared function 'mmap'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   63 |     void *p = mmap(NULL, count * sizeof(struct av_rl_entry), PROT_READ | PROT_WRITE,
      |               ^
[1/417] Compiling CAvian avian_ratelimit.c
/host/spi-builder-workspace/Sources/CAvian/avian_sys.c:7:10: fatal error: 'netdb.h' file not found
    7 | #include <netdb.h>
      |          ^~~~~~~~~
[1/417] Compiling CAvian avian_sys.c
[1/417] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/416] Write sources
[3/416] Compiling fiat_curve25519_adx_square.S
[3/416] Compiling fiat_p256_adx_sqr.S
[5/416] Compiling fiat_curve25519_adx_mul.S
[6/416] Compiling fiat_p256_adx_mul.S
[7/416] Write swift-version-24593BA9C3E375BF.txt
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>
      |          ^~~~~~~~~~~
1 error generated.
[8/416] Compiling tls_method.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>
      |          ^~~~~~~~~~~
1 error generated.
[8/416] 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>
      |          ^~~~~~~~~~~
1 error generated.
[8/416] Compiling tls13_both.cc
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.
[8/416] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[8/416] Compiling tls_record.cc
[8/416] Compiling ssl_x509.cc
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>
      |          ^~~~~~~~~~~
[8/416] Compiling t1_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>
      |          ^~~~~~~~~~~
[8/416] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm