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

Failed to build llmfarm_core, reference main (ceb345), with Swift 5.10 for Linux on 27 Jan 2025 13:56:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guinmoon/llmfarm_core.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/guinmoon/llmfarm_core.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ceb3455 bunny crash fixed
Submodule path 'Sources/llmfarm_core_cpp/llama.cpp': checked out 'cff378ba767f19262fdd10c8022437aeb98c933a'
Submodule path 'Sources/llmfarm_core_cpp/llama.cpp/ggml/src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'Sources/llmfarm_core_cpp/llama.cpp' (https://github.com/guinmoon/llama.cpp/) registered for path 'Sources/llmfarm_core_cpp/llama.cpp'
Cloning into '/host/spi-builder-workspace/Sources/llmfarm_core_cpp/llama.cpp'...
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'Sources/llmfarm_core_cpp/llama.cpp/ggml/src/ggml-kompute/kompute'
Cloning into '/host/spi-builder-workspace/Sources/llmfarm_core_cpp/llama.cpp/ggml/src/ggml-kompute/kompute'...
Cloned https://github.com/guinmoon/llmfarm_core.swift.git
Revision (git rev-parse @):
ceb3455d2fb8b3f114fa15eeeb6397debae36d2f
SUCCESS checkout https://github.com/guinmoon/llmfarm_core.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/guinmoon/llmfarm_core.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/Sources/llmfarm_core_cpp/llama.cpp/ggml/src/ggml-aarch64.c': File not found.
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/Sources/llmfarm_core_cpp/llama.cpp/ggml/src/ggml-cpu/ggml-cpu-aarch64.c': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'llama.cpp/ggml/src/ggml-metal.metal': File not found.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/llmfarm_core/LLMBase.back
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/llmfarm_core_cpp/package_helper.m:1:
/host/spi-builder-workspace/Sources/llmfarm_core_cpp/spm-headers/package_helper.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/47] Compiling llmfarm_core_cpp package_helper.m
[0/47] Compiling ggml-blas.cpp
[0/47] Compiling ggml-cpu-quants.c
[0/47] Compiling sampling.cpp
[0/47] Compiling llmfarm_core_cpp gpt_spm.cpp
[0/47] Compiling arg.cpp
[0/47] Compiling common.cpp
[0/47] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 5.10 linux