Build Information
Failed to build SwiftLlama, reference v0.4.0 (469310
), with Swift 6.1 for Android on 30 Jul 2025 09:26:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftLlama.git
Reference: v0.4.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/ShenghaiWang/SwiftLlama
* tag v0.4.0 -> FETCH_HEAD
HEAD is now at 4693100 Use precompiled framework
Cloned https://github.com/ShenghaiWang/SwiftLlama.git
Revision (git rev-parse @):
469310012506c307f3f6800d9c5f31e670ff068d
SUCCESS checkout https://github.com/ShenghaiWang/SwiftLlama.git at v0.4.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ShenghaiWang/SwiftLlama.git
https://github.com/ShenghaiWang/SwiftLlama.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "llama.cpp",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ggerganov/llama.cpp.git"
}
],
"manifest_display_name" : "SwiftLlama",
"name" : "SwiftLlama",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "18.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"sources" : [
"SwiftLlamaTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"LlamaModel.swift",
"Models/Batch.swift",
"Models/Chat.swift",
"Models/Configuration.swift",
"Models/Prompt.swift",
"Models/Session.swift",
"Models/StopToken.swift",
"Models/SwiftLlamaError.swift",
"Models/TypeAlias.swift",
"Swiftllama.swift",
"SwiftllamaActor.swift"
],
"target_dependencies" : [
"LlamaFramework"
],
"type" : "library"
},
{
"c99name" : "LlamaFramework",
"module_type" : "BinaryTarget",
"name" : "LlamaFramework",
"path" : "remote/archive/llama-b5046-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/ggerganov/llama.cpp.git
[1/204354] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp.git from cache (31.59s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp.git
error: 'spi-builder-workspace': binary target 'LlamaFramework' could not be mapped to an artifact with expected name 'LlamaFramework'
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Updating https://github.com/ggerganov/llama.cpp.git
Updated https://github.com/ggerganov/llama.cpp.git (0.83s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp.git
error: 'spi-builder-workspace': binary target 'LlamaFramework' could not be mapped to an artifact with expected name 'LlamaFramework'
BUILD FAILURE 6.1 android