The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build olleh, reference main (345214), with Swift 6.1 for Wasm on 28 Jul 2025 10:25:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-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: 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 3452142 Transfer project from Loopwork (#19)
Cloned https://github.com/mattt/olleh.git
Revision (git rev-parse @):
345214232e66695e85dbeebb57954bece54b6f3f
SUCCESS checkout https://github.com/mattt/olleh.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mattt/olleh.git
https://github.com/mattt/olleh.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-dependencies
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/hummingbird-project/hummingbird
Fetching https://github.com/mattt/bestline-swift
Fetching https://github.com/mattt/ollama-swift
[1/735] Fetching ollama-swift
[597/768] Fetching ollama-swift, bestline-swift
[769/25561] Fetching ollama-swift, bestline-swift, hummingbird
[5232/31852] Fetching ollama-swift, bestline-swift, hummingbird, swift-dependencies
[10062/47431] Fetching ollama-swift, bestline-swift, hummingbird, swift-dependencies, swift-argument-parser
Fetched https://github.com/mattt/bestline-swift from cache (2.09s)
Fetched https://github.com/mattt/ollama-swift from cache (2.09s)
Fetched https://github.com/pointfreeco/swift-dependencies from cache (2.09s)
Fetched https://github.com/hummingbird-project/hummingbird from cache (2.12s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.12s)
Computing version for https://github.com/mattt/bestline-swift
Computed https://github.com/mattt/bestline-swift at 1.0.0 (2.99s)
Computing version for https://github.com/mattt/ollama-swift
Computed https://github.com/mattt/ollama-swift at 1.8.0 (1.07s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 1.9.2 (0.60s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/2410] Fetching combine-schedulers
[2411/3702] Fetching combine-schedulers, swift-clocks
[2567/4570] Fetching combine-schedulers, swift-clocks, swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.38s)
[1/71365] Fetching swift-syntax
[715/76847] Fetching swift-syntax, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-clocks from cache (1.40s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.41s)
[29974/71365] Fetching swift-syntax
Fetched https://github.com/pointfreeco/combine-schedulers from cache (4.38s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.43s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (5.47s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.16s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.6.0 (2.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (3.69s)
Computing version for https://github.com/hummingbird-project/hummingbird
Computed https://github.com/hummingbird-project/hummingbird at 2.15.0 (0.83s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2426] Fetching swift-service-lifecycle
[729/5120] Fetching swift-service-lifecycle, swift-nio-transport-services
[1209/11236] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-extras
[7017/22890] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[7563/36923] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, async-http-client
[18994/51901] Fetching swift-service-lifecycle, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, async-http-client, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.57s)
[40244/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.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (2.01s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.02s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
[1/76953] Fetching swift-nio
[4619/81997] Fetching swift-nio, swift-distributed-tracing
[5275/84209] Fetching swift-nio, swift-distributed-tracing, swift-metrics
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.88s)
Fetched https://github.com/swift-server/async-http-client.git from cache (2.89s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.91s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.89s)
[24283/81997] Fetching swift-nio, swift-distributed-tracing
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.01s)
[27704/76953] Fetching swift-nio
Fetching https://github.com/apple/swift-async-algorithms.git
[32322/77857] Fetching swift-nio, swift-http-types
[37073/81724] Fetching swift-nio, swift-http-types, swift-log
[41777/83532] Fetching swift-nio, swift-http-types, swift-log, swift-atomics
[46615/88522] Fetching swift-nio, swift-http-types, swift-log, swift-atomics, swift-async-algorithms
[49401/105423] Fetching swift-nio, swift-http-types, swift-log, swift-atomics, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-http-types.git from cache (1.05s)
[69661/104519] Fetching swift-nio, swift-log, swift-atomics, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.04s)
[65347/99529] Fetching swift-nio, swift-log, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.21s)
[62588/95662] Fetching swift-nio, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.17s)
[60949/93854] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.83s)
[61563/76953] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.85.0 (8.16s)
Fetching https://github.com/apple/swift-system.git
[1/4676] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.45s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.14s)
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.93s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (1.01s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (1.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.0 (0.97s)
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.91s)
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.42s)
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.27s)
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.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.92s)
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.77s)
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.17s)
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/1169] Fetching swift-http-structured-headers
[1170/2785] Fetching swift-http-structured-headers, swift-asn1
[2786/8744] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[2906/15161] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.36s)
[8398/12376] Fetching swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.50s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.53s)
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 (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.62s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.80s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.65s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.58s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.11.0 (0.91s)
Fetching https://github.com/apple/swift-crypto.git
[1/15861] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.17s)
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 (2.79s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.30s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (1.83s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.13.2 (2.29s)
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.70s)
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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
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/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/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/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/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-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-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-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-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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.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.26.1
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-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/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 1.9.2
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-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-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/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-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-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/ollama-swift
Working copy of https://github.com/mattt/ollama-swift resolved at 1.8.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/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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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/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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/109] Write sources
[41/109] Compiling CNIOWindows shim.c
[42/109] Compiling CNIOWindows WSAStartup.c
[43/109] Compiling CNIOWASI CNIOWASI.c
[44/109] Compiling CNIOLinux liburing_shims.c
[45/109] Compiling CNIOPosix event_loop_id.c
[46/109] Compiling CNIOLinux shim.c
[47/109] Compiling CNIOLLHTTP c_nio_http.c
[48/109] Compiling CNIODarwin shim.c
[49/109] Write sources
[55/109] Compiling CNIOLLHTTP c_nio_api.c
[56/109] Write swift-version-24593BA9C3E375BF.txt
[57/109] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:145:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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.
[58/109] Compiling CBestline bestline.c
[58/109] Compiling CNIOLLHTTP c_nio_llhttp.c
[58/109] Compiling c-atomics.c
[58/109] Compiling c-nioatomics.c
[59/120] Emitting module _NIOBase64
[60/120] Compiling _NIOBase64 Base64.swift
[61/121] Compiling Ollama Tool.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/122] Compiling Ollama Value.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/122] Compiling Ollama JSONDecoder+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/122] Compiling Ollama KeepAlive.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[66/122] Compiling Ollama Model.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[67/122] Compiling Ollama Chat.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:31: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                               `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
  38 |         host: URL,
  39 |         userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:58: error: cannot infer contextual base in reference to member 'default'
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                                                          `- error: cannot infer contextual base in reference to member 'default'
  38 |         host: URL,
  39 |         userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  26 |
  27 |     /// The underlying client session.
  28 |     private let session: URLSession
     |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  29 |
  30 |     /// Creates a client with the specified session, host, and user agent.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  38 |         host: URL,
  39 |         userAgent: String? = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:57:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  55 |
  56 |         /// An error returned by the Ollama HTTP API.
  57 |         case responseError(response: HTTPURLResponse, detail: String)
     |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  58 |
  59 |         /// An error encountered while decoding the response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:60:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  58 |
  59 |         /// An error encountered while decoding the response.
  60 |         case decodingError(response: HTTPURLResponse, detail: String)
     |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  61 |
  62 |         /// An unexpected error.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:57:14: error: associated value 'responseError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  55 |
  56 |         /// An error returned by the Ollama HTTP API.
  57 |         case responseError(response: HTTPURLResponse, detail: String)
     |              `- error: associated value 'responseError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  58 |
  59 |         /// An error encountered while decoding the response.
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:60:14: error: associated value 'decodingError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  58 |
  59 |         /// An error encountered while decoding the response.
  60 |         case decodingError(response: HTTPURLResponse, detail: String)
     |              `- error: associated value 'decodingError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  61 |
  62 |         /// An unexpected error.
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:206:17: error: cannot find type 'URLRequest' in scope
 204 |         _ path: String,
 205 |         params: [String: Value]? = nil
 206 |     ) throws -> URLRequest {
     |                 `- error: cannot find type 'URLRequest' in scope
 207 |         var urlComponents = URLComponents(url: host, resolvingAgainstBaseURL: true)
 208 |         urlComponents?.path = path
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 245 |     }
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
     |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 245 |     }
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
     |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:72:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  70 |                 return "Request error: \(detail)"
  71 |             case .responseError(let response, let detail):
  72 |                 return "Response error (Status \(response.statusCode)): \(detail)"
     |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  73 |             case .decodingError(let response, let detail):
  74 |                 return "Decoding error (Status \(response.statusCode)): \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:74:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  72 |                 return "Response error (Status \(response.statusCode)): \(detail)"
  73 |             case .decodingError(let response, let detail):
  74 |                 return "Decoding error (Status \(response.statusCode)): \(detail)"
     |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  75 |             case .unexpectedError(let detail):
  76 |                 return "Unexpected error: \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:97:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  95 |     ) async throws -> T {
  96 |         let request = try createRequest(method, path, params: params)
  97 |         let (data, response) = try await session.data(for: request)
     |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  98 |         let httpResponse = try validateResponse(response)
  99 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:231:22: error: cannot find type 'URLRequest' in scope
 229 |                 #"Unable to construct URL with host "\#(host)" and path "\#(path)""#)
 230 |         }
 231 |         var request: URLRequest = URLRequest(url: url)
     |                      `- error: cannot find type 'URLRequest' in scope
 232 |         request.httpMethod = method.rawValue
 233 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:248:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
     |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
 250 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
[68/122] Compiling Ollama Client.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:31: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                               `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
  38 |         host: URL,
  39 |         userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:58: error: cannot infer contextual base in reference to member 'default'
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                                                          `- error: cannot infer contextual base in reference to member 'default'
  38 |         host: URL,
  39 |         userAgent: String? = nil
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:28:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  26 |
  27 |     /// The underlying client session.
  28 |     private let session: URLSession
     |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  29 |
  30 |     /// Creates a client with the specified session, host, and user agent.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:37:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  35 |     ///   - userAgent: The value for the `User-Agent` header sent in requests, if any. Defaults to `nil`.
  36 |     public init(
  37 |         session: URLSession = URLSession(configuration: .default),
     |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  38 |         host: URL,
  39 |         userAgent: String? = nil
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:57:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  55 |
  56 |         /// An error returned by the Ollama HTTP API.
  57 |         case responseError(response: HTTPURLResponse, detail: String)
     |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  58 |
  59 |         /// An error encountered while decoding the response.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:60:38: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  58 |
  59 |         /// An error encountered while decoding the response.
  60 |         case decodingError(response: HTTPURLResponse, detail: String)
     |                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  61 |
  62 |         /// An unexpected error.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:57:14: error: associated value 'responseError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  55 |
  56 |         /// An error returned by the Ollama HTTP API.
  57 |         case responseError(response: HTTPURLResponse, detail: String)
     |              `- error: associated value 'responseError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  58 |
  59 |         /// An error encountered while decoding the response.
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:60:14: error: associated value 'decodingError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  58 |
  59 |         /// An error encountered while decoding the response.
  60 |         case decodingError(response: HTTPURLResponse, detail: String)
     |              `- error: associated value 'decodingError(response:detail:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'HTTPURLResponse' (aka 'AnyObject')
  61 |
  62 |         /// An unexpected error.
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:206:17: error: cannot find type 'URLRequest' in scope
 204 |         _ path: String,
 205 |         params: [String: Value]? = nil
 206 |     ) throws -> URLRequest {
     |                 `- error: cannot find type 'URLRequest' in scope
 207 |         var urlComponents = URLComponents(url: host, resolvingAgainstBaseURL: true)
 208 |         urlComponents?.path = path
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:47: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 245 |     }
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
     |                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:247:70: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 245 |     }
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
     |                                                                      `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:72:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  70 |                 return "Request error: \(detail)"
  71 |             case .responseError(let response, let detail):
  72 |                 return "Response error (Status \(response.statusCode)): \(detail)"
     |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  73 |             case .decodingError(let response, let detail):
  74 |                 return "Decoding error (Status \(response.statusCode)): \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:74:59: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  72 |                 return "Response error (Status \(response.statusCode)): \(detail)"
  73 |             case .decodingError(let response, let detail):
  74 |                 return "Decoding error (Status \(response.statusCode)): \(detail)"
     |                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
  75 |             case .unexpectedError(let detail):
  76 |                 return "Unexpected error: \(detail)"
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:97:50: error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  95 |     ) async throws -> T {
  96 |         let request = try createRequest(method, path, params: params)
  97 |         let (data, response) = try await session.data(for: request)
     |                                                  `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'data'
  98 |         let httpResponse = try validateResponse(response)
  99 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:231:22: error: cannot find type 'URLRequest' in scope
 229 |                 #"Unable to construct URL with host "\#(host)" and path "\#(path)""#)
 230 |         }
 231 |         var request: URLRequest = URLRequest(url: url)
     |                      `- error: cannot find type 'URLRequest' in scope
 232 |         request.httpMethod = method.rawValue
 233 |
/host/spi-builder-workspace/.build/checkouts/ollama-swift/Sources/Ollama/Client.swift:248:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 246 |
 247 |     private func validateResponse(_ response: URLResponse) throws -> HTTPURLResponse {
 248 |         guard let httpResponse = response as? HTTPURLResponse else {
     |                                               `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 249 |             throw Error.unexpectedError("Response is not HTTPURLResponse")
 250 |         }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/bestline-swift/Sources/CBestline/bestline.c:145:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/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.
[2/54] Write swift-version-24593BA9C3E375BF.txt
[2/54] Compiling CBestline bestline.c
[2/54] Compiling CNIOLLHTTP c_nio_llhttp.c
[2/54] Compiling c-atomics.c
[2/54] Compiling c-nioatomics.c
BUILD FAILURE 6.1 wasm