The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

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.3
Building package at path:  $PWD
https://github.com/grepjava/aviancore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_metrics.c:11:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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_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 errors generated.
[0/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-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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_crypto.c
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_cache.c:7:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_cache.c:11:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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_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-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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__(
      |                ^
/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);
      |               ^
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:195:33: error: use of undeclared identifier 'PROT_READ'
  195 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
      |                                 ^~~~~~~~~
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:195:45: error: use of undeclared identifier 'PROT_WRITE'
  195 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
      |                                             ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:195:57: error: use of undeclared identifier 'MAP_SHARED'
  195 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
      |                                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:195:70: error: use of undeclared identifier 'MAP_ANONYMOUS'
  195 |     void *p = mmap(NULL, bytes, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANONYMOUS, -1, 0);
      |                                                                      ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:196:14: error: use of undeclared identifier 'MAP_FAILED'
  196 |     if (p == MAP_FAILED) return -1;
      |              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CAvian/avian_cache.c:211:83: 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]
  211 |         seed = mix((uint64_t)ts.tv_nsec ^ ((uint64_t)ts.tv_sec << 32) ^ (uint64_t)getpid());
      |                                                                                   ^
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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__(
      |                ^
[0/417] Compiling CAvian avian_cache.c
[0/417] Compiling CAvian avian_compress.c
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_extra.c:19:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_bus.c:9:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CAvian/avian_bus.c:13:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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, \
      |  ^
[0/417] Compiling CAvian avian_bus.c
[0/417] Compiling pair.cc
BUILD FAILURE 6.3 wasm