The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-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.3
Building package at path:  $PWD
https://github.com/DePasqualeOrg/mlx-swift-lm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/14250] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (1.28s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.3 (1.90s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.82s)
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
[11/162] Compiling _NumericsShims _NumericsShims.c
[12/162] Compiling version.cpp
[13/162] Write swift-version-24593BA9C3E375BF.txt
[14/162] Compiling utils.cpp
[15/173] Compiling scheduler.cpp
[16/173] Compiling random.cpp
[17/173] Compiling linalg.cpp
[18/173] Compiling no_gguf.cpp
[19/173] Compiling transforms.cpp
[21/173] Compiling RealModule Float80+Real.swift
[22/174] Compiling RealModule AlgebraicField.swift
[23/174] Compiling RealModule ApproximateEquality.swift
[24/174] Emitting module RealModule
[25/174] Compiling RealModule AugmentedArithmetic.swift
[26/174] Compiling RealModule Double+Real.swift
[27/174] Compiling RealModule Float16+Real.swift
[28/174] Compiling RealModule RelaxedArithmetic.swift
[29/174] Compiling RealModule Real.swift
[30/174] Compiling RealModule RealFunctions.swift
[31/174] Compiling RealModule ElementaryFunctions.swift
[32/174] Compiling RealModule Float+Real.swift
[33/175] Compiling primitives.cpp
[35/186] Compiling ComplexModule Polar.swift
[36/187] Compiling ComplexModule Complex+Hashable.swift
[37/187] Compiling ComplexModule Complex+IntegerLiteral.swift
[38/187] Compiling ComplexModule Complex+StringConvertible.swift
[39/187] Compiling ComplexModule Complex+Numeric.swift
[40/187] Compiling ComplexModule Complex.swift
[41/187] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[42/187] Compiling ComplexModule Complex+AlgebraicField.swift
[43/187] Compiling ComplexModule Scale.swift
[44/187] Emitting module ComplexModule
[45/187] Compiling ComplexModule Complex+Codable.swift
[46/187] Compiling ComplexModule Complex+ElementaryFunctions.swift
[48/190] Emitting module Numerics
[49/190] Compiling Numerics Numerics.swift
[50/191] Compiling safetensors.cpp
[51/191] Compiling graph_utils.cpp
[52/191] Compiling load.cpp
[53/191] Compiling fft.cpp
[54/191] Compiling utils.cpp
[55/191] Compiling dtype_utils.cpp
[56/191] Compiling dtype.cpp
[57/191] Compiling no_ring.cpp
[58/191] Compiling fast.cpp
[59/191] Compiling einsum.cpp
[60/191] Compiling no_nccl.cpp
[61/191] Compiling ops.cpp
[62/191] Compiling primitives.cpp
[63/191] Compiling no_mpi.cpp
[64/191] Compiling device.cpp
[65/191] Compiling no_jaccl.cpp
[66/191] Compiling ops.cpp
[67/191] Compiling distributed.cpp
[68/191] Compiling device_info.cpp
[69/191] Compiling allocator.cpp
[70/191] Compiling fence.cpp
[71/191] Compiling eval.cpp
[72/191] Compiling primitives.cpp
[73/191] Compiling threefry.cpp
[74/191] Compiling no_metal.cpp
[75/191] Compiling event.cpp
[76/191] Compiling no_cuda.cpp
[77/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.
[78/191] Compiling svd.cpp
[78/191] Compiling scan.cpp
[78/191] Compiling select.cpp
[78/191] Compiling reduce.cpp
[78/191] Compiling sort.cpp
[78/191] Compiling softmax.cpp
[78/191] Compiling unary.cpp
[78/191] Compiling export.cpp
BUILD FAILURE 6.3 linux