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 (9cffa2), with Swift 5.8 for Linux on 31 Oct 2024 02:07:53 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.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
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 9cffa20 llama.cpp updated to b3995
Submodule path 'Sources/llmfarm_core_cpp/llama.cpp': checked out 'ea11fd9d001c9725646f2dd2fb995ef1c54479cf'
Submodule path 'Sources/llmfarm_core_cpp/llama.cpp/ggml/src/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/kompute'
Cloning into '/host/spi-builder-workspace/Sources/llmfarm_core_cpp/llama.cpp/ggml/src/kompute'...
Cloned https://github.com/guinmoon/llmfarm_core.swift.git
Revision (git rev-parse @):
9cffa20e74ba1d3f6f35fcaef05dc48ca46251ff
SUCCESS checkout https://github.com/guinmoon/llmfarm_core.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:d566266dd4ad92a164016b2b7f1872d3752585be93b4a9fa631006f2c48d84d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
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...
[0/28] Copying ggml-metal.metal
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/llmfarm_core_cpp.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/28] Compiling llmfarm_core_cpp package_helper.m
[1/28] Compiling llama-sampling.cpp
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/llmfarm_core_cpp.build/DerivedSources/resource_bundle_accessor.h[1/28] Compiling unicode-data.cpp
[1/28] Compiling llmfarm_core_cpp resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/llmfarm_core_cpp.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~[1/28] Compiling llama-vocab.cpp
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/llmfarm_core_cpp.build/DerivedSources/resource_bundle_accessor.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
#import <Foundation/Foundation.h>
        ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/28] Compiling llama.cpp
In file included from <built-in>[1/28] Compiling unicode.cpp
BUILD FAILURE 5.8 linux