Build Information
Failed to build fishhook, reference 1.2.3 (adc337), with Swift 6.2 for Wasm on 13 Oct 2026 07:00:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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/johnno1962/fishhook.git
Reference: 1.2.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/johnno1962/fishhook
* tag 1.2.3 -> FETCH_HEAD
HEAD is now at adc337e Refinement.
Cloned https://github.com/johnno1962/fishhook.git
Revision (git rev-parse @):
adc337e921bd1ce6ed2e298156a1316cc2f0bd96
SUCCESS checkout https://github.com/johnno1962/fishhook.git at 1.2.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/johnno1962/fishhook.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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/fishhookD/fishhook.c:31:
/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, \
| ^
In file included from /host/spi-builder-workspace/Sources/fishhookD/fishhook.c:33:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:1:2: warning: redirecting incorrect #include <sys/errno.h> to <errno.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
| ^
/host/spi-builder-workspace/Sources/fishhookD/fishhook.c:34:10: fatal error: 'mach/mach.h' file not found
34 | #include <mach/mach.h>
| ^~~~~~~~~~~~~
1 warning and 2 errors generated.
[0/2] Compiling fishhookD fishhook.c
In file included from /host/spi-builder-workspace/Sources/fishhook/fishhook.c:31:
/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, \
| ^
In file included from /host/spi-builder-workspace/Sources/fishhook/fishhook.c:33:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:1:2: warning: redirecting incorrect #include <sys/errno.h> to <errno.h> [-W#warnings]
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
| ^
/host/spi-builder-workspace/Sources/fishhook/fishhook.c:34:10: fatal error: 'mach/mach.h' file not found
34 | #include <mach/mach.h>
| ^~~~~~~~~~~~~
1 warning and 2 errors generated.
[0/2] Compiling fishhook fishhook.c
BUILD FAILURE 6.2 wasm