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 Android on 26 Aug 2025 09:42:26 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-2":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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 (68.06s)
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
[1369/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.18s)
Building for debugging...
[0/13] Compiling llama-grammar.cpp
[1/13] Compiling llama-sampling.cpp
[2/13] Compiling llama-vocab.cpp
[3/13] Compiling ggml-alloc.c
[4/13] Compiling ggml-aarch64.c
[4/13] Write sources
[6/13] Compiling ggml-backend.cpp
[7/13] Compiling unicode.cpp
[8/13] Compiling ggml.c
[9/13] Compiling ggml-quants.c
[10/13] Compiling unicode-data.cpp
[11/13] Write swift-version-8C5A4AE7A8CE2BA.txt
[12/13] Compiling llama.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/24] 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 {
[15/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 {
[16/25] Compiling SwiftLlama TypeAlias.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 Swiftllama.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 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 {
[19/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 {
[20/25] 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 {
[21/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 {
[22/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 {
[23/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 {
[24/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 {
[25/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 {
BUILD FAILURE 6.2 android