Build Information
Successful build of swift-llama, reference v0.1.0 (3edf4d), with Swift 6.3 for macOS (SPM) on 19 Apr 2026 19:31:26 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/profclaw/swift-llama.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/profclaw/swift-llama
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 3edf4d4 docs: switch to mermaid diagram, final README polish
Cloned https://github.com/profclaw/swift-llama.git
Revision (git rev-parse @):
3edf4d4556cbf0a06f0a701ee6439aec41aebd00
SUCCESS checkout https://github.com/profclaw/swift-llama.git at v0.1.0
Downloading binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip
[16375/175853620] Downloading https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip
Downloaded https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip (9.90s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-llama",
"name": "swift-llama",
"url": "https://github.com/profclaw/swift-llama.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-llama",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/profclaw/swift-llama.git
[1/98] Fetching swift-llama
Fetched https://github.com/profclaw/swift-llama.git from cache (0.73s)
Creating working copy for https://github.com/profclaw/swift-llama.git
Working copy of https://github.com/profclaw/swift-llama.git resolved at v0.1.0 (3edf4d4)
Fetching binary artifact https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip from cache
Fetched https://github.com/ggml-org/llama.cpp/releases/download/b8668/llama-b8668-xcframework.zip from cache (8.03s)
warning: '.resolve-product-dependencies': dependency 'swift-llama' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/profclaw/swift-llama.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying llama.framework
[2/3] Write swift-version--6988338F2F200930.txt
[4/20] Compiling SwiftLlama SamplingParams.swift
[5/20] Compiling SwiftLlama StreamChunk.swift
[6/20] Compiling SwiftLlama ModelConfig.swift
[7/20] Compiling SwiftLlama ModelInfo.swift
[8/20] Compiling SwiftLlama DownloadEvent.swift
[9/20] Compiling SwiftLlama LlamaError.swift
[10/21] Compiling SwiftLlama ToolCallParser.swift
[11/21] Compiling SwiftLlama ChatMessage.swift
[12/21] Compiling SwiftLlama LlamaSampling.swift
[13/21] Compiling SwiftLlama ModelCatalog.swift
[14/21] Compiling SwiftLlama LlamaContext.swift
[15/21] Compiling SwiftLlama LlamaModel.swift
[16/21] Compiling SwiftLlama ChatTemplate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:88:40: warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
86 | temporaryInvalidCChars.append(0)
87 | // String(validatingUTF8:) deprecated in macOS 15+; keep for macOS 14 compat
88 | if let remaining = String(validatingUTF8: temporaryInvalidCChars) {
| `- warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
89 | continuation.yield(remaining)
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:102:34: warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
100 | // Try to form a valid UTF-8 string
101 | temporaryInvalidCChars.append(0)
102 | if let tokenString = String(validatingUTF8: temporaryInvalidCChars) {
| `- warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
103 | temporaryInvalidCChars.removeAll()
104 | if !tokenString.isEmpty {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/21] Compiling SwiftLlama LlamaActor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:88:40: warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
86 | temporaryInvalidCChars.append(0)
87 | // String(validatingUTF8:) deprecated in macOS 15+; keep for macOS 14 compat
88 | if let remaining = String(validatingUTF8: temporaryInvalidCChars) {
| `- warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
89 | continuation.yield(remaining)
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftLlama/LlamaActor.swift:102:34: warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
100 | // Try to form a valid UTF-8 string
101 | temporaryInvalidCChars.append(0)
102 | if let tokenString = String(validatingUTF8: temporaryInvalidCChars) {
| `- warning: 'init(validatingUTF8:)' is deprecated: Use String(validating: array, as: UTF8.self) instead, after truncating the null termination. [#DeprecatedDeclaration]
103 | temporaryInvalidCChars.removeAll()
104 | if !tokenString.isEmpty {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/21] Emitting module SwiftLlama
[19/21] Compiling SwiftLlama ModelDownloader.swift
[20/21] Compiling SwiftLlama SwiftLlama.swift
[21/21] Compiling SwiftLlama ToolCall.swift
Build complete! (5.81s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "swift-llama",
"name" : "swift-llama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SwiftLlama",
"targets" : [
"SwiftLlama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "llama_cpp",
"module_type" : "BinaryTarget",
"name" : "llama-cpp",
"path" : "remote/archive/llama-b8668-xcframework.zip",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "SwiftLlamaTests",
"module_type" : "SwiftTarget",
"name" : "SwiftLlamaTests",
"path" : "Tests/SwiftLlamaTests",
"sources" : [
"ChatMessageTests.swift",
"ChatTemplateTests.swift",
"ModelCatalogTests.swift",
"ModelConfigTests.swift",
"SamplingParamsTests.swift",
"ToolCallParserTests.swift"
],
"target_dependencies" : [
"SwiftLlama"
],
"type" : "test"
},
{
"c99name" : "SwiftLlama",
"module_type" : "SwiftTarget",
"name" : "SwiftLlama",
"path" : "Sources/SwiftLlama",
"product_memberships" : [
"SwiftLlama"
],
"sources" : [
"ChatTemplate.swift",
"LlamaActor.swift",
"LlamaContext.swift",
"LlamaModel.swift",
"LlamaSampling.swift",
"ModelCatalog.swift",
"ModelDownloader.swift",
"SwiftLlama.swift",
"ToolCallParser.swift",
"Types/ChatMessage.swift",
"Types/DownloadEvent.swift",
"Types/LlamaError.swift",
"Types/ModelConfig.swift",
"Types/ModelInfo.swift",
"Types/SamplingParams.swift",
"Types/StreamChunk.swift",
"Types/ToolCall.swift"
],
"target_dependencies" : [
"llama-cpp"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.