Build Information
Failed to build llama with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.38.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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/llama.cpp",
"dependencies": [
]
}
]
}
Fetching https://github.com/StanfordBDHG/llama.cpp.git from cache
Fetched https://github.com/StanfordBDHG/llama.cpp.git from cache (1.06s)
warning: /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/llama.cpp-2782dc35 is not valid git repository for 'https://github.com/StanfordBDHG/llama.cpp.git', will fetch again.
Fetching https://github.com/StanfordBDHG/llama.cpp.git from cache
Fetched https://github.com/StanfordBDHG/llama.cpp.git from cache (0.09s)
warning: /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/repositories/llama.cpp-2782dc35 is not valid git repository for 'https://github.com/StanfordBDHG/llama.cpp.git', will fetch again.
Fetching https://github.com/StanfordBDHG/llama.cpp.git from cache
Fetched https://github.com/StanfordBDHG/llama.cpp.git from cache (0.08s)
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: 5.10
Building package at path: $workDir
https://github.com/StanfordBDHG/llama.cpp.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.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`.
error: The package does not contain a buildable target.
Add at least one `.target` or `.executableTarget` to your `Package.swift`.
BUILD FAILURE 5.10 macosSpm