Build Information
Failed to build llama, reference 0.3.3 (683985
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 18:29:35 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/llama.cpp.git
Reference: 0.3.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/llama.cpp
* tag 0.3.3 -> FETCH_HEAD
HEAD is now at 6839853 Create XCFramework for release 0.3.3
Submodule path 'kompute': checked out '4565194ed7c32d1d2efa32ceab4d3c6cae006306'
Submodule 'kompute' (https://github.com/nomic-ai/kompute.git) registered for path 'kompute'
Cloning into '/Users/admin/builder/spi-builder-workspace/kompute'...
Cloned https://github.com/StanfordBDHG/llama.cpp.git
Revision (git rev-parse @):
6839853a321778906e210a33ee2c6aec52f34c97
SUCCESS checkout https://github.com/StanfordBDHG/llama.cpp.git at 0.3.3
========================================
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": "llama.cpp",
"name": "llama",
"url": "https://github.com/StanfordBDHG/llama.cpp.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llama.cpp",
"dependencies": [
]
}
]
}
Fetching https://github.com/StanfordBDHG/llama.cpp.git
[1/16834] Fetching llama.cpp
Fetched https://github.com/StanfordBDHG/llama.cpp.git from cache (2.79s)
Creating working copy for https://github.com/StanfordBDHG/llama.cpp.git
Working copy of https://github.com/StanfordBDHG/llama.cpp.git resolved at 0.3.3 (6839853)
warning: '.resolve-product-dependencies': dependency 'llama.cpp' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordBDHG/llama.cpp.git
https://github.com/StanfordBDHG/llama.cpp.git
{
"dependencies" : [
],
"manifest_display_name" : "llama",
"name" : "llama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "llama",
"targets" : [
"llama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama",
"module_type" : "BinaryTarget",
"name" : "llama",
"path" : "llama.xcframework",
"product_memberships" : [
"llama"
],
"sources" : [
],
"type" : "binary"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 6.1 macosSpm