Build Information
Failed to build swift-llama, reference main (3edf4d), with Swift 6.1 for Android on 6 Apr 2026 07:32:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/profclaw/swift-llama.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/profclaw/swift-llama
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3edf4d4 docs: switch to mermaid diagram, final README polish
Cloned https://github.com/profclaw/swift-llama.git
Revision (git rev-parse @):
3edf4d4556cbf0a06f0a701ee6439aec41aebd00
SUCCESS checkout https://github.com/profclaw/swift-llama.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/profclaw/swift-llama.git
https://github.com/profclaw/swift-llama.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-llama",
"name" : "swift-llama",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama_cpp",
"module_type" : "BinaryTarget",
"name" : "llama-cpp",
"path" : "remote/archive/llama-b8668-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"sources" : [
"ChatMessageTests.swift",
"ChatTemplateTests.swift",
"ModelCatalogTests.swift",
"ModelConfigTests.swift",
"SamplingParamsTests.swift",
"ToolCallParserTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"ChatTemplate.swift",
"LlamaActor.swift",
"LlamaContext.swift",
"LlamaModel.swift",
"LlamaSampling.swift",
"ModelCatalog.swift",
"ModelDownloader.swift",
"SwiftLlama.swift",
"ToolCallParser.swift",
"Types/ChatMessage.swift",
"Types/DownloadEvent.swift",
"Types/LlamaError.swift",
"Types/ModelConfig.swift",
"Types/ModelInfo.swift",
"Types/SamplingParams.swift",
"Types/StreamChunk.swift",
"Types/ToolCall.swift"
],
"target_dependencies" : [
"llama-cpp"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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 swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip
[1397/175853620] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip (19.37s)
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/18] Emitting module SwiftLlama
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[4/20] Compiling SwiftLlama StreamChunk.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[5/20] Compiling SwiftLlama ToolCall.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[6/20] Compiling SwiftLlama LlamaError.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[7/20] Compiling SwiftLlama ModelConfig.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[8/20] Compiling SwiftLlama ChatMessage.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[9/20] Compiling SwiftLlama DownloadEvent.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[10/20] Compiling SwiftLlama ModelInfo.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[11/20] Compiling SwiftLlama SamplingParams.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[12/20] Compiling SwiftLlama LlamaModel.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[13/20] Compiling SwiftLlama LlamaSampling.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[14/20] Compiling SwiftLlama SwiftLlama.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[15/20] Compiling SwiftLlama ToolCallParser.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[16/20] Compiling SwiftLlama ModelCatalog.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[17/20] Compiling SwiftLlama ModelDownloader.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[18/20] Compiling SwiftLlama ChatTemplate.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[19/20] Compiling SwiftLlama LlamaActor.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[20/20] Compiling SwiftLlama LlamaContext.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/17] Compiling SwiftLlama LlamaError.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[3/17] Compiling SwiftLlama ModelConfig.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[4/19] Compiling SwiftLlama ChatMessage.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[5/19] Compiling SwiftLlama DownloadEvent.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[6/19] Compiling SwiftLlama ModelInfo.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[7/19] Compiling SwiftLlama SamplingParams.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[8/19] Compiling SwiftLlama SwiftLlama.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[9/19] Compiling SwiftLlama ToolCallParser.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[10/19] Compiling SwiftLlama StreamChunk.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[11/19] Compiling SwiftLlama ToolCall.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[12/19] Compiling SwiftLlama LlamaModel.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/19] Compiling SwiftLlama LlamaSampling.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[14/19] Compiling SwiftLlama ChatTemplate.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[15/19] Compiling SwiftLlama LlamaActor.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[16/19] Compiling SwiftLlama LlamaContext.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[17/19] Emitting module SwiftLlama
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[18/19] Compiling SwiftLlama ModelCatalog.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
[19/19] Compiling SwiftLlama ModelDownloader.swift
/host/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:2:8: error: no such module 'os.log'
1 | import Foundation
2 | import os.log
| `- error: no such module 'os.log'
3 |
4 | public actor LlamaActor {
BUILD FAILURE 6.1 android