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 Lightpack, reference main (8ab8b5), with Swift 5.9 for Linux on 5 Aug 2024 10:58:06 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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.48.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lightpack-run/lightpack.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/lightpack-run/lightpack
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8ab8b5a Merge branch 'main' of github.com:lightpack-run/lightpack
Cloned https://github.com/lightpack-run/lightpack.git
Revision (git rev-parse @):
8ab8b5a39bafe8d5690710fbd399372b097d64d0
SUCCESS checkout https://github.com/lightpack-run/lightpack.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/lightpack-run/lightpack.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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:ab95bcf8ae8f59ab6d4725f4fd8a1a6162581ba0800402e498200829aee2a822
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/ggerganov/llama.cpp
[1/106011] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp (17.25s)
Creating working copy for https://github.com/ggerganov/llama.cpp
Working copy of https://github.com/ggerganov/llama.cpp resolved at master
Building for debugging...
[0/11] Compiling llama-grammar.cpp
[1/11] Compiling llama-sampling.cpp
[2/11] Compiling ggml-alloc.c
[3/11] Compiling ggml-backend.c
[4/11] Compiling llama-vocab.cpp
[5/11] Compiling ggml-aarch64.c
[6/11] Compiling ggml-quants.c
[7/11] Compiling unicode-data.cpp
[8/11] Compiling unicode.cpp
[9/11] Compiling ggml.c
[10/11] Compiling llama.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Emitting module Lightpack
/host/spi-builder-workspace/Sources/Lightpack/Events.swift:2:8: error: no such module 'Network'
import Network
       ^
<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"
         ^
[13/16] Compiling Lightpack Lightpack.swift
/host/spi-builder-workspace/Sources/Lightpack/Events.swift:2:8: error: no such module 'Network'
import Network
       ^
[14/16] Compiling Lightpack Events.swift
/host/spi-builder-workspace/Sources/Lightpack/Events.swift:2:8: error: no such module 'Network'
import Network
       ^
[15/16] Compiling Lightpack Types.swift
/host/spi-builder-workspace/Sources/Lightpack/Events.swift:2:8: error: no such module 'Network'
import Network
       ^
[16/16] Compiling Lightpack Protocols.swift
/host/spi-builder-workspace/Sources/Lightpack/Events.swift:2:8: error: no such module 'Network'
import Network
       ^
error: fatalError
BUILD FAILURE 5.9 linux