The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LLamaSwift, reference main (5fff6a), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 04:44:31 UTC.

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: 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
Fetching https://github.com/ggerganov/llama.cpp
[1/386769] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp from cache (214.48s)
Fetching https://github.com/apple/swift-log.git
[1/6569] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (1.72s)
Creating working copy for https://github.com/ggerganov/llama.cpp
Working copy of https://github.com/ggerganov/llama.cpp resolved at master (26a8406)
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.2
========================================
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.58s)
Fetching https://github.com/ggerganov/llama.cpp from cache
Fetched https://github.com/ggerganov/llama.cpp from cache (1.58s)
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/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Logging.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Locks.swift
[9/14] Compiling LLamaSwift Model.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/Sources/llama/llama.h:3:10: error: 'llama.h' file not found with <angled> include; use "quotes" instead
1 | #pragma once
2 |
3 | #include <llama.h>
  |          `- error: 'llama.h' file not found with <angled> include; use "quotes" instead
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
  1 | import Foundation
  2 | import Logging
  3 | import llama
    |        `- error: could not build Objective-C module 'llama'
  4 |
  5 | /// An actor that handles inference using the LLama language model.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] Emitting module LLamaSwift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/Sources/llama/llama.h:3:10: error: 'llama.h' file not found with <angled> include; use "quotes" instead
1 | #pragma once
2 |
3 | #include <llama.h>
  |          `- error: 'llama.h' file not found with <angled> include; use "quotes" instead
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
  1 | import Foundation
  2 | import Logging
  3 | import llama
    |        `- error: could not build Objective-C module 'llama'
  4 |
  5 | /// An actor that handles inference using the LLama language model.
[11/14] Compiling LLamaSwift InferError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/Sources/llama/llama.h:3:10: error: 'llama.h' file not found with <angled> include; use "quotes" instead
1 | #pragma once
2 |
3 | #include <llama.h>
  |          `- error: 'llama.h' file not found with <angled> include; use "quotes" instead
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
  1 | import Foundation
  2 | import Logging
  3 | import llama
    |        `- error: could not build Objective-C module 'llama'
  4 |
  5 | /// An actor that handles inference using the LLama language model.
[12/14] Compiling LLamaSwift Logger+LLama.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/Sources/llama/llama.h:3:10: error: 'llama.h' file not found with <angled> include; use "quotes" instead
1 | #pragma once
2 |
3 | #include <llama.h>
  |          `- error: 'llama.h' file not found with <angled> include; use "quotes" instead
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
  1 | import Foundation
  2 | import Logging
  3 | import llama
    |        `- error: could not build Objective-C module 'llama'
  4 |
  5 | /// An actor that handles inference using the LLama language model.
[13/14] Compiling LLamaSwift InitializationError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/Sources/llama/llama.h:3:10: error: 'llama.h' file not found with <angled> include; use "quotes" instead
1 | #pragma once
2 |
3 | #include <llama.h>
  |          `- error: 'llama.h' file not found with <angled> include; use "quotes" instead
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
  1 | import Foundation
  2 | import Logging
  3 | import llama
    |        `- error: could not build Objective-C module 'llama'
  4 |
  5 | /// An actor that handles inference using the LLama language model.
[14/14] Compiling LLamaSwift LLama.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "llama.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/llama.cpp/Sources/llama/llama.h:3:10: error: 'llama.h' file not found with <angled> include; use "quotes" instead
1 | #pragma once
2 |
3 | #include <llama.h>
  |          `- error: 'llama.h' file not found with <angled> include; use "quotes" instead
4 |
5 |
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
  1 | import Foundation
  2 | import Logging
  3 | import llama
    |        `- error: could not build Objective-C module 'llama'
  4 |
  5 | /// An actor that handles inference using the LLama language model.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llama
warning: couldn't find pc file for llama
BUILD FAILURE 6.3 macosSpm