Build Information
Successful build of swift-llama-cpp, reference main (605b79), with Swift 6.1 for macOS (SPM) on 3 Apr 2026 01:15:23 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pgorzelany/swift-llama-cpp.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pgorzelany/swift-llama-cpp
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 605b79c Bump llama version
Cloned https://github.com/pgorzelany/swift-llama-cpp.git
Revision (git rev-parse @):
605b79cc503dd79bf3aa259842596d42bcdedbe8
SUCCESS checkout https://github.com/pgorzelany/swift-llama-cpp.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/pgorzelany/swift-llama-cpp.git
https://github.com/pgorzelany/swift-llama-cpp.git
{
"dependencies" : [
],
"manifest_display_name" : "swift-llama-cpp",
"name" : "swift-llama-cpp",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama",
"module_type" : "BinaryTarget",
"name" : "llama",
"path" : "remote/archive/llama-b8638-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftLlamaTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Helpers/URL+Extensions.swift",
"LlamaBackendTests.swift",
"LlamaContextTests.swift",
"LlamaModelTests.swift",
"LlamaSamplerTests.swift",
"LlamaServiceTests.swift",
"LlamaTests.swift",
"LlamaTypedGrammarTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"Llama.swift",
"LlamaBackend.swift",
"LlamaBatch.swift",
"LlamaChatMessage.swift",
"LlamaConfig.swift",
"LlamaContext.swift",
"LlamaError.swift",
"LlamaGrammarConfig.swift",
"LlamaLogger.swift",
"LlamaLoraAdapter.swift",
"LlamaMemory.swift",
"LlamaModel.swift",
"LlamaRepetitionPenaltyConfig.swift",
"LlamaSampler.swift",
"LlamaSamplingConfig.swift",
"LlamaService.swift",
"LlamaTypedJSONGrammarBuilder.swift",
"Task+Extensions.swift"
],
"target_dependencies" : [
"llama"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying llama.framework
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/21] Compiling SwiftLlama LlamaSamplingConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/21] Compiling SwiftLlama LlamaService.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/22] Compiling SwiftLlama LlamaRepetitionPenaltyConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/22] Compiling SwiftLlama LlamaSampler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/22] Compiling SwiftLlama LlamaTypedJSONGrammarBuilder.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:202:9: warning: no calls to throwing functions occur within 'try' expression
200 | // Primitive decoders
201 | func decode(_ type: String.Type, forKey key: Key) throws -> String {
202 | try object.addRequired(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
203 | recorder.registerPrimitiveString(into: slot)
204 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:208:9: warning: no calls to throwing functions occur within 'try' expression
206 | }
207 | func decode(_ type: Bool.Type, forKey key: Key) throws -> Bool {
208 | try object.addRequired(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
209 | recorder.registerPrimitiveBoolean(into: slot)
210 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:214:9: warning: no calls to throwing functions occur within 'try' expression
212 | }
213 | func decode(_ type: Int.Type, forKey key: Key) throws -> Int {
214 | try object.addRequired(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
215 | recorder.registerPrimitiveInteger(into: slot)
216 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:229:9: warning: no calls to throwing functions occur within 'try' expression
227 | func decode(_ type: UInt64.Type, forKey key: Key) throws -> UInt64 { UInt64(try decode(Int.self, forKey: key)) }
228 | func decode(_ type: Float.Type, forKey key: Key) throws -> Float {
229 | try object.addRequired(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
230 | recorder.registerPrimitiveNumber(into: slot)
231 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:235:9: warning: no calls to throwing functions occur within 'try' expression
233 | }
234 | func decode(_ type: Double.Type, forKey key: Key) throws -> Double {
235 | try object.addRequired(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
236 | recorder.registerPrimitiveNumber(into: slot)
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:245:9: warning: no calls to throwing functions occur within 'try' expression
243 | // Arrays are handled by nested decoding path as well
244 | var result: T?
245 | try object.addRequired(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
246 | let nestedDecoder = RecordingDecoder(recorder: recorder, target: slot)
247 | result = try? T(from: nestedDecoder)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:266:9: warning: no calls to throwing functions occur within 'try' expression
264 |
265 | func decodeIfPresent(_ type: String.Type, forKey key: Key) throws -> String? {
266 | try object.addOptional(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
267 | recorder.registerPrimitiveString(into: slot)
268 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:272:9: warning: no calls to throwing functions occur within 'try' expression
270 | }
271 | func decodeIfPresent(_ type: Bool.Type, forKey key: Key) throws -> Bool? {
272 | try object.addOptional(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
273 | recorder.registerPrimitiveBoolean(into: slot)
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:278:9: warning: no calls to throwing functions occur within 'try' expression
276 | }
277 | func decodeIfPresent(_ type: Int.Type, forKey key: Key) throws -> Int? {
278 | try object.addOptional(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
279 | recorder.registerPrimitiveInteger(into: slot)
280 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:284:9: warning: no calls to throwing functions occur within 'try' expression
282 | }
283 | func decodeIfPresent(_ type: Double.Type, forKey key: Key) throws -> Double? {
284 | try object.addOptional(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
285 | recorder.registerPrimitiveNumber(into: slot)
286 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:290:9: warning: no calls to throwing functions occur within 'try' expression
288 | }
289 | func decodeIfPresent(_ type: Float.Type, forKey key: Key) throws -> Float? {
290 | try object.addOptional(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
291 | recorder.registerPrimitiveNumber(into: slot)
292 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaTypedJSONGrammarBuilder.swift:297:9: warning: no calls to throwing functions occur within 'try' expression
295 | func decodeIfPresent<T>(_ type: T.Type, forKey key: Key) throws -> T? where T : Decodable {
296 | var value: T?
297 | try object.addOptional(key: key.stringValue) { slot in
| `- warning: no calls to throwing functions occur within 'try' expression
298 | let nestedDecoder = RecordingDecoder(recorder: recorder, target: slot)
299 | value = try? T(from: nestedDecoder)
[9/22] Compiling SwiftLlama LlamaMemory.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/22] Compiling SwiftLlama LlamaModel.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/22] Compiling SwiftLlama LlamaConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/22] Compiling SwiftLlama LlamaContext.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/22] Compiling SwiftLlama Llama.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/22] Compiling SwiftLlama LlamaBackend.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/22] Compiling SwiftLlama LlamaLogger.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/22] Compiling SwiftLlama LlamaLoraAdapter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/22] Emitting module SwiftLlama
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/22] Compiling SwiftLlama LlamaBatch.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/22] Compiling SwiftLlama LlamaChatMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/22] Compiling SwiftLlama LlamaError.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/22] Compiling SwiftLlama LlamaGrammarConfig.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/22] Compiling SwiftLlama Task+Extensions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Build complete! (15.20s)
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip
[7724/175750717] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b8638/llama-b8638-xcframework.zip (8.81s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-llama-cpp",
"name" : "swift-llama-cpp",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama",
"module_type" : "BinaryTarget",
"name" : "llama",
"path" : "remote/archive/llama-b8638-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftLlamaTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Helpers/URL+Extensions.swift",
"LlamaBackendTests.swift",
"LlamaContextTests.swift",
"LlamaModelTests.swift",
"LlamaSamplerTests.swift",
"LlamaServiceTests.swift",
"LlamaTests.swift",
"LlamaTypedGrammarTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"Llama.swift",
"LlamaBackend.swift",
"LlamaBatch.swift",
"LlamaChatMessage.swift",
"LlamaConfig.swift",
"LlamaContext.swift",
"LlamaError.swift",
"LlamaGrammarConfig.swift",
"LlamaLogger.swift",
"LlamaLoraAdapter.swift",
"LlamaMemory.swift",
"LlamaModel.swift",
"LlamaRepetitionPenaltyConfig.swift",
"LlamaSampler.swift",
"LlamaSamplingConfig.swift",
"LlamaService.swift",
"LlamaTypedJSONGrammarBuilder.swift",
"Task+Extensions.swift"
],
"target_dependencies" : [
"llama"
],
"type" : "library"
}
],
"tools_version" : "6.1"
}
Done.