Build Information
Successful build of alpaca.swift, reference v0.1.0 (e89aff), with Swift 6.1 for macOS (SPM) on 3 Nov 2026 06:27:27 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 .statsBuild Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/torinriley/alpaca.git
Reference: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/torinriley/alpaca
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at e89affe Prepare 0.1.0: install via version tag, citation metadata, changelog, release notes
Cloned https://github.com/torinriley/alpaca.git
Revision (git rev-parse @):
e89affe14b1576f47856f1a1a9472f2f17a8e3bf
SUCCESS checkout https://github.com/torinriley/alpaca.git at v0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/torinriley/alpaca.git
https://github.com/torinriley/alpaca.git
{
"dependencies" : [
],
"manifest_display_name" : "alpaca.swift",
"name" : "alpaca.swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Alpaca",
"targets" : [
"Alpaca"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "alpaca",
"targets" : [
"AlpacaCLI"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "AlpacaTokenizers",
"module_type" : "SwiftTarget",
"name" : "AlpacaTokenizers",
"path" : "Sources/AlpacaTokenizers",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"BPETokenizer.swift",
"ByteLevel.swift"
],
"type" : "library"
},
{
"c99name" : "AlpacaTokenizerTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaTokenizerTests",
"path" : "Tests/AlpacaTokenizerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlpacaTokenizerTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"TokenizerTests.swift"
],
"target_dependencies" : [
"AlpacaTokenizers",
"AlpacaModels"
],
"type" : "test"
},
{
"c99name" : "AlpacaModels",
"module_type" : "SwiftTarget",
"name" : "AlpacaModels",
"path" : "Sources/AlpacaModels",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"GGUF/ByteReader.swift",
"GGUF/GGUFError.swift",
"GGUF/GGUFFile.swift",
"GGUF/GGUFTokenizer.swift",
"GGUF/GGUFTypes.swift",
"Llama/LlamaLoader.swift"
],
"target_dependencies" : [
"AlpacaCore",
"AlpacaTokenizers"
],
"type" : "library"
},
{
"c99name" : "AlpacaModelTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaModelTests",
"path" : "Tests/AlpacaModelTests",
"sources" : [
"GGUFBuilder.swift",
"GGUFParserTests.swift"
],
"target_dependencies" : [
"AlpacaModels",
"AlpacaCore"
],
"type" : "test"
},
{
"c99name" : "AlpacaMetalTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaMetalTests",
"path" : "Tests/AlpacaMetalTests",
"sources" : [
"KernelTests.swift"
],
"target_dependencies" : [
"AlpacaMetal",
"AlpacaCore"
],
"type" : "test"
},
{
"c99name" : "AlpacaMetal",
"module_type" : "SwiftTarget",
"name" : "AlpacaMetal",
"path" : "Sources/AlpacaMetal",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AlpacaMetal/Kernels",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Backend/KernelEncoder.swift",
"Backend/MetalContext.swift",
"Backend/MetalLlamaModel.swift",
"Backend/MetalOps.swift"
],
"target_dependencies" : [
"AlpacaCore"
],
"type" : "library"
},
{
"c99name" : "AlpacaIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaIntegrationTests",
"path" : "Tests/AlpacaIntegrationTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlpacaIntegrationTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CPURealModelTests.swift",
"LayerwiseTests.swift",
"MetalRealModelTests.swift",
"PublicAPITests.swift",
"Support.swift"
],
"target_dependencies" : [
"Alpaca",
"AlpacaCore",
"AlpacaModels",
"AlpacaTokenizers",
"AlpacaMetal"
],
"type" : "test"
},
{
"c99name" : "AlpacaCoreTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaCoreTests",
"path" : "Tests/AlpacaCoreTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlpacaCoreTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"OperationTests.swift",
"SamplerTests.swift",
"Support.swift",
"TransformerTests.swift"
],
"target_dependencies" : [
"AlpacaCore"
],
"type" : "test"
},
{
"c99name" : "AlpacaCore",
"module_type" : "SwiftTarget",
"name" : "AlpacaCore",
"path" : "Sources/AlpacaCore",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"Memory/MemoryBudget.swift",
"Operations/CPUOps.swift",
"Operations/Quantization.swift",
"Runtime/ErrorMetrics.swift",
"Runtime/Sampler.swift",
"Tensor/DType.swift",
"Tensor/Tensor.swift",
"Tensor/TensorError.swift",
"Tensor/TensorStorage.swift",
"Transformer/KVCache.swift",
"Transformer/LlamaCPUModel.swift",
"Transformer/LlamaConfig.swift",
"Transformer/LlamaWeights.swift"
],
"type" : "library"
},
{
"c99name" : "AlpacaCLI",
"module_type" : "SwiftTarget",
"name" : "AlpacaCLI",
"path" : "Sources/AlpacaCLI",
"product_memberships" : [
"alpaca"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Alpaca"
],
"type" : "executable"
},
{
"c99name" : "Alpaca",
"module_type" : "SwiftTarget",
"name" : "Alpaca",
"path" : "Sources/Alpaca",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"Configuration.swift",
"Errors.swift",
"Generation.swift",
"LanguageModel.swift"
],
"target_dependencies" : [
"AlpacaCore",
"AlpacaMetal",
"AlpacaModels",
"AlpacaTokenizers"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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
Building for debugging...
[0/12] Write sources
[3/12] Write alpaca-entitlement.plist
[3/12] Write sources
[7/12] Copying Kernels
[8/12] Write swift-version-2F0A5646E1D333AE.txt
[10/28] Emitting module AlpacaCore
[11/29] Compiling AlpacaTokenizers ByteLevel.swift
[12/29] Compiling AlpacaCore LlamaWeights.swift
[13/29] Compiling AlpacaCore LlamaConfig.swift
[14/29] Compiling AlpacaTokenizers BPETokenizer.swift
[15/29] Emitting module AlpacaTokenizers
[16/29] Compiling AlpacaCore LlamaCPUModel.swift
[17/29] Compiling AlpacaCore TensorStorage.swift
[18/29] Compiling AlpacaCore KVCache.swift
[19/29] Compiling AlpacaCore Sampler.swift
[20/29] Compiling AlpacaCore DType.swift
[21/29] Compiling AlpacaCore TensorError.swift
[22/29] Compiling AlpacaCore Tensor.swift
[23/29] Compiling AlpacaCore MemoryBudget.swift
[24/29] Compiling AlpacaCore CPUOps.swift
[25/29] Compiling AlpacaCore Quantization.swift
[26/29] Compiling AlpacaCore ErrorMetrics.swift
[27/42] Compiling AlpacaModels GGUFTypes.swift
[28/42] Compiling AlpacaModels GGUFTokenizer.swift
[29/42] Compiling AlpacaModels LlamaLoader.swift
[30/42] Compiling AlpacaModels ByteReader.swift
[31/42] Emitting module AlpacaModels
[32/42] Compiling AlpacaModels GGUFError.swift
[33/42] Compiling AlpacaModels GGUFFile.swift
[34/42] Compiling AlpacaMetal resource_bundle_accessor.swift
[35/42] Compiling AlpacaMetal MetalOps.swift
[36/42] Compiling AlpacaMetal MetalContext.swift
[37/42] Compiling AlpacaMetal KernelEncoder.swift
[38/42] Emitting module AlpacaMetal
[39/42] Compiling AlpacaMetal MetalLlamaModel.swift
[40/47] Compiling Alpaca Errors.swift
[41/47] Compiling Alpaca Generation.swift
[42/47] Compiling Alpaca Configuration.swift
[43/47] Emitting module Alpaca
[44/47] Compiling Alpaca LanguageModel.swift
[45/49] Compiling AlpacaCLI main.swift
[46/49] Emitting module AlpacaCLI
[46/49] Write Objects.LinkFileList
[47/49] Linking alpaca
[48/49] Applying alpaca
Build complete! (9.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "alpaca.swift",
"name" : "alpaca.swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "Alpaca",
"targets" : [
"Alpaca"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "alpaca",
"targets" : [
"AlpacaCLI"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "AlpacaTokenizers",
"module_type" : "SwiftTarget",
"name" : "AlpacaTokenizers",
"path" : "Sources/AlpacaTokenizers",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"BPETokenizer.swift",
"ByteLevel.swift"
],
"type" : "library"
},
{
"c99name" : "AlpacaTokenizerTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaTokenizerTests",
"path" : "Tests/AlpacaTokenizerTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlpacaTokenizerTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"TokenizerTests.swift"
],
"target_dependencies" : [
"AlpacaTokenizers",
"AlpacaModels"
],
"type" : "test"
},
{
"c99name" : "AlpacaModels",
"module_type" : "SwiftTarget",
"name" : "AlpacaModels",
"path" : "Sources/AlpacaModels",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"GGUF/ByteReader.swift",
"GGUF/GGUFError.swift",
"GGUF/GGUFFile.swift",
"GGUF/GGUFTokenizer.swift",
"GGUF/GGUFTypes.swift",
"Llama/LlamaLoader.swift"
],
"target_dependencies" : [
"AlpacaCore",
"AlpacaTokenizers"
],
"type" : "library"
},
{
"c99name" : "AlpacaModelTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaModelTests",
"path" : "Tests/AlpacaModelTests",
"sources" : [
"GGUFBuilder.swift",
"GGUFParserTests.swift"
],
"target_dependencies" : [
"AlpacaModels",
"AlpacaCore"
],
"type" : "test"
},
{
"c99name" : "AlpacaMetalTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaMetalTests",
"path" : "Tests/AlpacaMetalTests",
"sources" : [
"KernelTests.swift"
],
"target_dependencies" : [
"AlpacaMetal",
"AlpacaCore"
],
"type" : "test"
},
{
"c99name" : "AlpacaMetal",
"module_type" : "SwiftTarget",
"name" : "AlpacaMetal",
"path" : "Sources/AlpacaMetal",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/AlpacaMetal/Kernels",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Backend/KernelEncoder.swift",
"Backend/MetalContext.swift",
"Backend/MetalLlamaModel.swift",
"Backend/MetalOps.swift"
],
"target_dependencies" : [
"AlpacaCore"
],
"type" : "library"
},
{
"c99name" : "AlpacaIntegrationTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaIntegrationTests",
"path" : "Tests/AlpacaIntegrationTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlpacaIntegrationTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"CPURealModelTests.swift",
"LayerwiseTests.swift",
"MetalRealModelTests.swift",
"PublicAPITests.swift",
"Support.swift"
],
"target_dependencies" : [
"Alpaca",
"AlpacaCore",
"AlpacaModels",
"AlpacaTokenizers",
"AlpacaMetal"
],
"type" : "test"
},
{
"c99name" : "AlpacaCoreTests",
"module_type" : "SwiftTarget",
"name" : "AlpacaCoreTests",
"path" : "Tests/AlpacaCoreTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/AlpacaCoreTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"OperationTests.swift",
"SamplerTests.swift",
"Support.swift",
"TransformerTests.swift"
],
"target_dependencies" : [
"AlpacaCore"
],
"type" : "test"
},
{
"c99name" : "AlpacaCore",
"module_type" : "SwiftTarget",
"name" : "AlpacaCore",
"path" : "Sources/AlpacaCore",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"Memory/MemoryBudget.swift",
"Operations/CPUOps.swift",
"Operations/Quantization.swift",
"Runtime/ErrorMetrics.swift",
"Runtime/Sampler.swift",
"Tensor/DType.swift",
"Tensor/Tensor.swift",
"Tensor/TensorError.swift",
"Tensor/TensorStorage.swift",
"Transformer/KVCache.swift",
"Transformer/LlamaCPUModel.swift",
"Transformer/LlamaConfig.swift",
"Transformer/LlamaWeights.swift"
],
"type" : "library"
},
{
"c99name" : "AlpacaCLI",
"module_type" : "SwiftTarget",
"name" : "AlpacaCLI",
"path" : "Sources/AlpacaCLI",
"product_memberships" : [
"alpaca"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Alpaca"
],
"type" : "executable"
},
{
"c99name" : "Alpaca",
"module_type" : "SwiftTarget",
"name" : "Alpaca",
"path" : "Sources/Alpaca",
"product_memberships" : [
"Alpaca",
"alpaca"
],
"sources" : [
"Configuration.swift",
"Errors.swift",
"Generation.swift",
"LanguageModel.swift"
],
"target_dependencies" : [
"AlpacaCore",
"AlpacaMetal",
"AlpacaModels",
"AlpacaTokenizers"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.