Build Information
Failed to build swift-llama-cpp, reference main (605b79), with Swift 6.1 for Linux on 3 Apr 2026 01:08:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-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.1
Building package at path: $PWD
https://github.com/pgorzelany/swift-llama-cpp.git
https://github.com/pgorzelany/swift-llama-cpp.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-llama-cpp",
"name" : "swift-llama-cpp",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama",
"module_type" : "BinaryTarget",
"name" : "llama",
"path" : "remote/archive/llama-b8638-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SwiftLlamaTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Helpers/URL+Extensions.swift",
"LlamaBackendTests.swift",
"LlamaContextTests.swift",
"LlamaModelTests.swift",
"LlamaSamplerTests.swift",
"LlamaServiceTests.swift",
"LlamaTests.swift",
"LlamaTypedGrammarTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"Llama.swift",
"LlamaBackend.swift",
"LlamaBatch.swift",
"LlamaChatMessage.swift",
"LlamaConfig.swift",
"LlamaContext.swift",
"LlamaError.swift",
"LlamaGrammarConfig.swift",
"LlamaLogger.swift",
"LlamaLoraAdapter.swift",
"LlamaMemory.swift",
"LlamaModel.swift",
"LlamaRepetitionPenaltyConfig.swift",
"LlamaSampler.swift",
"LlamaSamplingConfig.swift",
"LlamaService.swift",
"LlamaTypedJSONGrammarBuilder.swift",
"Task+Extensions.swift"
],
"target_dependencies" : [
"llama"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip
[1397/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 (25.23s)
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/19] Emitting module SwiftLlama
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/21] Compiling SwiftLlama LlamaSamplingConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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/21] Compiling SwiftLlama LlamaService.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaGrammarConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaChatMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaRepetitionPenaltyConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
[12/21] Compiling SwiftLlama LlamaSampler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 Llama.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaBackend.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaBatch.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaTypedJSONGrammarBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 Task+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaLogger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaLoraAdapter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaMemory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 LlamaModel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/18] 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 {
[3/18] 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 {
[4/20] 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 {
[5/20] 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 {
[6/20] 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 {
[7/20] 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 {
[8/20] 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/20] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/20] 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 {
[11/20] 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 {
[12/20] 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 {
[13/20] 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 {
[14/20] 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 {
[15/20] 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 {
[16/20] 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 {
[17/20] 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 {
[18/20] 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 {
[19/20] 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 {
[20/20] 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.1 linux