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 0.1.3 (887a13), with Swift 5.10 for Linux on 15 Oct 2024 17:26:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 0.1.3
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
 * tag               0.1.3      -> FETCH_HEAD
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 0.1.3
========================================
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-4606859-0":/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 (22.57s)
Fetching https://github.com/apple/swift-log.git
[1/3623] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.36s)
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 llama-grammar.cpp
[4/14] Write sources
[7/14] Compiling unicode-data.cpp
[8/19] Compiling llama-sampling.cpp
[9/19] Compiling llama-vocab.cpp
[11/19] Compiling Logging MetadataProvider.swift
[12/19] Compiling Logging Locks.swift
[13/19] Compiling Logging LogHandler.swift
[14/19] Emitting module Logging
[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
<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"
         ^
[24/26] Emitting module LLamaSwift
[25/26] Compiling LLamaSwift InferError.swift
[26/26] Compiling LLamaSwift LLama.swift
Build complete! (68.47s)
Build complete.
Done.