The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftLlama, reference main (792181), with Swift 6.2 for macOS (Xcode) using Xcode 26.3 on 26 Aug 2025 09:41:38 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination platform=macOS,arch=arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShenghaiWang/SwiftLlama.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftLlama
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7921814 Merge pull request #22 from gpotari/main
Cloned https://github.com/ShenghaiWang/SwiftLlama.git
Revision (git rev-parse @):
792181492beff9edba52314a040032cefb19edd6
SUCCESS checkout https://github.com/ShenghaiWang/SwiftLlama.git at main
========================================
Build
========================================
Selected platform:         macosXcodebuild
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftLlama.git
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Fetching from https://github.com/ggerganov/llama.cpp.git
Creating working copy of package ‘llama.cpp’
Checking out b6d6c5289f1c9c677657c380591201ddb210b649 of package ‘llama.cpp’
Resolve Package Graph
Resolved source packages:
  llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
  SwiftLlama: /Users/admin/builder/spi-builder-workspace
resolved source packages: llama, SwiftLlama
{
  "dependencies" : [
    {
      "identity" : "llama.cpp",
      "requirement" : {
        "revision" : [
          "b6d6c5289f1c9c677657c380591201ddb210b649"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ggerganov/llama.cpp.git"
    }
  ],
  "manifest_display_name" : "SwiftLlama",
  "name" : "SwiftLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLlama",
      "targets" : [
        "SwiftLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlamaTests",
      "path" : "Tests/SwiftLlamaTests",
      "sources" : [
        "SwiftLlamaTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLlama",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlama",
      "path" : "Sources/SwiftLlama",
      "product_dependencies" : [
        "llama"
      ],
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
        "LlamaModel.swift",
        "Models/Batch.swift",
        "Models/Chat.swift",
        "Models/Configuration.swift",
        "Models/Prompt.swift",
        "Models/Session.swift",
        "Models/StopToken.swift",
        "Models/SwiftLlamaError.swift",
        "Models/TypeAlias.swift",
        "Swiftllama.swift",
        "SwiftllamaActor.swift"
      ],
      "target_dependencies" : [
        "LlamaFramework"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LlamaFramework",
      "module_type" : "BinaryTarget",
      "name" : "LlamaFramework",
      "path" : "remote/archive/llama-b5046-xcframework.zip",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SwiftLlama"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.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 SwiftLlama -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  SwiftLlama: /Users/admin/builder/spi-builder-workspace
  llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'SwiftLlama' in project 'SwiftLlama'
        ➜ Explicit dependency on target 'SwiftLlama' in project 'SwiftLlama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
    Target 'SwiftLlama' in project 'SwiftLlama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama_llama' in project 'llama' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -x objective-c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
ExecuteExternalTool /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -arch arm64 -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -x c++ -c /dev/null
Build description signature: 5c121f444ae7b90830b7a139363951ce
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/5c121f444ae7b90830b7a139363951ce.xcbuilddata
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
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug
    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
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/llama_llama.DependencyMetadataFileList (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/llama_llama.build/llama_llama.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/llama_llama.DependencyStaticMetadataFileList (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/llama_llama.build/llama_llama.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama_llama.build/empty-llama_llama.plist
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/llama.DependencyStaticMetadataFileList (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/llama.build/llama.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama.build/llama.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/llama.DependencyMetadataFileList (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/llama.build/llama.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/Objects-normal/arm64/llama.LinkFileList (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/llama.build/Objects-normal/arm64/llama.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp (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/llama.build/Objects-normal/arm64/e6072d4f65d7061329687fe24e3d63a7-common-args.resp
-target arm64-apple-macos12.0 -fobjc-arc -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llama' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -DGGML_USE_ACCELERATE -DGGML_USE_METAL '-DOBJC_OLD_DISPATCH_PROTOTYPES=1' -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -g -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/spm-headers -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -DXcode -O3 -DNDEBUG -fno-objc-arc
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp (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/llama.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp
-target arm64-apple-macos12.0 '-std=c++11' -fmodules -fno-cxx-modules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llama' '-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -DGGML_USE_ACCELERATE -DGGML_USE_METAL -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -g -fvisibility-inlines-hidden -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/spm-headers -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -DXcode -O3 -DNDEBUG -fno-objc-arc
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama.build/DerivedSources/resource_bundle_accessor.m
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp (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/llama.build/Objects-normal/arm64/7187679823f38a2a940e0043cdf9d637-common-args.resp
-target arm64-apple-macos12.0 -fmodules -gmodules '-fmodules-cache-path=/Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex' '-fmodule-name=llama' -fpascal-strings -O0 -DSWIFT_PACKAGE '-DDEBUG=1' -DGGML_USE_ACCELERATE -DGGML_USE_METAL -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -g -fprofile-instr-generate -fcoverage-mapping -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -I/Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/llama.cpp/spm-headers -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources-normal/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources/arm64 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama.build/DerivedSources -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -iframework /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -DXcode -O3 -DNDEBUG -fno-objc-arc
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama.build/DerivedSources/resource_bundle_accessor.h
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama_llama.bundle/Contents (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/llama_llama.bundle/Contents
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama_llama.bundle/Contents/Resources (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/llama_llama.bundle/Contents/Resources
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps/llama.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama.build/llama.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps
MkDir /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/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/llama_llama.bundle
ProcessXCFramework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama.framework macos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-process-xcframework --xcframework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework --platform macos --target-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama_llama.bundle/Contents/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama_llama.build/empty-llama_llama.plist -producttype com.apple.product-type.bundle -expandbuildsettings -platform macosx -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama_llama.bundle/Contents/Info.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-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-macos12.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -fmetal-math-mode\=fast -fmetal-math-fp32-functions\=fast -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/Metal/ggml-metal.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'llama_llama' from project 'llama')
error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
** 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')
	Building workspace spi-builder-workspace with scheme SwiftLlama
(2 failures)
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  SwiftLlama: /Users/admin/builder/spi-builder-workspace
  llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
resolved source packages: SwiftLlama, llama
{
  "dependencies" : [
    {
      "identity" : "llama.cpp",
      "requirement" : {
        "revision" : [
          "b6d6c5289f1c9c677657c380591201ddb210b649"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ggerganov/llama.cpp.git"
    }
  ],
  "manifest_display_name" : "SwiftLlama",
  "name" : "SwiftLlama",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "visionos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftLlama",
      "targets" : [
        "SwiftLlama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftLlamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlamaTests",
      "path" : "Tests/SwiftLlamaTests",
      "sources" : [
        "SwiftLlamaTests.swift"
      ],
      "target_dependencies" : [
        "SwiftLlama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftLlama",
      "module_type" : "SwiftTarget",
      "name" : "SwiftLlama",
      "path" : "Sources/SwiftLlama",
      "product_dependencies" : [
        "llama"
      ],
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
        "LlamaModel.swift",
        "Models/Batch.swift",
        "Models/Chat.swift",
        "Models/Configuration.swift",
        "Models/Prompt.swift",
        "Models/Session.swift",
        "Models/StopToken.swift",
        "Models/SwiftLlamaError.swift",
        "Models/TypeAlias.swift",
        "Swiftllama.swift",
        "SwiftllamaActor.swift"
      ],
      "target_dependencies" : [
        "LlamaFramework"
      ],
      "type" : "library"
    },
    {
      "c99name" : "LlamaFramework",
      "module_type" : "BinaryTarget",
      "name" : "LlamaFramework",
      "path" : "remote/archive/llama-b5046-xcframework.zip",
      "product_memberships" : [
        "SwiftLlama"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "SwiftLlama"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftLlama -destination platform=macOS,arch=arm64
Command line invocation:
    /Applications/Xcode-26.0.0-Beta.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 SwiftLlama -destination platform=macOS,arch=arm64
Resolve Package Graph
Resolved source packages:
  llama: https://github.com/ggerganov/llama.cpp.git @ b6d6c52
  SwiftLlama: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (5 targets)
    Target 'SwiftLlama' in project 'SwiftLlama'
        ➜ Explicit dependency on target 'SwiftLlama' in project 'SwiftLlama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
    Target 'SwiftLlama' in project 'SwiftLlama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama' in project 'llama'
        ➜ Explicit dependency on target 'llama_llama' in project 'llama'
    Target 'llama_llama' in project 'llama' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx26.0-25A5279m-f7c1d129d9d5414f2afbbad1fd6fd62e.sdkstatcache
ProcessXCFramework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama.framework macos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-process-xcframework --xcframework /Users/admin/builder/spi-builder-workspace/.dependencies/artifacts/spi-builder-workspace/LlamaFramework/llama.xcframework --platform macos --target-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama_llama.bundle/Contents/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/llama_llama.build/empty-llama_llama.plist -producttype com.apple.product-type.bundle -expandbuildsettings -platform macosx -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/llama_llama.bundle/Contents/Info.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-26.0.0-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/metal -c -target air64-apple-macos12.0 -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/include -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug -isysroot /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk -fmetal-math-mode\=fast -fmetal-math-fp32-functions\=fast -serialize-diagnostics /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/Metal/ggml-metal.dia -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/Metal/ggml-metal.air -MMD -MT dependencies -MF /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/llama.build/Debug/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/.derivedData/Build/Intermediates.noindex/llama.build/Debug/llama_llama.build/Metal/ggml-metal.dia:1:1: warning: Could not read serialized diagnostics file: error("Failed to open diagnostics file") (in target 'llama_llama' from project 'llama')
error: error: cannot execute tool 'metal' due to missing Metal Toolchain; use: xcodebuild -downloadComponent MetalToolchain
--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:macOS, arch:arm64, id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
{ platform:macOS, arch:arm64, variant:Mac Catalyst, id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
{ platform:macOS, arch:arm64, variant:DriverKit, id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:2a98daaaaead840377dff336e97347285fca8c02, name:My Mac }
** 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')
	Building workspace spi-builder-workspace with scheme SwiftLlama
(2 failures)
BUILD FAILURE 6.2 macosXcodebuild