Build Information
Failed to build mlx-turbovec-swift, reference main (2e9aca), with Swift 6.1 for Linux on 1 Jul 2026 05:54:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/offlyn-ai/mlx-turbovec-swift.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/offlyn-ai/mlx-turbovec-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2e9acad Add MLX GPU acceleration backend
Cloned https://github.com/offlyn-ai/mlx-turbovec-swift.git
Revision (git rev-parse @):
2e9acad9bdd02b70685ae9a8ebfdf467b4c6ff08
SUCCESS checkout https://github.com/offlyn-ai/mlx-turbovec-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/offlyn-ai/mlx-turbovec-swift.git
https://github.com/offlyn-ai/mlx-turbovec-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/15112] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift from cache (0.93s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.27s)
Fetching https://github.com/apple/swift-numerics
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.76s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.99s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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.4
Building for debugging...
[0/166] Write sources
[7/166] Compiling _NumericsShims _NumericsShims.c
[8/166] Compiling version.cpp
[9/166] Compiling utils.cpp
[10/166] Compiling scheduler.cpp
[11/166] Compiling random.cpp
[12/166] Compiling linalg.cpp
[13/166] Compiling map.cpp
[13/166] Write swift-version-24593BA9C3E375BF.txt
[16/177] Emitting module RealModule
[16/178] Compiling transforms.cpp
[17/178] Compiling no_gguf.cpp
[19/178] Compiling RealModule RealFunctions.swift
[20/178] Compiling RealModule AlgebraicField.swift
[21/178] Compiling RealModule ApproximateEquality.swift
[22/178] Compiling RealModule Float80+Real.swift
[23/178] Compiling RealModule Float16+Real.swift
[24/178] Compiling RealModule Real.swift
[24/178] Compiling primitives.cpp
[26/178] Compiling RealModule RelaxedArithmetic.swift
[27/178] Compiling RealModule AugmentedArithmetic.swift
[28/178] Compiling RealModule Double+Real.swift
[28/178] Compiling linalg.cpp
[30/178] Compiling RealModule ElementaryFunctions.swift
[31/178] Compiling RealModule Float+Real.swift
[32/190] Compiling load.cpp
[33/190] Wrapping AST for RealModule for debugging
[35/190] Compiling ComplexModule Polar.swift
[36/191] Compiling ComplexModule Complex+Hashable.swift
[37/191] Compiling ComplexModule Complex+IntegerLiteral.swift
[38/191] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[39/191] Compiling ComplexModule Complex+AlgebraicField.swift
[40/191] Compiling ComplexModule Complex.swift
[41/191] Compiling ComplexModule Complex+Numeric.swift
[42/191] Compiling ComplexModule Complex+StringConvertible.swift
[43/191] Emitting module ComplexModule
[44/191] Compiling ComplexModule Scale.swift
[45/191] Compiling ComplexModule Complex+Codable.swift
[46/191] Compiling ComplexModule Complex+ElementaryFunctions.swift
[47/192] Compiling graph_utils.cpp
[48/194] Wrapping AST for ComplexModule for debugging
[50/194] Compiling Numerics Numerics.swift
[51/194] Emitting module Numerics
[52/195] Compiling fft.cpp
[53/195] Wrapping AST for Numerics for debugging
[54/195] Compiling dtype.cpp
[55/195] Compiling dtype_utils.cpp
[56/195] Compiling safetensors.cpp
[57/195] Compiling einsum.cpp
[58/195] Compiling utils.cpp
[59/195] Compiling fast.cpp
[60/195] Compiling no_ring.cpp
[61/195] Compiling no_nccl.cpp
[62/195] Compiling no_mpi.cpp
[63/195] Compiling no_jaccl.cpp
[64/195] Compiling device.cpp
[65/195] Compiling primitives.cpp
[66/195] Compiling ops.cpp
[68/195] Compiling distributed.cpp
[69/195] Compiling device_info.cpp
[70/195] Compiling allocator.cpp
[71/195] Compiling fence.cpp
[72/195] Compiling event.cpp
[73/195] Compiling eval.cpp
[74/195] Compiling threefry.cpp
[75/195] Compiling primitives.cpp
[76/195] Compiling no_metal.cpp
[77/195] Compiling no_cuda.cpp
[78/195] 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.
[79/195] Compiling svd.cpp
[79/195] Compiling reduce.cpp
[79/195] Compiling scan.cpp
[79/195] Compiling sort.cpp
[79/195] Compiling select.cpp
[79/195] Compiling softmax.cpp
[79/195] Compiling unary.cpp
[79/195] Compiling export.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/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/120] Compiling svd.cpp
[0/120] Compiling softmax.cpp
[0/120] Compiling reduce.cpp
[0/120] Compiling select.cpp
[0/120] Compiling sort.cpp
[0/120] Compiling scan.cpp
[0/120] Compiling export.cpp
[0/120] Compiling unary.cpp
BUILD FAILURE 6.1 linux