Build Information
Successful build of Ollama, reference main (b28bcb
), with Swift 6.0 for macOS (SPM) on 12 Apr 2025 03:32:54 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/loopwork-ai/ollama-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/loopwork-ai/ollama-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b28bcb6 Bump version to 1.4.0
Cloned https://github.com/loopwork-ai/ollama-swift.git
Revision (git rev-parse @):
b28bcb699e21ca4ed09dccb1ed326cbad1bddce3
SUCCESS checkout https://github.com/loopwork-ai/ollama-swift.git at main
========================================
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",
"dependencies": [
{
"identity": "ollama-swift",
"name": "Ollama",
"url": "https://github.com/loopwork-ai/ollama-swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ollama-swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/loopwork-ai/ollama-swift.git
[1/575] Fetching ollama-swift
Fetched https://github.com/loopwork-ai/ollama-swift.git from cache (0.67s)
Creating working copy for https://github.com/loopwork-ai/ollama-swift.git
Working copy of https://github.com/loopwork-ai/ollama-swift.git resolved at main (b28bcb6)
warning: '.resolve-product-dependencies': dependency 'ollama-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/loopwork-ai/ollama-swift.git
https://github.com/loopwork-ai/ollama-swift.git
{
"dependencies" : [
],
"manifest_display_name" : "Ollama",
"name" : "Ollama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Ollama",
"targets" : [
"Ollama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OllamaTests",
"module_type" : "SwiftTarget",
"name" : "OllamaTests",
"path" : "Tests/OllamaTests",
"sources" : [
"ClientTests.swift",
"DataURLTests.swift",
"Fixtures/HexColorTool.swift",
"ISO8601WithFractionalSecondsTests.swift",
"ToolTests.swift",
"ValueTests.swift"
],
"target_dependencies" : [
"Ollama"
],
"type" : "test"
},
{
"c99name" : "Ollama",
"module_type" : "SwiftTarget",
"name" : "Ollama",
"path" : "Sources/Ollama",
"product_memberships" : [
"Ollama"
],
"sources" : [
"Chat.swift",
"Client.swift",
"Embeddings.swift",
"Extensions/Data+Extensions.swift",
"Extensions/JSONDecoder+Extensions.swift",
"Model.swift",
"Tool.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/11] Compiling Ollama Tool.swift
[4/11] Compiling Ollama Model.swift
[5/11] Compiling Ollama Value.swift
[6/11] Compiling Ollama Embeddings.swift
[7/11] Compiling Ollama Chat.swift
[8/11] Compiling Ollama JSONDecoder+Extensions.swift
[9/11] Compiling Ollama Client.swift
[10/11] Emitting module Ollama
[11/11] Compiling Ollama Data+Extensions.swift
Build complete! (12.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Ollama",
"name" : "Ollama",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Ollama",
"targets" : [
"Ollama"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OllamaTests",
"module_type" : "SwiftTarget",
"name" : "OllamaTests",
"path" : "Tests/OllamaTests",
"sources" : [
"ClientTests.swift",
"DataURLTests.swift",
"Fixtures/HexColorTool.swift",
"ISO8601WithFractionalSecondsTests.swift",
"ToolTests.swift",
"ValueTests.swift"
],
"target_dependencies" : [
"Ollama"
],
"type" : "test"
},
{
"c99name" : "Ollama",
"module_type" : "SwiftTarget",
"name" : "Ollama",
"path" : "Sources/Ollama",
"product_memberships" : [
"Ollama"
],
"sources" : [
"Chat.swift",
"Client.swift",
"Embeddings.swift",
"Extensions/Data+Extensions.swift",
"Extensions/JSONDecoder+Extensions.swift",
"Model.swift",
"Tool.swift",
"Value.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.