The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mlx-swift-lm, reference main (a2e01f), with Swift 6.2 for Linux on 9 May 2026 01:38:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/DePasqualeOrg/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/DePasqualeOrg/mlx-swift-lm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a2e01f7 Fix model implementations
Cloned https://github.com/DePasqualeOrg/mlx-swift-lm.git
Revision (git rev-parse @):
a2e01f72b0581cbac1e1d9effb4f3aead5123619
SUCCESS checkout https://github.com/DePasqualeOrg/mlx-swift-lm.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/DePasqualeOrg/mlx-swift-lm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:0ddb100795e64f71518020a73ad8441aeb43832ede7f1202ae7f8de93664f90d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/14250] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (2.18s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.3 (3.25s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.71s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.39s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.3
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Building for debugging...
[0/162] Write sources
[9/162] Compiling reduce.cpp
[10/162] Compiling _NumericsShims _NumericsShims.c
[11/162] Write sources
[14/162] Compiling version.cpp
[15/162] Compiling utils.cpp
[16/162] Compiling format.cc
[17/162] Compiling compile.cpp
[18/162] Compiling cuda.cpp
[19/162] Compiling device.cpp
[20/162] Write swift-version-24593BA9C3E375BF.txt
[21/162] Compiling array.cpp
[22/163] Compiling closure.cpp
[23/173] Compiling scheduler.cpp
[24/173] Compiling random.cpp
[25/173] Compiling linalg.cpp
[27/173] Compiling RealModule RealFunctions.swift
[28/174] Compiling RealModule AugmentedArithmetic.swift
[29/174] Compiling RealModule Double+Real.swift
[30/174] Compiling RealModule AlgebraicField.swift
[31/174] Compiling RealModule ApproximateEquality.swift
[32/174] Emitting module RealModule
[33/174] Compiling RealModule Real.swift
[34/174] Compiling RealModule Float80+Real.swift
[35/174] Compiling RealModule Float16+Real.swift
[36/174] Compiling RealModule ElementaryFunctions.swift
[37/174] Compiling RealModule Float+Real.swift
[38/174] Compiling RealModule RelaxedArithmetic.swift
[39/175] Compiling transforms.cpp
[40/175] Compiling no_gguf.cpp
[42/186] Compiling ComplexModule Complex+StringConvertible.swift
[43/187] Compiling ComplexModule Complex+Hashable.swift
[44/187] Compiling ComplexModule Complex+IntegerLiteral.swift
[45/187] Compiling ComplexModule Complex+Numeric.swift
[46/187] Compiling ComplexModule Polar.swift
[47/187] Compiling ComplexModule Scale.swift
[48/187] Compiling ComplexModule Complex.swift
[49/187] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[50/187] Compiling ComplexModule Complex+AlgebraicField.swift
[51/187] Compiling ComplexModule Complex+Codable.swift
[52/187] Compiling ComplexModule Complex+ElementaryFunctions.swift
[53/187] Emitting module ComplexModule
[54/188] Compiling primitives.cpp
[56/190] Compiling Numerics Numerics.swift
[57/190] Emitting module Numerics
[58/191] Compiling load.cpp
[59/191] Compiling graph_utils.cpp
[60/191] Compiling safetensors.cpp
[61/191] Compiling fft.cpp
[62/191] Compiling dtype.cpp
[63/191] Compiling dtype_utils.cpp
[64/191] Compiling utils.cpp
[65/191] Compiling fast.cpp
[66/191] Compiling no_ring.cpp
[67/191] Compiling einsum.cpp
[68/191] Compiling no_nccl.cpp
[69/191] Compiling no_mpi.cpp
[70/191] Compiling no_jaccl.cpp
[71/191] Compiling ops.cpp
[72/191] Compiling device.cpp
[73/191] Compiling distributed.cpp
[74/191] Compiling primitives.cpp
[75/191] Compiling ops.cpp
[76/191] Compiling device_info.cpp
[77/191] Compiling allocator.cpp
[78/191] Compiling fence.cpp
[79/191] Compiling eval.cpp
[80/191] Compiling threefry.cpp
[81/191] Compiling event.cpp
[82/191] Compiling primitives.cpp
[83/191] Compiling no_metal.cpp
[84/191] Compiling no_cuda.cpp
[85/191] Compiling compile.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/svd.cpp:6:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:17:10: fatal error: 'cblas.h' file not found
   17 | #include <cblas.h>
      |          ^~~~~~~~~
1 error generated.
[86/191] Compiling svd.cpp
[86/191] Compiling unary.cpp
[86/191] Compiling select.cpp
[86/191] Compiling sort.cpp
[86/191] Compiling softmax.cpp
[86/191] Compiling reduce.cpp
[86/191] Compiling scan.cpp
[86/191] Compiling export.cpp
BUILD FAILURE 6.2 linux