The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LocalLLMClient, reference 0.5.0 (edc39e), with Swift 6.1 for Wasm on 25 Apr 2026 11:28:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tattn/LocalLLMClient.git
Reference: 0.5.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/tattn/LocalLLMClient
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at edc39ef Update tested models to include Gemma 4
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 @):
edc39ef2ffc1cef9cf856b0788de8d331f776c2e
SUCCESS checkout https://github.com/tattn/LocalLLMClient.git at 0.5.0
========================================
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-2":/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/swiftlang/swift-syntax
Fetching https://github.com/huggingface/swift-jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/1051] Fetching swift-jinja
[790/18515] Fetching swift-jinja, swift-argument-parser
[16760/93553] Fetching swift-jinja, swift-argument-parser, swift-syntax
[13048/76089] Fetching swift-jinja, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.01s)
Fetched https://github.com/huggingface/swift-jinja from cache (8.48s)
Fetched https://github.com/swiftlang/swift-syntax from cache (8.54s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.3.5 (9.18s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (2.16s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.32s)
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
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/173] Write sources
[16/173] Copying json.gbnf
[17/173] Write sources
[21/173] Compiling build-info.cpp
[22/173] Compiling _SwiftSyntaxCShims dummy.c
[23/173] Compiling LocalLLMClientLlamaC mtmd-image.cpp
[24/173] Compiling LocalLLMClientLlamaC mtmd.cpp
[25/173] Compiling LocalLLMClientLlamaC utils.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.
[26/173] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[26/173] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[26/173] Compiling common.cpp
[26/173] Compiling chat-auto-parser-generator.cpp
[26/173] Compiling chat-peg-parser.cpp
[26/173] Compiling youtuvl.cpp
[26/173] Compiling json-partial.cpp
[26/173] Compiling chat.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/148] Write sources
[1/148] Copying json.gbnf
[1/148] Write sources
[5/148] Compiling youtuvl.cpp
[6/148] Compiling qwen3a.cpp
[7/148] Compiling step3vl.cpp
[8/148] Compiling whisper-enc.cpp
[9/148] Compiling qwen3vl.cpp
[10/148] Compiling siglip.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.
[11/148] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[11/148] Compiling pixtral.cpp
[11/148] Compiling qwen2vl.cpp
[11/148] Compiling mobilenetv5.cpp
[11/148] Compiling minicpmv.cpp
[11/148] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[11/148] Compiling nemotron-v2-vl.cpp
[11/148] Compiling paddleocr.cpp
BUILD FAILURE 6.1 wasm