The Swift Package Index logo.Swift Package Index

Build Information

Failed to build olleh, reference 1.1.1 (35e941), with Swift 6.2 for Wasm on 27 Sep 2025 02:52:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/olleh.git
Reference: 1.1.1
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.1      -> FETCH_HEAD
HEAD is now at 35e941d Update FoundationModels usage for macOS 26 GM APIs
Cloned https://github.com/mattt/olleh.git
Revision (git rev-parse @):
35e941dae9562a75833f25cfe6db37f81549a136
SUCCESS checkout https://github.com/mattt/olleh.git at 1.1.1
========================================
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/hummingbird-project/hummingbird
Fetching https://github.com/mattt/ollama-swift
Fetching https://github.com/mattt/bestline-swift
Fetching https://github.com/pointfreeco/swift-dependencies
[1/735] Fetching ollama-swift
[736/7105] Fetching ollama-swift, swift-dependencies
[1437/7138] Fetching ollama-swift, swift-dependencies, bestline-swift
[7139/23532] Fetching ollama-swift, swift-dependencies, bestline-swift, swift-argument-parser
[7467/48387] Fetching ollama-swift, swift-dependencies, bestline-swift, swift-argument-parser, hummingbird
Fetched https://github.com/mattt/bestline-swift from cache (0.33s)
Fetched https://github.com/mattt/ollama-swift from cache (0.33s)
[10655/47619] Fetching swift-dependencies, swift-argument-parser, hummingbird
Fetched https://github.com/pointfreeco/swift-dependencies from cache (0.33s)
[4449/41249] Fetching swift-argument-parser, hummingbird
Fetched https://github.com/apple/swift-argument-parser from cache (0.64s)
Fetched https://github.com/hummingbird-project/hummingbird from cache (0.90s)
Computing version for https://github.com/mattt/bestline-swift
Computed https://github.com/mattt/bestline-swift at 1.0.0 (1.16s)
Computing version for https://github.com/mattt/ollama-swift
Computed https://github.com/mattt/ollama-swift at 1.8.0 (0.25s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.10.0 (0.28s)
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
[1/878] Fetching swift-concurrency-extras
[879/3295] Fetching swift-concurrency-extras, combine-schedulers
[1750/4587] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks
[4588/10096] Fetching swift-concurrency-extras, combine-schedulers, swift-clocks, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/combine-schedulers from cache (0.30s)
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.30s)
[1954/6801] Fetching swift-clocks, xctest-dynamic-overlay
[6802/79030] Fetching swift-clocks, xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.61s)
[10566/77738] Fetching xctest-dynamic-overlay, swift-syntax
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.62s)
[5779/72229] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.72s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (3.98s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.30s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.26s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.1 (0.25s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (1.81s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.16.0 (0.31s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.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-nio-transport-services.git
[1/6170] Fetching swift-nio-extras
[433/8675] Fetching swift-nio-extras, swift-service-lifecycle
[596/11446] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-transport-services
[10213/23129] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2
[14018/37445] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-transport-services, swift-nio-http2, async-http-client
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.38s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.38s)
[10030/32169] Fetching swift-nio-extras, swift-nio-http2, async-http-client
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio.git
[11552/47289] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl
[35346/52692] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.56s)
[41241/47289] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl
Fetching https://github.com/apple/swift-log.git
[42452/125863] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
[49919/129773] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.41s)
Fetching https://github.com/apple/swift-collections.git
[66933/125863] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio
[96792/143530] Fetching swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.84s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.84s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.85s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-metrics.git
[71220/111361] Fetching swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.88s)
Fetching https://github.com/apple/swift-async-algorithms.git
[56886/96241] Fetching swift-nio, swift-collections
[61639/97172] Fetching swift-nio, swift-collections, swift-http-types
[63630/99529] Fetching swift-nio, swift-collections, swift-http-types, swift-metrics
[63701/101343] Fetching swift-nio, swift-collections, swift-http-types, swift-metrics, swift-atomics
Fetched https://github.com/apple/swift-http-types.git from cache (0.31s)
[70736/100412] Fetching swift-nio, swift-collections, swift-metrics, swift-atomics
[70914/105867] Fetching swift-nio, swift-collections, swift-metrics, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-metrics.git from cache (0.33s)
[71712/103510] Fetching swift-nio, swift-collections, swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.40s)
[80129/101696] Fetching swift-nio, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.44s)
[77384/96241] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.26s)
[68360/78574] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.38s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (5.06s)
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.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.26s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (0.52s)
Fetching https://github.com/apple/swift-system.git
[1/5009] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.63s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.0 (0.27s)
Fetching https://github.com/apple/swift-service-context.git
[1/1117] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.23s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.49s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.32s)
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.1 (0.28s)
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.27s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.41s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.35s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1190] Fetching swift-http-structured-headers
[656/2835] Fetching swift-http-structured-headers, swift-asn1
[2425/8821] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[4692/15413] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.35s)
[12641/14223] Fetching swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.44s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.44s)
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 (0.71s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.32s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.30s)
Fetching https://github.com/apple/swift-numerics.git
[1/6369] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.71s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.29s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.14.0 (0.36s)
Fetching https://github.com/apple/swift-crypto.git
[1/17156] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.84s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (4.75s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.1 (0.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.99s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.38s)
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-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/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.2
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/mattt/ollama-swift
Working copy of https://github.com/mattt/ollama-swift resolved at 1.8.0
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.2
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
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-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-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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.1
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.3.0
Creating working copy for https://github.com/hummingbird-project/hummingbird
Working copy of https://github.com/hummingbird-project/hummingbird resolved at 2.16.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.1
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.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.14.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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
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.28.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/mattt/bestline-swift
Working copy of https://github.com/mattt/bestline-swift resolved at 1.0.0
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
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.3
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.10.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
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/110] Compiling CNIOLinux liburing_shims.c
[2/110] Write sources
[7/110] Compiling CNIODarwin shim.c
[8/110] Compiling _CWASI _CWASI.c
[8/110] Write sources
[44/110] Compiling CNIOLLHTTP c_nio_http.c
[45/110] Compiling _AtomicsShims.c
[46/110] Compiling CNIOWindows shim.c
[47/110] Compiling CNIOWindows WSAStartup.c
[48/110] Compiling CNIOLLHTTP c_nio_api.c
[49/110] Compiling CNIOWASI CNIOWASI.c
[50/110] Write sources
[56/110] Compiling CNIOPosix event_loop_id.c
[57/110] Compiling CNIOLinux shim.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.
[58/110] Compiling CBestline bestline.c
[58/110] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/110] Compiling c-atomics.c
[58/110] Compiling c-nioatomics.c
[58/110] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm