Build Information
Failed to build olleh, reference 1.1.0 (f90e19
), with Swift 6.2 (beta) for Wasm on 28 Jul 2025 10:40:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/olleh.git
Reference: 1.1.0
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
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at f90e19e Add support for loading Foundation Models adapter (#18)
Cloned https://github.com/mattt/olleh.git
Revision (git rev-parse @):
f90e19e7cbeb7aa200485f32630123b481585493
SUCCESS checkout https://github.com/mattt/olleh.git at 1.1.0
========================================
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/loopwork/ollama-swift
[1/735] Fetching ollama-swift
Fetched https://github.com/loopwork/ollama-swift from cache (0.39s)
[1/15579] Fetching swift-argument-parser
Fetching https://github.com/hummingbird-project/hummingbird
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/loopwork/bestline-swift
Fetched https://github.com/apple/swift-argument-parser from cache (1.33s)
[1/33] Fetching bestline-swift
[34/6324] Fetching bestline-swift, swift-dependencies
[1041/31117] Fetching bestline-swift, swift-dependencies, hummingbird
Fetched https://github.com/loopwork/bestline-swift from cache (0.54s)
[2258/31084] Fetching swift-dependencies, hummingbird
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.91s)
[5455/24793] Fetching hummingbird
Fetched https://github.com/hummingbird-project/hummingbird from cache (1.89s)
Computing version for https://github.com/loopwork/bestline-swift
Computed https://github.com/loopwork/bestline-swift at 1.0.0 (3.92s)
Computing version for https://github.com/loopwork/ollama-swift
Computed https://github.com/loopwork/ollama-swift at 1.8.0 (0.73s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (0.66s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/1292] Fetching swift-clocks
[221/2160] Fetching swift-clocks, swift-concurrency-extras
[1202/4570] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers
[3873/10052] Fetching swift-clocks, swift-concurrency-extras, combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.54s)
[4306/9184] Fetching swift-clocks, combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.56s)
[3068/7892] Fetching combine-schedulers, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.64s)
[2138/5482] Fetching xctest-dynamic-overlay
[3126/76847] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.41s)
[12846/71365] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.95s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (8.64s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.55s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.48s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (0.62s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (4.17s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.15.0 (0.78s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2426] Fetching swift-service-lifecycle
[2427/5120] Fetching swift-service-lifecycle, swift-nio-transport-services
[5121/16774] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2
[5471/30807] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, async-http-client
[7293/45785] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/swift-server/async-http-client.git from cache (1.93s)
[26960/31752] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio.git
[27709/37868] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio-extras
[37121/114821] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio-extras, swift-nio
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.17s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[34061/108705] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
[36371/113749] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.82s)
[47143/108705] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-metrics.git
[58687/110917] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, swift-nio-ssl, swift-nio, swift-metrics
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (4.58s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (4.59s)
Fetched https://github.com/apple/swift-metrics.git from cache (0.64s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (4.61s)
[45760/91931] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.63s)
Fetching https://github.com/apple/swift-async-algorithms.git
[31551/76953] Fetching swift-nio
[41556/78761] Fetching swift-nio, swift-atomics
[41701/79665] Fetching swift-nio, swift-atomics, swift-http-types
[42054/83532] Fetching swift-nio, swift-atomics, swift-http-types, swift-log
[43488/100433] Fetching swift-nio, swift-atomics, swift-http-types, swift-log, swift-collections
[45387/105423] Fetching swift-nio, swift-atomics, swift-http-types, swift-log, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.84s)
[56633/104519] Fetching swift-nio, swift-atomics, swift-log, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.90s)
[67094/99529] Fetching swift-nio, swift-atomics, swift-log, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.73s)
[76175/97721] Fetching swift-nio, swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (3.80s)
Fetched https://github.com/apple/swift-collections.git from cache (3.89s)
Fetched https://github.com/apple/swift-nio.git from cache (10.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (13.38s)
Fetching https://github.com/apple/swift-system.git
[1/4676] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.41s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.96s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.71s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.0 (0.54s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.71s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.50s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.22s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.0 (0.72s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.04s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.84s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.12s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
[745/8033] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.58s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-certificates.git from cache (0.77s)
[1/1169] Fetching swift-http-structured-headers
[352/7128] Fetching swift-http-structured-headers, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.70s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.70s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (2.41s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.75s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.87s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.66s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.51s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (1.00s)
Fetching https://github.com/apple/swift-crypto.git
[1/15861] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.42s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (3.07s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.82s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.2 (1.86s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.89s)
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.11.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.7.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.85.0
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.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.2.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.13.2
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
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.0.4
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.15.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.6.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.33.0
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
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.38.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.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.0
Creating working copy for https://github.com/loopwork/bestline-swift
Working copy of https://github.com/loopwork/bestline-swift resolved at 1.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.25.0
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.2.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/loopwork/ollama-swift
Working copy of https://github.com/loopwork/ollama-swift resolved at 1.8.0
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.26.1
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.29.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.3.0
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.2.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/109] Write sources
[41/109] Compiling CNIOWindows WSAStartup.c
[42/109] Compiling CNIODarwin shim.c
[43/109] Compiling CNIOWindows shim.c
[44/109] Compiling CNIOWASI CNIOWASI.c
[45/109] Compiling _AtomicsShims.c
[46/109] Compiling CNIOLinux liburing_shims.c
[47/109] Compiling CNIOPosix event_loop_id.c
[48/109] Compiling CNIOLinux shim.c
[48/109] Write sources
[55/109] Write swift-version-24593BA9C3E375BF.txt
[56/109] Compiling CNIOLLHTTP c_nio_http.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-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/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-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:151:
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:155:10: fatal error: 'termios.h' file not found
155 | #include <termios.h>
| ^~~~~~~~~~~
4 errors generated.
[57/115] Compiling CBestline bestline.c
[57/116] Compiling c-nioatomics.c
[57/116] Compiling c-atomics.c
[57/116] Compiling CNIOLLHTTP c_nio_llhttp.c
[57/116] Compiling CNIOLLHTTP c_nio_api.c
BUILD FAILURE 6.2 wasm