Build Information
Failed to build LLamaSwift, reference main (5fff6a
), with Swift 5.10 for watchOS using Xcode 15.4 on 10 Dec 2024 16:11:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLamaSwift -destination generic/platform=watchOS
Build Log
========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srgtuszy/llama-cpp-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/srgtuszy/llama-cpp-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5fff6aa Fixed sampler chain not being freed
Cloned https://github.com/srgtuszy/llama-cpp-swift.git
Revision (git rev-parse @):
5fff6aaeae60df84b03f7d0aa246745290fdc65f
SUCCESS checkout https://github.com/srgtuszy/llama-cpp-swift.git at main
========================================
Build
========================================
Selected platform: watchOS
Swift version: 5.10
Building package at path: $PWD
https://github.com/srgtuszy/llama-cpp-swift.git
Command line invocation:
/Applications/Xcode-15.4.0.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
Fetching from https://github.com/apple/swift-log.git
Creating working copy of package ‘swift-log’
Checking out 1.6.2 of package ‘swift-log’
Creating working copy of package ‘cpp’
Checking out master (26a8406) of package ‘cpp’
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedcouldn't find pc file for llama
Resolved source packages:
llama: https://github.com/ggerganov/llama.cpp @ master (26a8406)
LLamaSwift: /Users/admin/builder/spi-builder-workspace
swift-log: https://github.com/apple/swift-log.git @ 1.6.2
resolved source packages: llama, LLamaSwift, swift-log
{
"dependencies" : [
{
"identity" : "llama.cpp",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/ggerganov/llama.cpp"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "LLamaSwift",
"name" : "LLamaSwift",
"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"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "LLamaSwift",
"targets" : [
"LLamaSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama_cpp_swiftTests",
"module_type" : "SwiftTarget",
"name" : "llama-cpp-swiftTests",
"path" : "Tests/llama-cpp-swiftTests",
"sources" : [
"llama_cpp_swiftTests.swift"
],
"target_dependencies" : [
"LLamaSwift"
],
"type" : "test"
},
{
"c99name" : "LLamaSwift",
"module_type" : "SwiftTarget",
"name" : "LLamaSwift",
"path" : "Sources",
"product_dependencies" : [
"llama",
"Logging"
],
"product_memberships" : [
"LLamaSwift"
],
"sources" : [
"llama-cpp-swift/InferError.swift",
"llama-cpp-swift/InitializationError.swift",
"llama-cpp-swift/LLama.swift",
"llama-cpp-swift/Logger+LLama.swift",
"llama-cpp-swift/Model.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"LLamaSwift"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme LLamaSwift -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LLamaSwift -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
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedcouldn't find pc file for llama
Resolved source packages:
llama: https://github.com/ggerganov/llama.cpp @ master (26a8406)
LLamaSwift: /Users/admin/builder/spi-builder-workspace
swift-log: https://github.com/apple/swift-log.git @ 1.6.2
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
Target 'LLamaSwift' in project 'LLamaSwift'
➜ Explicit dependency on target 'LLamaSwift' in project 'LLamaSwift'
➜ Explicit dependency on target 'llama' in project 'llama'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'LLamaSwift' in project 'LLamaSwift'
➜ Explicit dependency on target 'llama' in project 'llama'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log' (no dependencies)
Target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama' in project 'llama'
Target 'llama' in project 'llama' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 0b230c73e1331b80c1afc758652af91d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0b230c73e1331b80c1afc758652af91d.xcbuilddata
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'LLamaSwift' from project 'LLamaSwift')
** BUILD FAILED **
Command line invocation:
/Applications/Xcode-15.4.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme LLamaSwift -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
failed to retrieve search paths with pkg-config; maybe pkg-config is not installedcouldn't find pc file for llama
Resolved source packages:
swift-log: https://github.com/apple/swift-log.git @ 1.6.2
llama: https://github.com/ggerganov/llama.cpp @ master (26a8406)
LLamaSwift: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
Target 'LLamaSwift' in project 'LLamaSwift'
➜ Explicit dependency on target 'LLamaSwift' in project 'LLamaSwift'
➜ Explicit dependency on target 'llama' in project 'llama'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'LLamaSwift' in project 'LLamaSwift'
➜ Explicit dependency on target 'llama' in project 'llama'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log'
➜ Explicit dependency on target 'Logging' in project 'swift-log'
Target 'Logging' in project 'swift-log' (no dependencies)
Target 'llama' in project 'llama'
➜ Explicit dependency on target 'llama' in project 'llama'
Target 'llama' in project 'llama' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -v
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS10.5.sdk -x c -c /dev/null
ExecuteExternalTool /bin/cat /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/docc/features.json
ExecuteExternalTool /Applications/Xcode-15.4.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 0b230c73e1331b80c1afc758652af91d
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/0b230c73e1331b80c1afc758652af91d.xcbuilddata
error: The package product 'Logging' requires minimum platform version 5.0 for the watchOS platform, but this target supports 4.0 (in target 'LLamaSwift' from project 'LLamaSwift')
** BUILD FAILED **
BUILD FAILURE 5.10 watchOS