The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build mlx-swift-lm, reference main (74f85d), with Swift 5.10 for Linux on 9 Dec 2025 01:29:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-lm.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ml-explore/mlx-swift-lm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 74f85d9 Add Mistral 3, fix SuScaledRoPE (#16)
Cloned https://github.com/ml-explore/mlx-swift-lm.git
Revision (git rev-parse @):
74f85d9505032ec3403c94ba159472244fe78767
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-lm.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ml-explore/mlx-swift-lm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:29cd06ed395b3a820a5601000e78fbe5268c851b388429ada04eeea41d67dbe0
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
[1/5141] Fetching swift-transformers
[1255/17343] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (1.43s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.44s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (0.59s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.55s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.4 (0.58s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/783] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.31s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.64s)
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.3 depends on 'swift-jinja' 2.0.0..<3.0.0 and 'swift-transformers' 1.1.4 depends on 'swift-jinja' 2.0.0..<3.0.0.
'swift-transformers' {1.1.0..<1.1.3, 1.1.5..<1.2.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.5..<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.5..<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.5..<1.2.0 and 'swift-transformers' 1.1.0 depends on 'swift-jinja' 2.0.0..<3.0.0.
BUILD FAILURE 5.10 linux