The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftLlama, reference main (792181), with Swift 6.2 (beta) for Linux on 26 Aug 2025 09:42:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftLlama.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/ShenghaiWang/SwiftLlama
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7921814 Merge pull request #22 from gpotari/main
Cloned https://github.com/ShenghaiWang/SwiftLlama.git
Revision (git rev-parse @):
792181492beff9edba52314a040032cefb19edd6
SUCCESS checkout https://github.com/ShenghaiWang/SwiftLlama.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftLlama.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c6c8e08ea30bca759adf847aac87887750120fe9b6eaea09f5af37036a41e81a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/ggerganov/llama.cpp.git
[1/218368] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp.git from cache (66.75s)
Creating working copy for https://github.com/ggerganov/llama.cpp.git
Working copy of https://github.com/ggerganov/llama.cpp.git resolved at b6d6c5289f1c9c677657c380591201ddb210b649
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b5046/llama-b5046-xcframework.zip
[1397/74944281] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b5046/llama-b5046-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b5046/llama-b5046-xcframework.zip (8.56s)
Building for debugging...
[0/13] Compiling ggml-alloc.c
[1/13] Compiling ggml-aarch64.c
[2/13] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling ggml-backend.cpp
[4/13] Compiling llama-sampling.cpp
[4/13] Write sources
[6/13] Compiling llama-grammar.cpp
[7/13] Compiling unicode-data.cpp
[8/13] Compiling llama-vocab.cpp
[9/13] Compiling ggml-quants.c
[10/13] Compiling ggml.c
[11/13] Compiling unicode.cpp
[12/13] Compiling llama.cpp
[14/24] Compiling SwiftLlama StopToken.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[15/25] Compiling SwiftLlama SwiftllamaActor.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[16/25] Compiling SwiftLlama Swiftllama.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/.build/checkouts/llama.cpp/spm-headers/llama.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[17/25] Compiling SwiftLlama SwiftLlamaError.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[18/25] Compiling SwiftLlama TypeAlias.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/25] Emitting module SwiftLlama
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[20/25] Compiling SwiftLlama Chat.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[21/25] Compiling SwiftLlama Configuration.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[22/25] Compiling SwiftLlama Prompt.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[23/25] Compiling SwiftLlama Session.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[24/25] Compiling SwiftLlama LlamaModel.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
[25/25] Compiling SwiftLlama Batch.swift
/host/spi-builder-workspace/Sources/SwiftLlama/Swiftllama.swift:3:8: error: no such module 'Combine'
  1 | import Foundation
  2 | import llama
  3 | import Combine
    |        `- error: no such module 'Combine'
  4 |
  5 | public class SwiftLlama {
BUILD FAILURE 6.2 linux