The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of LLamaSwift, reference main (887a13), with Swift 5.10 for Linux on 15 Oct 2024 17:24:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srgtuszy/llama-cpp-swift.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/srgtuszy/llama-cpp-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 887a132 Removed custom derived data path from `xcodebuild` invocations
Cloned https://github.com/srgtuszy/llama-cpp-swift.git
Revision (git rev-parse @):
887a132c8746ae650e0c547d4a8efab0b5a3e010
SUCCESS checkout https://github.com/srgtuszy/llama-cpp-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/srgtuszy/llama-cpp-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/ggerganov/llama.cpp
[1/120359] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp from cache (20.12s)
Fetching https://github.com/apple/swift-log.git
[1/3623] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.28s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.29s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/ggerganov/llama.cpp
Working copy of https://github.com/ggerganov/llama.cpp resolved at master (a89f75e)
Building for debugging...
[0/14] Write swift-version-24593BA9C3E375BF.txt
[1/14] Compiling ggml-alloc.c
[2/14] Compiling ggml-aarch64.c
[3/14] Compiling ggml-backend.cpp
[4/14] Compiling unicode-data.cpp
[4/14] Write sources
[8/19] Emitting module Logging
[8/19] Compiling llama-vocab.cpp
[9/19] Compiling llama-sampling.cpp
[10/19] Compiling llama-grammar.cpp
[12/19] Compiling Logging MetadataProvider.swift
[13/19] Compiling Logging Locks.swift
[14/19] Compiling Logging LogHandler.swift
[15/19] Compiling Logging Logging.swift
[16/20] Compiling ggml-quants.c
[17/20] Compiling unicode.cpp
[18/20] Compiling ggml.c
[19/20] Compiling llama.cpp
[21/26] Compiling LLamaSwift Logger+LLama.swift
[22/26] Compiling LLamaSwift Model.swift
[23/26] Compiling LLamaSwift InitializationError.swift
[24/26] Emitting module LLamaSwift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "/host/spi-builder-workspace/.build/checkouts/llama.cpp/spm-headers/llama.h"
         ^
/host/spi-builder-workspace/.build/checkouts/llama.cpp/spm-headers/llama.h:1226:1: warning: umbrella header for module 'llama' does not include header 'ggml-metal.h'
^
[25/26] Compiling LLamaSwift InferError.swift
[26/26] Compiling LLamaSwift LLama.swift
Build complete! (54.98s)
Build complete.
Done.