The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LLamaSwift, reference 0.1.3 (887a13), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 04:44:25 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/srgtuszy/llama-cpp-swift.git
Reference: 0.1.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/srgtuszy/llama-cpp-swift
 * tag               0.1.3      -> FETCH_HEAD
HEAD is now at 887a132 Removed custom derived data path from `xcodebuild` invocations
Cloned https://github.com/srgtuszy/llama-cpp-swift.git
Revision (git rev-parse @):
887a132c8746ae650e0c547d4a8efab0b5a3e010
SUCCESS checkout https://github.com/srgtuszy/llama-cpp-swift.git at 0.1.3
Fetching https://github.com/ggerganov/llama.cpp
[1/386769] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp from cache (211.86s)
Fetching https://github.com/apple/swift-log.git
[1/6569] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.09s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (1.66s)
Creating working copy for https://github.com/ggerganov/llama.cpp
Working copy of https://github.com/ggerganov/llama.cpp resolved at master (a89f75e)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
Fetching https://github.com/srgtuszy/llama-cpp-swift.git
[1/229] Fetching llama-cpp-swift
Fetched https://github.com/srgtuszy/llama-cpp-swift.git from cache (0.59s)
Fetching https://github.com/ggerganov/llama.cpp from cache
Fetched https://github.com/ggerganov/llama.cpp from cache (1.50s)
error: the package manifest at '/Package.swift' cannot be accessed (/Package.swift doesn't exist in file system) in https://github.com/ggerganov/llama.cpp
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/srgtuszy/llama-cpp-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/17] Copying ggml-metal.metal
[1/17] Write sources
[3/17] Write swift-version--6988338F2F200930.txt
[4/17] Compiling llama resource_bundle_accessor.m
[5/22] Compiling llama-grammar.cpp
[6/22] Compiling llama-sampling.cpp
[7/22] Compiling llama-vocab.cpp
[8/22] Compiling ggml-metal.m
[9/22] Compiling ggml-alloc.c
[10/22] Compiling ggml-aarch64.c
[11/22] Compiling ggml-backend.cpp
[13/22] Compiling Logging MetadataProvider.swift
[13/22] Compiling ggml-quants.c
[15/22] Compiling Logging Locks.swift
[16/22] Compiling Logging LogHandler.swift
[17/22] Emitting module Logging
[18/22] Compiling Logging Logging.swift
[18/22] Compiling unicode.cpp
[19/22] Compiling unicode-data.cpp
[20/22] Compiling ggml.c
[21/22] Compiling llama.cpp
[23/28] Compiling LLamaSwift Logger+LLama.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/spm-headers/llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
[24/28] Compiling LLamaSwift Model.swift
[25/28] Compiling LLamaSwift InitializationError.swift
[26/28] Compiling LLamaSwift InferError.swift
[27/28] Emitting module LLamaSwift
[28/28] Compiling LLamaSwift LLama.swift
Build complete! (14.10s)
Build complete.
{
  "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"
}
Done.