The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-llama, reference main (3edf4d), with Swift 6.3 for Linux on 19 Apr 2026 19:29:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/profclaw/swift-llama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip
[16375/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 (17.36s)
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/18] 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 {
[5/18] 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 {
[6/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 {
[7/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 {
[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 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 {
[11/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 {
[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 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/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
BUILD FAILURE 6.3 linux