Build Information
Failed to build olleh, reference main (5b7d63), with Swift 6.2 for Wasm on 29 Oct 2026 01:25:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/olleh.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/mattt/olleh
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5b7d63c Add version endpoint (#23)
Cloned https://github.com/mattt/olleh.git
Revision (git rev-parse @):
5b7d63cd21ead06fe34847e45fcfe5f31a08e9c5
SUCCESS checkout https://github.com/mattt/olleh.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mattt/olleh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/hummingbird-project/hummingbird
Fetching https://github.com/mattt/ollama-swift
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattt/bestline-swift
[1/788] Fetching ollama-swift
[569/821] Fetching ollama-swift, bestline-swift
Fetched https://github.com/mattt/bestline-swift from cache (0.41s)
[1/7672] Fetching swift-dependencies
[7673/36671] Fetching swift-dependencies, hummingbird
[11733/55984] Fetching swift-dependencies, hummingbird, swift-argument-parser
Fetched https://github.com/mattt/ollama-swift from cache (0.55s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.55s)
[5800/48312] Fetching hummingbird, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Fetched https://github.com/hummingbird-project/hummingbird from cache (1.03s)
Computing version for https://github.com/mattt/bestline-swift
Computed https://github.com/mattt/bestline-swift at 1.0.0 (1.17s)
Computing version for https://github.com/mattt/ollama-swift
Computed https://github.com/mattt/ollama-swift at 1.9.0 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.18s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.17.1 (0.18s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/combine-schedulers
[1/1118] Fetching swift-concurrency-extras
[236/2828] Fetching swift-concurrency-extras, swift-clocks
[254/5518] Fetching swift-concurrency-extras, swift-clocks, combine-schedulers
[5519/8245] Fetching swift-concurrency-extras, swift-clocks, combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.93s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.93s)
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.94s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.94s)
[1/81292] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.04s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.13.1 (5.00s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.1.1 (0.15s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.2.2 (0.17s)
Fetching https://github.com/OpenCombine/OpenCombine.git
[1/8306] Fetching opencombine
Fetched https://github.com/OpenCombine/OpenCombine.git from cache (0.66s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.14.0 (1.61s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.27s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.4.3 (0.15s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.28.0 (0.20s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-metrics.git
[1/2886] Fetching swift-service-lifecycle
[2/9583] Fetching swift-service-lifecycle, swift-distributed-tracing
[118/13198] Fetching swift-service-lifecycle, swift-distributed-tracing, swift-metrics
[386/19908] Fetching swift-service-lifecycle, swift-distributed-tracing, swift-metrics, swift-nio-extras
Fetched https://github.com/apple/swift-metrics.git from cache (0.53s)
Fetching https://github.com/apple/swift-configuration.git
[1/16517] Fetching async-http-client
[16518/20691] Fetching async-http-client, swift-configuration
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.00s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.01s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.01s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/swift-server/async-http-client.git from cache (1.01s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-configuration.git from cache (0.49s)
Fetching https://github.com/apple/swift-atomics.git
[1/1961] Fetching swift-http-types
[1962/3854] Fetching swift-http-types, swift-atomics
[2019/20748] Fetching swift-http-types, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-http-types.git from cache (0.44s)
[1113/18787] Fetching swift-atomics, swift-nio-ssl
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.53s)
[1521/16894] Fetching swift-nio-ssl
Fetching https://github.com/apple/swift-collections.git
[2536/29213] Fetching swift-nio-ssl, swift-nio-http2
[28032/37594] Fetching swift-nio-ssl, swift-nio-http2, swift-log
[37595/124281] Fetching swift-nio-ssl, swift-nio-http2, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.57s)
Fetching https://github.com/apple/swift-async-algorithms.git
[31814/115900] Fetching swift-nio-ssl, swift-nio-http2, swift-nio
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.09s)
[22963/103581] Fetching swift-nio-ssl, swift-nio
[26431/132943] Fetching swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.31s)
[40520/116049] Fetching swift-nio, swift-collections
[66108/122874] Fetching swift-nio, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.55s)
[84521/116049] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.32s)
[67616/86687] Fetching swift-nio
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-nio.git from cache (3.49s)
[1/2867] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.42s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (5.05s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.18s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.14s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.25s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/2051] Fetching swift-asn1
[330/3335] Fetching swift-asn1, swift-http-structured-headers
[3336/9494] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[8017/17101] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.60s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.60s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.61s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.78s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.58s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.75s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.34s)
Fetching https://github.com/apple/swift-system.git
[1/7394] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.72s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.93s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.15s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.19s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.16s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.17s)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.41s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.56s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.27s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (1.46s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.3 (0.50s)
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.14.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.3
Creating working copy for https://github.com/mattt/bestline-swift
Working copy of https://github.com/mattt/bestline-swift resolved at 1.0.0
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.28.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/mattt/ollama-swift
Working copy of https://github.com/mattt/ollama-swift resolved at 1.9.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.13.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.4.0
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.17.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Tracing/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/ServiceContextModule/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/CMakeLists.txt
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/111] Compiling CNIOWASI CNIOWASI.c
[2/111] Write sources
[7/111] Compiling CNIOWindows WSAStartup.c
[8/111] Compiling CNIOPosix event_loop_id.c
[8/111] Compiling _AtomicsShims.c
[10/111] Write sources
[45/111] Compiling CNIOWindows shim.c
[46/111] Compiling CSystem shims.c
[47/111] Compiling CNIOLinux shim.c
[48/111] Compiling _CWASI _CWASI.c
[48/111] Compiling CNIOLinux liburing_shims.c
[50/111] Compiling CNIOLLHTTP c_nio_http.c
[51/111] Write swift-version-24593BA9C3E375BF.txt
[52/111] Compiling CNIOOpenBSD shim.c
[53/111] Compiling CNIOFreeBSD shim.c
[54/111] Compiling CNIODarwin shim.c
[55/111] Compiling CNIOLLHTTP c_nio_api.c
In file included from /host/spi-builder-workspace/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:145:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/setjmp.h:13:2: error: Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
13 | #error Setjmp/longjmp support requires Exception handling support, which is [not yet standardized](https://github.com/WebAssembly/proposals?tab=readme-ov-file#phase-3---implementation-phase-cg--wg). To enable it, compile with `-mllvm -wasm-enable-sjlj` and use an engine that implements the Exception handling proposal.
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:146:
/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, \
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:151:
/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/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:155:10: fatal error: 'termios.h' file not found
155 | #include <termios.h>
| ^~~~~~~~~~~
4 errors generated.
[56/117] Compiling CBestline bestline.c
[56/117] Compiling c-nioatomics.c
[56/117] Compiling c-atomics.c
[56/117] Compiling CNIOLLHTTP c_nio_llhttp.c
BUILD FAILURE 6.2 wasm