The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ggml, reference master (7b08f4), with Swift 6.0 for Linux on 7 Mar 2025 23:25:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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/ggml-org/ggml.git
Reference: master
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/ggml-org/ggml
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7b08f4c sync : llama.cpp
Submodule path 'src/ggml-kompute/kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'src/ggml-kompute/kompute'
Cloning into '/host/spi-builder-workspace/src/ggml-kompute/kompute'...
Cloned https://github.com/ggml-org/ggml.git
Revision (git rev-parse @):
7b08f4cd9e32781e769a52cf0dcaeb2c556632c3
SUCCESS checkout https://github.com/ggml-org/ggml.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ggml-org/ggml.git
https://github.com/ggml-org/ggml.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "ggml",
  "name" : "ggml",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "ggml",
      "targets" : [
        "ggml"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ggml",
      "module_type" : "ClangTarget",
      "name" : "ggml",
      "path" : ".",
      "product_memberships" : [
        "ggml"
      ],
      "sources" : [
        "src/ggml-alloc.c",
        "src/ggml-backend.cpp",
        "src/ggml-quants.c",
        "src/ggml.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/src/ggml-metal.m': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'src/ggml-metal.metal': File not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/src/ggml-metal.m': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'src/ggml-metal.metal': File not found.
Building for debugging...
In file included from /host/spi-builder-workspace/src/ggml-alloc.c:4:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
1 error generated.
[0/4] Compiling ggml-alloc.c
In file included from /host/spi-builder-workspace/src/ggml-quants.c:5:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
[0/4] Compiling ggml-quants.c
In file included from /host/spi-builder-workspace/src/ggml-backend.cpp:14:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
[0/4] Compiling ggml-backend.cpp
In file included from /host/spi-builder-workspace/src/ggml.c:5:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
[0/4] Compiling ggml.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
warning: 'spi-builder-workspace': Invalid Source '/host/spi-builder-workspace/src/ggml-metal.m': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'src/ggml-metal.metal': File not found.
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/src/ggml-alloc.c:4:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
1 error generated.
[0/4] Compiling ggml-alloc.c
In file included from /host/spi-builder-workspace/src/ggml-quants.c:5:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
[0/4] Compiling ggml-quants.c
In file included from /host/spi-builder-workspace/src/ggml.c:5:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
[0/4] Compiling ggml.c
In file included from /host/spi-builder-workspace/src/ggml-backend.cpp:14:
/host/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
    6 | #include "gguf.h"
      |          ^~~~~~~~
[0/4] Compiling ggml-backend.cpp
BUILD FAILURE 6.0 linux