The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LocalLLMClient, reference 0.5.0 (edc39e), with Swift 6.2 for Wasm on 25 Apr 2026 11:27:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 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.2
Building package at path:  $PWD
https://github.com/tattn/LocalLLMClient.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/huggingface/swift-jinja
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser.git
[1/1051] Fetching swift-jinja
[811/18515] Fetching swift-jinja, swift-argument-parser
[9959/93553] Fetching swift-jinja, swift-argument-parser, swift-syntax
Fetched https://github.com/huggingface/swift-jinja from cache (0.94s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.95s)
[10506/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (10.48s)
Computing version for https://github.com/huggingface/swift-jinja
Computed https://github.com/huggingface/swift-jinja at 2.3.5 (11.21s)
Fetching https://github.com/apple/swift-collections.git
[1/23680] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.68s)
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.19s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.69s)
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
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.62s)
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/144] Compiling build-info.cpp
[2/144] Write sources
[3/144] Copying json.gbnf
[3/144] Write sources
[8/144] Compiling build-info.cpp
[9/144] Compiling LocalLLMClientLlamaC utils.cpp
[10/144] Compiling LocalLLMClientLlamaC mtmd.cpp
[11/144] Compiling LocalLLMClientLlamaC clip.cpp
[12/144] Compiling common.cpp
[13/144] Compiling LocalLLMClientLlamaC mtmd-image.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.
[14/144] Compiling LocalLLMClientLlamaC mtmd-audio.cpp
[14/144] Compiling whisper-enc.cpp
[14/144] Compiling chat-auto-parser-generator.cpp
[14/144] Compiling LocalLLMClientLlamaC mtmd-helper.cpp
[14/144] Compiling chat-auto-parser-generator.cpp
[14/144] Compiling youtuvl.cpp
[14/144] Compiling chat-peg-parser.cpp
[14/144] Compiling chat.cpp
BUILD FAILURE 6.2 wasm