The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AIChatKitLlama, reference 1.0.3 (0801dd), with Swift 6.3 for Android on 30 Sep 2026 14:33:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NerdSnipe-Inc/AIChatKitLlama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/NerdSnipe-Inc/AIChatKit.git
Fetching https://github.com/mattt/llama.swift
[1/293] Fetching aichatkit
[294/7821] Fetching aichatkit, llama.swift
Fetched https://github.com/NerdSnipe-Inc/AIChatKit.git from cache (0.69s)
Fetched https://github.com/mattt/llama.swift from cache (0.69s)
Computing version for https://github.com/mattt/llama.swift
Computed https://github.com/mattt/llama.swift at 2.9469.0 (0.85s)
Computing version for https://github.com/NerdSnipe-Inc/AIChatKit.git
Computed https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0 (0.14s)
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
[1/2180] Fetching splash
[2181/2403] Fetching splash, swift-json-schema
[2404/10925] Fetching splash, swift-json-schema, swift-markdown-ui
Fetched https://github.com/kevinhermawan/swift-json-schema.git from cache (1.92s)
Fetched https://github.com/JohnSundell/Splash.git from cache (1.92s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git from cache (1.95s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (2.13s)
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.14s)
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.17s)
Fetching https://github.com/swiftlang/swift-cmark
Fetching https://github.com/gonzalezreal/NetworkImage
[1/1072] Fetching networkimage
[1073/19675] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage from cache (1.15s)
Fetched https://github.com/swiftlang/swift-cmark from cache (1.15s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (1.31s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.17s)
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/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/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/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
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/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b9469/llama-b9469-xcframework.zip
[1369/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 (18.20s)
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-272D24FF697CF451.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.3 android