Build Information
Failed to build AIChatKitLlama, reference 1.0.3 (0801dd), with Swift 6.2 for Wasm on 30 Sep 2026 14:39:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Reference: 1.0.3
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/NerdSnipe-Inc/AIChatKitLlama
* tag 1.0.3 -> FETCH_HEAD
HEAD is now at 0801dd4 Release 1.0.3: accept AIChatKit 2.x; pin llama.swift to 2.9469.x (newer builds change the sampler API)
Cloned https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Revision (git rev-parse @):
0801dd4499a2996d352afdc58eaaacf34835d704
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKitLlama.git at 1.0.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/mattt/llama.swift
Fetching https://github.com/NerdSnipe-Inc/AIChatKit.git
[1/7528] Fetching llama.swift
[5873/7821] Fetching llama.swift, aichatkit
Fetched https://github.com/NerdSnipe-Inc/AIChatKit.git from cache (0.79s)
Fetched https://github.com/mattt/llama.swift from cache (0.80s)
Computing version for https://github.com/mattt/llama.swift
Computed https://github.com/mattt/llama.swift at 2.9469.0 (0.98s)
Computing version for https://github.com/NerdSnipe-Inc/AIChatKit.git
Computed https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0 (0.15s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
Fetching https://github.com/JohnSundell/Splash.git
[1/8522] Fetching swift-markdown-ui
[428/8745] Fetching swift-markdown-ui, swift-json-schema
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (1.25s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (1.27s)
[1/2180] Fetching splash
Fetched https://github.com/JohnSundell/Splash.git from cache (1.56s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (1.74s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 2.0.1 (0.13s)
Computing version for https://github.com/gonzalezreal/swift-markdown-ui.git
Computed https://github.com/gonzalezreal/swift-markdown-ui.git at 2.4.1 (0.16s)
Fetching https://github.com/gonzalezreal/NetworkImage
Fetching https://github.com/swiftlang/swift-cmark
[1/1072] Fetching networkimage
[527/19675] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage from cache (1.39s)
Fetched https://github.com/swiftlang/swift-cmark from cache (1.39s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (1.54s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.16s)
Creating working copy for https://github.com/gonzalezreal/swift-markdown-ui.git
Working copy of https://github.com/gonzalezreal/swift-markdown-ui.git resolved at 2.4.1
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.9.0
Creating working copy for https://github.com/mattt/llama.swift
Working copy of https://github.com/mattt/llama.swift resolved at 2.9469.0
Creating working copy for https://github.com/NerdSnipe-Inc/AIChatKit.git
Working copy of https://github.com/NerdSnipe-Inc/AIChatKit.git resolved at 2.0.0
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 2.0.1
Creating working copy for https://github.com/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip
[829/199598168] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip (13.43s)
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/16] Emitting module LlamaSwift
/host/spi-builder-workspace/.build/checkouts/llama.swift/Sources/LlamaSwift/Llama.swift:1:35: error: no such module 'llama'
1 | @_exported @preconcurrency import llama
| `- error: no such module 'llama'
2 |
[7/16] Compiling LlamaSwift Llama.swift
/host/spi-builder-workspace/.build/checkouts/llama.swift/Sources/LlamaSwift/Llama.swift:1:35: error: no such module 'llama'
1 | @_exported @preconcurrency import llama
| `- error: no such module 'llama'
2 |
BUILD FAILURE 6.2 wasm