Build Information
Failed to build mlx-libraries, reference main (fc3afc), with Swift 5.10 for macOS (SPM) on 12 Dec 2025 01:57:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-examples.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-explore/mlx-swift-examples
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fc3afc7 Update LLMEval example (#452)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
fc3afc7cdbc4b6120d210c4c58c6b132ce346775
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift-examples.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
[1/1557] Fetching gzipswift
[282/6709] Fetching gzipswift, swift-transformers
[588/18938] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (2.08s)
Fetched https://github.com/huggingface/swift-transformers from cache (2.08s)
Fetched https://github.com/1024jp/GzipSwift from cache (2.08s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (2.48s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (0.40s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.13s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.5 (0.51s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/783] Fetching swift-jinja
[612/19161] Fetching swift-jinja, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.97s)
Fetched https://github.com/apple/swift-collections.git from cache (1.97s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.39s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (0.00s)
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (0.00s)
error: Dependencies could not be resolved because 'swift-jinja' >= 2.0.0 contains incompatible tools version (6.0.0) and root depends on 'swift-transformers' 1.1.0..<1.2.0.
'swift-transformers' >= 1.1.0 practically depends on 'swift-jinja' 2.0.0..<3.0.0 because 'swift-transformers' 1.1.4 depends on 'swift-jinja' 2.0.0..<3.0.0 and 'swift-transformers' 1.1.5 depends on 'swift-jinja' 2.0.0..<3.0.0.
'swift-transformers' {1.1.0..<1.1.4, 1.1.6..<1.2.0} practically depends on 'swift-jinja' 2.0.0..<3.0.0 because 'swift-transformers' 1.1.2 depends on 'swift-jinja' 2.0.0..<3.0.0 and 'swift-transformers' 1.1.3 depends on 'swift-jinja' 2.0.0..<3.0.0.
'swift-transformers' {1.1.0..<1.1.2, 1.1.6..<1.2.0} practically depends on 'swift-jinja' 2.0.0..<3.0.0 because 'swift-transformers' 1.1.0 depends on 'swift-jinja' 2.0.0..<3.0.0 and 'swift-transformers' 1.1.1 depends on 'swift-jinja' 2.0.0..<3.0.0.
'swift-transformers' {1.1.0, 1.1.6..<1.2.0} practically depends on 'swift-jinja' 2.0.0..<3.0.0 because no versions of 'swift-transformers' match the requirement 1.1.6..<1.2.0 and 'swift-transformers' 1.1.0 depends on 'swift-jinja' 2.0.0..<3.0.0.
BUILD FAILURE 5.10 macosSpm