Build Information
Failed to build LLamaSwift, reference main (5fff6a
), with Swift 5.10 for macOS (SPM) on 10 Dec 2024 16:10:50 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
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: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/srgtuszy/llama-cpp-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/8] Compiling Logging MetadataProvider.swift
[5/8] Compiling Logging LogHandler.swift
[6/8] Compiling Logging Locks.swift
[7/8] Emitting module Logging
[8/8] Compiling Logging Logging.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/14] Emitting module LLamaSwift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "llama.h"
^
/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
#include <llama.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
import llama
^
[10/14] Compiling LLamaSwift Model.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "llama.h"
^
/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
#include <llama.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
import llama
^
[11/14] Compiling LLamaSwift Logger+LLama.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "llama.h"
^
/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
#include <llama.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
import llama
^
[12/14] Compiling LLamaSwift LLama.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "llama.h"
^
/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
#include <llama.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
import llama
^
[13/14] Compiling LLamaSwift InferError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "llama.h"
^
/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
#include <llama.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
import llama
^
[14/14] Compiling LLamaSwift InitializationError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "llama.h"
^
/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
#include <llama.h>
^
/Users/admin/builder/spi-builder-workspace/Sources/llama-cpp-swift/LLama.swift:3:8: error: could not build Objective-C module 'llama'
import llama
^
error: fatalError
Fetching https://github.com/ggerganov/llama.cpp
[1/133248] Fetching llama.cpp
Fetched https://github.com/ggerganov/llama.cpp from cache (81.62s)
Fetching https://github.com/apple/swift-log.git
[1/3727] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.34s)
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
Creating working copy for https://github.com/ggerganov/llama.cpp
Working copy of https://github.com/ggerganov/llama.cpp resolved at master (26a8406)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for llama
BUILD FAILURE 5.10 macosSpm