Build Information
Failed to build swift-llama-cpp, reference main (605b79), with Swift 6.2 for Linux on 3 Apr 2026 01:07:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pgorzelany/swift-llama-cpp.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/pgorzelany/swift-llama-cpp
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 605b79c Bump llama version
Cloned https://github.com/pgorzelany/swift-llama-cpp.git
Revision (git rev-parse @):
605b79cc503dd79bf3aa259842596d42bcdedbe8
SUCCESS checkout https://github.com/pgorzelany/swift-llama-cpp.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/pgorzelany/swift-llama-cpp.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:b1b7512e70c869f4e6dfc045c9cfbcecd5568d004e044b9c2b5f35ddaecd218b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip
[893/175750717] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip (24.22s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Compiling SwiftLlama Llama.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[4/19] Compiling SwiftLlama LlamaBackend.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[5/19] Compiling SwiftLlama LlamaBatch.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[6/21] Compiling SwiftLlama LlamaMemory.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[7/21] Compiling SwiftLlama LlamaModel.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[8/21] Compiling SwiftLlama LlamaRepetitionPenaltyConfig.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[9/21] Compiling SwiftLlama LlamaSampler.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[10/21] Compiling SwiftLlama LlamaSamplingConfig.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[11/21] Compiling SwiftLlama LlamaService.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/21] Emitting module SwiftLlama
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[13/21] Compiling SwiftLlama LlamaLogger.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[14/21] Compiling SwiftLlama LlamaLoraAdapter.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[15/21] Compiling SwiftLlama LlamaError.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[16/21] Compiling SwiftLlama LlamaGrammarConfig.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[17/21] Compiling SwiftLlama LlamaChatMessage.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[18/21] Compiling SwiftLlama LlamaConfig.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[19/21] Compiling SwiftLlama LlamaContext.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[20/21] Compiling SwiftLlama LlamaTypedJSONGrammarBuilder.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
[21/21] Compiling SwiftLlama Task+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Llama.swift:2:8: error: no such module 'llama'
1 | import Foundation
2 | import llama
| `- error: no such module 'llama'
3 |
4 | enum NextToken {
BUILD FAILURE 6.2 linux