Build Information
Successful build of GemmaEmbed, reference v0.4.1 (5d1020), with Swift 6.1 for macOS (SPM) on 30 Oct 2026 09:21:52 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/maralski/gemma-embed-swift.git
Reference: v0.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maralski/gemma-embed-swift
* tag v0.4.1 -> FETCH_HEAD
HEAD is now at 5d10200 chore: prepare v0.4.1 release (#4)
Cloned https://github.com/maralski/gemma-embed-swift.git
Revision (git rev-parse @):
5d10200c6a6dfd4cece6b34e3707f3972c153ef1
SUCCESS checkout https://github.com/maralski/gemma-embed-swift.git at v0.4.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/maralski/gemma-embed-swift.git
https://github.com/maralski/gemma-embed-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "GemmaEmbed",
"name" : "GemmaEmbed",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "GemmaEmbed",
"targets" : [
"GemmaEmbed"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "gemma-embed",
"targets" : [
"gemma-embed"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "gemma_embed",
"module_type" : "SwiftTarget",
"name" : "gemma-embed",
"path" : "Sources/gemma-embed",
"product_memberships" : [
"gemma-embed"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GemmaEmbed"
],
"type" : "executable"
},
{
"c99name" : "GemmaEmbedTests",
"module_type" : "SwiftTarget",
"name" : "GemmaEmbedTests",
"path" : "Tests/GemmaEmbedTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GemmaEmbedTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AudioDecoderTests.swift",
"AudioEmbeddingTests.swift",
"AudioPreprocessingTests.swift",
"BatchAttentionRegisterTests.swift",
"BatchRegisterGemmTests.swift",
"CPUAudioReferenceTests.swift",
"CPUReferenceTests.swift",
"CPUVisionReferenceTests.swift",
"EmbeddingModelTests.swift",
"GGUFReaderTests.swift",
"ImageEmbeddingTests.swift",
"ImagePreprocessingTests.swift",
"JPEGDecoderTests.swift",
"KernelTests.swift",
"MetalAudioForwardTests.swift",
"MetalForwardTests.swift",
"MetalImageForwardTests.swift",
"MultimodalEmbeddingTests.swift",
"MultimodalSequenceTests.swift",
"RegisterFragmentTests.swift",
"ShaderSourceTests.swift",
"TestSupport.swift",
"TokenizerTests.swift",
"VisionGGUFTests.swift"
],
"target_dependencies" : [
"GemmaEmbed"
],
"type" : "test"
},
{
"c99name" : "GemmaEmbed",
"module_type" : "SwiftTarget",
"name" : "GemmaEmbed",
"path" : "Sources/GemmaEmbed",
"product_memberships" : [
"GemmaEmbed",
"gemma-embed"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GemmaEmbed/Shaders",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Audio/AudioDecoder.swift",
"Audio/AudioInput.swift",
"Audio/AudioPreprocessor.swift",
"Audio/MiniaudioConverter.swift",
"Audio/WAVDecoder.swift",
"AudioEmbedding.swift",
"EmbedOptions.swift",
"EmbeddingModel.swift",
"Errors.swift",
"GGUF/GGUFFile.swift",
"GGUF/GGUFValue.swift",
"GGUF/MappedFile.swift",
"Image/ImageDecoder.swift",
"Image/ImageInput.swift",
"Image/ImagePreprocessor.swift",
"Image/ImageResizer.swift",
"Image/JPEGDecoder.swift",
"Image/JPEGReconstruction.swift",
"ImageEmbedding.swift",
"Metal/AudioTower.swift",
"Metal/Autotune.swift",
"Metal/EmbeddedShaders.swift",
"Metal/KernelParams.swift",
"Metal/MetalContext.swift",
"Metal/MetalForward.swift",
"Metal/Profiler.swift",
"Metal/VisionTower.swift",
"Model/AudioConfig.swift",
"Model/AudioWeights.swift",
"Model/CPUAudioReference.swift",
"Model/CPUReference.swift",
"Model/CPUVisionReference.swift",
"Model/InputRow.swift",
"Model/ModelConfig.swift",
"Model/RopeTable.swift",
"Model/VisionConfig.swift",
"Model/VisionWeights.swift",
"Model/Weights.swift",
"MultimodalEmbedding.swift",
"Tokenizer/Tokenizer.swift"
],
"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/8] Write sources
[1/8] Write gemma-embed-entitlement.plist
[2/8] Write sources
[3/8] Copying Shaders
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/46] Emitting module GemmaEmbed
[7/50] Compiling GemmaEmbed Weights.swift
[8/50] Compiling GemmaEmbed MultimodalEmbedding.swift
[9/50] Compiling GemmaEmbed Tokenizer.swift
[10/50] Compiling GemmaEmbed resource_bundle_accessor.swift
[11/50] Compiling GemmaEmbed ModelConfig.swift
[12/50] Compiling GemmaEmbed RopeTable.swift
[13/50] Compiling GemmaEmbed VisionConfig.swift
[14/50] Compiling GemmaEmbed VisionWeights.swift
[15/50] Compiling GemmaEmbed ImageInput.swift
[16/50] Compiling GemmaEmbed ImagePreprocessor.swift
[17/50] Compiling GemmaEmbed ImageResizer.swift
[18/50] Compiling GemmaEmbed JPEGDecoder.swift
[19/50] Compiling GemmaEmbed AudioEmbedding.swift
[20/50] Compiling GemmaEmbed EmbedOptions.swift
[21/50] Compiling GemmaEmbed EmbeddingModel.swift
[22/50] Compiling GemmaEmbed Errors.swift
[23/50] Compiling GemmaEmbed Profiler.swift
[24/50] Compiling GemmaEmbed VisionTower.swift
[25/50] Compiling GemmaEmbed AudioConfig.swift
[26/50] Compiling GemmaEmbed AudioWeights.swift
[27/50] Compiling GemmaEmbed GGUFFile.swift
[28/50] Compiling GemmaEmbed GGUFValue.swift
[29/50] Compiling GemmaEmbed MappedFile.swift
[30/50] Compiling GemmaEmbed ImageDecoder.swift
[31/50] Compiling GemmaEmbed JPEGReconstruction.swift
[32/50] Compiling GemmaEmbed ImageEmbedding.swift
[33/50] Compiling GemmaEmbed AudioTower.swift
[34/50] Compiling GemmaEmbed Autotune.swift
[35/50] Compiling GemmaEmbed EmbeddedShaders.swift
[36/50] Compiling GemmaEmbed KernelParams.swift
[37/50] Compiling GemmaEmbed MetalContext.swift
[38/50] Compiling GemmaEmbed MetalForward.swift
[39/50] Compiling GemmaEmbed CPUAudioReference.swift
[40/50] Compiling GemmaEmbed CPUReference.swift
[41/50] Compiling GemmaEmbed CPUVisionReference.swift
[42/50] Compiling GemmaEmbed InputRow.swift
[43/50] Compiling GemmaEmbed AudioDecoder.swift
[44/50] Compiling GemmaEmbed AudioInput.swift
[45/50] Compiling GemmaEmbed AudioPreprocessor.swift
[46/50] Compiling GemmaEmbed MiniaudioConverter.swift
[47/50] Compiling GemmaEmbed WAVDecoder.swift
[48/52] Emitting module gemma_embed
[49/52] Compiling gemma_embed main.swift
[49/52] Write Objects.LinkFileList
[50/52] Linking gemma-embed
[51/52] Applying gemma-embed
Build complete! (11.60s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GemmaEmbed",
"name" : "GemmaEmbed",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "GemmaEmbed",
"targets" : [
"GemmaEmbed"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "gemma-embed",
"targets" : [
"gemma-embed"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "gemma_embed",
"module_type" : "SwiftTarget",
"name" : "gemma-embed",
"path" : "Sources/gemma-embed",
"product_memberships" : [
"gemma-embed"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GemmaEmbed"
],
"type" : "executable"
},
{
"c99name" : "GemmaEmbedTests",
"module_type" : "SwiftTarget",
"name" : "GemmaEmbedTests",
"path" : "Tests/GemmaEmbedTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GemmaEmbedTests/Fixtures",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"AudioDecoderTests.swift",
"AudioEmbeddingTests.swift",
"AudioPreprocessingTests.swift",
"BatchAttentionRegisterTests.swift",
"BatchRegisterGemmTests.swift",
"CPUAudioReferenceTests.swift",
"CPUReferenceTests.swift",
"CPUVisionReferenceTests.swift",
"EmbeddingModelTests.swift",
"GGUFReaderTests.swift",
"ImageEmbeddingTests.swift",
"ImagePreprocessingTests.swift",
"JPEGDecoderTests.swift",
"KernelTests.swift",
"MetalAudioForwardTests.swift",
"MetalForwardTests.swift",
"MetalImageForwardTests.swift",
"MultimodalEmbeddingTests.swift",
"MultimodalSequenceTests.swift",
"RegisterFragmentTests.swift",
"ShaderSourceTests.swift",
"TestSupport.swift",
"TokenizerTests.swift",
"VisionGGUFTests.swift"
],
"target_dependencies" : [
"GemmaEmbed"
],
"type" : "test"
},
{
"c99name" : "GemmaEmbed",
"module_type" : "SwiftTarget",
"name" : "GemmaEmbed",
"path" : "Sources/GemmaEmbed",
"product_memberships" : [
"GemmaEmbed",
"gemma-embed"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GemmaEmbed/Shaders",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Audio/AudioDecoder.swift",
"Audio/AudioInput.swift",
"Audio/AudioPreprocessor.swift",
"Audio/MiniaudioConverter.swift",
"Audio/WAVDecoder.swift",
"AudioEmbedding.swift",
"EmbedOptions.swift",
"EmbeddingModel.swift",
"Errors.swift",
"GGUF/GGUFFile.swift",
"GGUF/GGUFValue.swift",
"GGUF/MappedFile.swift",
"Image/ImageDecoder.swift",
"Image/ImageInput.swift",
"Image/ImagePreprocessor.swift",
"Image/ImageResizer.swift",
"Image/JPEGDecoder.swift",
"Image/JPEGReconstruction.swift",
"ImageEmbedding.swift",
"Metal/AudioTower.swift",
"Metal/Autotune.swift",
"Metal/EmbeddedShaders.swift",
"Metal/KernelParams.swift",
"Metal/MetalContext.swift",
"Metal/MetalForward.swift",
"Metal/Profiler.swift",
"Metal/VisionTower.swift",
"Model/AudioConfig.swift",
"Model/AudioWeights.swift",
"Model/CPUAudioReference.swift",
"Model/CPUReference.swift",
"Model/CPUVisionReference.swift",
"Model/InputRow.swift",
"Model/ModelConfig.swift",
"Model/RopeTable.swift",
"Model/VisionConfig.swift",
"Model/VisionWeights.swift",
"Model/Weights.swift",
"MultimodalEmbedding.swift",
"Tokenizer/Tokenizer.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.