Build Information
Failed to build mlx-swift-lm, reference main (a2e01f), with Swift 6.1 for Linux on 9 May 2026 01:38:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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.1
Building package at path: $PWD
https://github.com/DePasqualeOrg/mlx-swift-lm.git
https://github.com/DePasqualeOrg/mlx-swift-lm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-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.75s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.88s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.98s)
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
[8/162] Compiling error.cpp
[9/162] Compiling _NumericsShims _NumericsShims.c
[9/162] Write sources
[13/162] Compiling version.cpp
[14/162] Compiling export.cpp
[15/162] Compiling utils.cpp
[16/162] Compiling map.cpp
[17/162] Compiling fft.cpp
[18/162] Compiling io.cpp
[19/162] Compiling io_types.cpp
[20/162] Write swift-version-24593BA9C3E375BF.txt
[21/162] Compiling linalg.cpp
[23/173] Compiling RealModule AlgebraicField.swift
[24/173] Compiling RealModule ApproximateEquality.swift
[25/174] Compiling RealModule RelaxedArithmetic.swift
[26/174] Compiling RealModule RealFunctions.swift
[27/174] Compiling RealModule Real.swift
[28/174] Emitting module RealModule
[29/174] Compiling RealModule AugmentedArithmetic.swift
[30/174] Compiling RealModule Double+Real.swift
[31/174] Compiling RealModule Float16+Real.swift
[32/174] Compiling RealModule ElementaryFunctions.swift
[33/174] Compiling RealModule Float+Real.swift
[34/174] Compiling RealModule Float80+Real.swift
[35/175] Compiling scheduler.cpp
[36/175] Compiling random.cpp
[38/186] Compiling ComplexModule Polar.swift
[39/187] Compiling ComplexModule Complex+StringConvertible.swift
[40/187] Compiling ComplexModule Complex+Hashable.swift
[41/187] Compiling ComplexModule Complex+IntegerLiteral.swift
[42/187] Compiling ComplexModule Complex+Numeric.swift
[43/187] Compiling ComplexModule Complex.swift
[44/187] Compiling ComplexModule Scale.swift
[44/187] Compiling linalg.cpp
[46/187] Compiling ComplexModule Complex+Codable.swift
[47/187] Compiling ComplexModule Complex+ElementaryFunctions.swift
[48/187] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[49/187] Compiling ComplexModule Complex+AlgebraicField.swift
[49/187] Compiling no_gguf.cpp
[51/187] Emitting module ComplexModule
[52/188] Compiling transforms.cpp
[54/190] Compiling Numerics Numerics.swift
[55/190] Emitting module Numerics
[56/191] Compiling load.cpp
[57/191] Compiling primitives.cpp
[58/191] Compiling graph_utils.cpp
[59/191] Compiling safetensors.cpp
[60/191] Compiling fft.cpp
[61/191] Compiling dtype.cpp
[62/191] Compiling fast.cpp
[63/191] Compiling utils.cpp
[64/191] Compiling dtype_utils.cpp
[65/191] Compiling no_ring.cpp
[66/191] Compiling einsum.cpp
[67/191] Compiling no_mpi.cpp
[68/191] Compiling no_nccl.cpp
[69/191] Compiling no_jaccl.cpp
[70/191] Compiling ops.cpp
[71/191] Compiling device.cpp
[72/191] Compiling primitives.cpp
[73/191] Compiling ops.cpp
[74/191] Compiling distributed.cpp
[75/191] Compiling device_info.cpp
[76/191] Compiling fence.cpp
[77/191] Compiling allocator.cpp
[78/191] Compiling eval.cpp
[79/191] Compiling primitives.cpp
[80/191] Compiling threefry.cpp
[81/191] Compiling event.cpp
[82/191] Compiling no_metal.cpp
[83/191] Compiling no_cuda.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.
[84/191] Compiling svd.cpp
[84/191] Compiling sort.cpp
[84/191] Compiling scan.cpp
[84/191] Compiling unary.cpp
[84/191] Compiling softmax.cpp
[84/191] Compiling compile.cpp
[84/191] Compiling select.cpp
[84/191] Compiling export.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/108] Compiling svd.cpp
[0/108] Compiling select.cpp
[0/108] Compiling softmax.cpp
[0/108] Compiling export.cpp
[0/108] Compiling scan.cpp
[0/108] Compiling unary.cpp
[0/108] Compiling sort.cpp
[0/108] Compiling compile.cpp
BUILD FAILURE 6.1 linux