Build Information
Failed to build ggml, reference master (7b08f4
), with Swift 6.0 for macOS (SPM) on 7 Mar 2025 23:26:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
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 /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "ggml",
"name": "ggml",
"url": "https://github.com/ggml-org/ggml.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ggml",
"dependencies": [
]
}
]
}
Fetching https://github.com/ggml-org/ggml.git
[1/23327] Fetching ggml
Fetched https://github.com/ggml-org/ggml.git from cache (2.48s)
Creating working copy for https://github.com/ggml-org/ggml.git
Working copy of https://github.com/ggml-org/ggml.git resolved at master (7b08f4c)
warning: 'ggml': Invalid Source '/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ggml/src/ggml-metal.m': File not found.
warning: '.resolve-product-dependencies': dependency 'ggml' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ggml-org/ggml.git
https://github.com/ggml-org/ggml.git
{
"cxx_language_standard" : "c++11",
"dependencies" : [
],
"manifest_display_name" : "ggml",
"name" : "ggml",
"path" : "/Users/admin/builder/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 '/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/src/ggml-quants.c:5:
/Users/admin/builder/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-quants.c
In file included from /Users/admin/builder/spi-builder-workspace/src/ggml.c:5:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/src/ggml-alloc.c:4:
/Users/admin/builder/spi-builder-workspace/src/ggml-impl.h:6:10: fatal error: 'gguf.h' file not found
6 | #include "gguf.h"
| ^~~~~~~~
[0/4] Compiling ggml-alloc.c
In file included from /Users/admin/builder/spi-builder-workspace/src/ggml-backend.cpp:14:
/Users/admin/builder/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
warning: 'spi-builder-workspace': Invalid Source '/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/src/ggml-alloc.c:4:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/src/ggml-backend.cpp:14:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/src/ggml-quants.c:5:
/Users/admin/builder/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 /Users/admin/builder/spi-builder-workspace/src/ggml.c:5:
/Users/admin/builder/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
warning: 'spi-builder-workspace': Invalid Source '/Users/admin/builder/spi-builder-workspace/src/ggml-metal.m': File not found.
warning: 'spi-builder-workspace': Invalid Resource 'src/ggml-metal.metal': File not found.
BUILD FAILURE 6.0 macosSpm