Build Information
Failed to build LocalLLMClient, reference main (cd971f), with Swift 6.1 for Wasm on 29 Apr 2026 05:49:25 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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.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/tattn/LocalLLMClient
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd971ff Fix typo
Submodule path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp': checked out 'e365e658f07b63371489570dfde597f199b26c23'
Submodule 'Sources/LlamaClientExperimentalC/exclude/llama.cpp' (https://github.com/ggml-org/llama.cpp.git) registered for path 'Sources/LocalLLMClientLlamaC/exclude/llama.cpp'
Cloning into '/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/exclude/llama.cpp'...
Cloned https://github.com/tattn/LocalLLMClient.git
Revision (git rev-parse @):
cd971ffd777525b48b105acd96a84675fd9a3336
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tattn/LocalLLMClient.git
https://github.com/tattn/LocalLLMClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/huggingface/swift-jinja
[1/1051] Fetching swift-jinja
[947/18537] Fetching swift-jinja, swift-argument-parser
[12069/93576] Fetching swift-jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.22s)
[13808/76090] Fetching swift-jinja, swift-syntax
Fetched https://github.com/huggingface/swift-jinja from cache (13.35s)
Fetched https://github.com/swiftlang/swift-syntax from cache (13.50s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.3.5 (14.74s)
Fetching https://github.com/apple/swift-collections.git
[1/23800] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.74s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (3.83s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (4.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.70s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/huggingface/swift-jinja
Working copy of https://github.com/huggingface/swift-jinja resolved at 2.3.5
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/173] Compiling build-info.cpp
[2/173] Compiling _SwiftSyntaxCShims dummy.c
[2/173] Write sources
[18/173] Copying json.gbnf
[18/173] Write sources
[23/173] Compiling log.cpp
[24/173] Compiling LocalLLMClientLlamaC mtmd.cpp
[25/173] Compiling LocalLLMClientLlamaC utils.cpp
[26/173] Compiling LocalLLMClientLlamaC clip.cpp
[27/173] Compiling common.cpp
[28/173] Compiling LocalLLMClientLlamaC mtmd-image.cpp
[29/173] Compiling chat-auto-parser-generator.cpp
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-audio.cpp:15:16: error: expected unqualified-id
15 | constexpr bool DEBUG = false;
| ^
<command line>:2:15: note: expanded from macro 'DEBUG'
2 | #define DEBUG 1
| ^
1 error generated.
[31/173] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[31/173] Compiling whisper-enc.cpp
[31/173] Compiling step3vl.cpp
[31/173] Compiling youtuvl.cpp
[31/173] Compiling siglip.cpp
[31/173] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[31/173] Compiling json-schema-to-grammar.cpp
[31/173] Compiling json-partial.cpp
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/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/143] Write sources
[1/143] Copying json.gbnf
[1/143] Write sources
[19/143] Compiling qwen3vl.cpp
[20/143] Compiling siglip.cpp
[21/143] Compiling qwen3a.cpp
[22/143] Compiling youtuvl.cpp
/host/spi-builder-workspace/Sources/LocalLLMClientLlamaC/mtmd-audio.cpp:15:16: error: expected unqualified-id
15 | constexpr bool DEBUG = false;
| ^
<command line>:2:15: note: expanded from macro 'DEBUG'
2 | #define DEBUG 1
| ^
1 error generated.
[23/143] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[23/143] Compiling paddleocr.cpp
[23/143] Compiling nemotron-v2-vl.cpp
[23/143] Compiling pixtral.cpp
[23/143] Compiling qwen2vl.cpp
[23/143] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[23/143] Compiling whisper-enc.cpp
[23/143] Compiling step3vl.cpp
BUILD FAILURE 6.1 wasm