Build Information
Failed to build mlx-swift-lm, reference 2.29.2 (018529), with Swift 5.10 for macOS (SPM) on 12 Nov 2025 07:07:08 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-lm.git
Reference: 2.29.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-explore/mlx-swift-lm
* tag 2.29.2 -> FETCH_HEAD
HEAD is now at 0185297 Merge pull request #2 from ml-explore/nits_in_readme
Cloned https://github.com/ml-explore/mlx-swift-lm.git
Revision (git rev-parse @):
01852971866b17889f7aff27500cc62d9148b0df
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-lm.git at 2.29.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift-lm.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
[1/5000] Fetching swift-transformers
[251/16768] Fetching swift-transformers, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (2.07s)
Fetched https://github.com/huggingface/swift-transformers from cache (2.07s)
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/6380] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.03s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.2 (0.37s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/759] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.84s)
Computing version for https://github.com/huggingface/swift-jinja.git
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.1 depends on 'swift-jinja' 2.0.0..<3.0.0 and 'swift-transformers' 1.1.2 depends on 'swift-jinja' 2.0.0..<3.0.0.
'swift-transformers' {1.1.0..<1.1.1, 1.1.3..<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.
'swift-transformers' {1.1.0, 1.1.3..<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.3..<1.2.0 and 'swift-transformers' 1.1.0 depends on 'swift-jinja' 2.0.0..<3.0.0.
BUILD FAILURE 5.10 macosSpm