Build Information
Failed to build Lightpack, reference main (8ab8b5
), with Swift 5.8 for watchOS using Xcode 14.3 on 5 Aug 2024 11:02:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Lightpack -destination generic/platform=watchOS
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 /Users/admin/builder/spi-builder-workspace/.git/
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: watchOS
Swift version: 5.8
Building package at path: $PWD
https://github.com/lightpack-run/lightpack.git
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/ggerganov/llama.cpp
Creating working copy of package ‘llama.cpp’
Checking out master of package ‘llama.cpp’
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
Lightpack: /Users/admin/builder/spi-builder-workspace
llama: https://github.com/ggerganov/llama.cpp @ master
resolved source packages: Lightpack, llama
2024-08-05 07:01:37.314 xcodebuild[463:2426] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
{
"dependencies" : [
{
"identity" : "llama.cpp",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ggerganov/llama.cpp"
}
],
"manifest_display_name" : "Lightpack",
"name" : "Lightpack",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "Lightpack",
"targets" : [
"Lightpack"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LightpackTests",
"module_type" : "SwiftTarget",
"name" : "LightpackTests",
"path" : "Tests/LightpackTests",
"sources" : [
"LightpackTests.swift"
],
"target_dependencies" : [
"Lightpack"
],
"type" : "test"
},
{
"c99name" : "Lightpack",
"module_type" : "SwiftTarget",
"name" : "Lightpack",
"path" : "Sources/Lightpack",
"product_dependencies" : [
"llama"
],
"product_memberships" : [
"Lightpack"
],
"sources" : [
"Events.swift",
"Lightpack.swift",
"Protocols.swift",
"Types.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Lightpack"
]
}
}
2024-08-05 07:02:05.631 xcodebuild[604:3109] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Lightpack -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Lightpack -destination generic/platform=watchOS
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
Lightpack: /Users/admin/builder/spi-builder-workspace
llama: https://github.com/ggerganov/llama.cpp @ master
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
Build description signature: 45634273d0dcd879021e7dbe6dd59180
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/45634273d0dcd879021e7dbe6dd59180.xcbuilddata
note: Building targets in dependency order
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos9.4-20T248-.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos9.4-20T248-.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/llama_llama.bundle (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/llama_llama.bundle
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/LightpackTests.xctest (in target 'LightpackTests' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
/bin/mkdir -p /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/LightpackTests.xctest
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/llama.modulemap (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/llama.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/empty-llama_llama.plist (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/empty-llama_llama.plist
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-watchos4.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -isysroot /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.4.sdk -ffast-math -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/Metal/ggml-metal.dat /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:27:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne00,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:27:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne00,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:28:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne01,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:28:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne01,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:29:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne02,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:29:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne02,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:30:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne03,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:30:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne03,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:31:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb00,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:31:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb00,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:32:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb01,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:32:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb01,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:33:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb02,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:33:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb02,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:34:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb03,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:34:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb03,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:35:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne10,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:35:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne10,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:36:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne11,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:36:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne11,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:37:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne12,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:37:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne12,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:38:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne13,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:38:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne13,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:39:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb10,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:39:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb10,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:40:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb11,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:40:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb11,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:41:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb12,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:41:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb12,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:42:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb13,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:42:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb13,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:43:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne0,
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:43:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne0,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:44:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne1,
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:44:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne1,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:45:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne2,
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:45:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne2,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/llama_llama.bundle/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/empty-llama_llama.plist (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/empty-llama_llama.plist -producttype com.apple.product-type.bundle -expandbuildsettings -format binary -platform watchos -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/llama_llama.bundle/Info.plist
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/llama.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/llama.modulemap (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/llama.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/DerivedSources/resource_bundle_accessor.m (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/DerivedSources/resource_bundle_accessor.m
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/DerivedSources/resource_bundle_accessor.h (in target 'llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama.build/DerivedSources/resource_bundle_accessor.h
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Lightpack.modulemap (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Lightpack.modulemap
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/Lightpack.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Lightpack.modulemap (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Lightpack.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64_32/Lightpack-OutputFileMap.json (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64_32/Lightpack-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/armv7k/Lightpack-OutputFileMap.json (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/armv7k/Lightpack-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/armv7k/Lightpack.SwiftFileList (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/armv7k/Lightpack.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64_32/Lightpack.SwiftFileList (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64_32/Lightpack.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64/Lightpack-OutputFileMap.json (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64/Lightpack-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64/Lightpack.SwiftFileList (in target 'Lightpack' from project 'Lightpack')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Lightpack.build/Debug-watchos/Lightpack.build/Objects-normal/arm64/Lightpack.SwiftFileList
Resolve Package Graph
2024-08-05 07:02:06.456 xcodebuild[606:3152] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD FAILED **
The following build commands failed:
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
(1 failure)
Command line invocation:
/Applications/Xcode-14.3.1.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Lightpack -destination generic/platform=watchOS
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Resolved source packages:
Lightpack: /Users/admin/builder/spi-builder-workspace
llama: https://github.com/ggerganov/llama.cpp @ master
Prepare packages
Computing target dependency graph and provisioning inputs
Create build description
note: Building targets in dependency order
ClangStatCache /Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos9.4-20T248-.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos9.4-20T248-.sdkstatcache
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp
/Applications/Xcode-14.3.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-watchos4.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -isysroot /Applications/Xcode-14.3.1.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.4.sdk -ffast-math -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug-watchos/llama_llama.build/Metal/ggml-metal.dat /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:27:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne00,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:27:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne00,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:28:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne01,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:28:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne01,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:29:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne02,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:29:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne02,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:30:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne03,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:30:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne03,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:31:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb00,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:31:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb00,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:32:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb01,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:32:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb01,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:33:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb02,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:33:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb02,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:34:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb03,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:34:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb03,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:35:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne10,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:35:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne10,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:36:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne11,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:36:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne11,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:37:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne12,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:37:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne12,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:38:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne13,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:38:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne13,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:39:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb10,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:39:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb10,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:40:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb11,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:40:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb11,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:41:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb12,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:41:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb12,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:42:9: error: invalid type 'const constant uint64_t &' (aka 'const constant unsigned long &') for buffer declaration
constant uint64_t & nb13,
^~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:42:18: note: type 'uint64_t' (aka 'unsigned long') cannot be used in buffer pointee type
constant uint64_t & nb13,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:43:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne0,
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:43:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne0,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:44:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne1,
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:44:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne1,
^
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:45:9: error: invalid type 'const constant int64_t &' (aka 'const constant long &') for buffer declaration
constant int64_t & ne2,
^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal:45:19: note: type 'int64_t' (aka 'long') cannot be used in buffer pointee type
constant int64_t & ne2,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
2024-08-05 07:02:10.430 xcodebuild[646:3324] DVTCoreDeviceEnabledState: DVTCoreDeviceEnabledState_Disabled set via user default (DVTEnableCoreDevice=disabled)
** BUILD FAILED **
The following build commands failed:
CompileMetalFile /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/ggml/src/ggml-metal.metal (in target 'llama_llama' from project 'llama')
(1 failure)
BUILD FAILURE 5.8 watchOS