Build Information
Failed to build mlx-turbovec-swift, reference main (2e9aca), with Swift 6.1 for Android on 1 Jul 2026 06:10:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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-53886770-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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.98s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.25s)
Fetching https://github.com/apple/swift-numerics
[1/6441] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.91s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.12s)
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
[4/166] Compiling compiled_preamble.cpp
[5/166] Compiling gemv_masked.cpp
[5/166] Write sources
[5/166] Compiling gemm_nax.cpp
[10/166] Compiling reduce.cpp
[11/166] Compiling version.cpp
[11/166] Compiling _NumericsShims _NumericsShims.c
[13/166] Compiling scheduler.cpp
[14/166] Compiling utils.cpp
[15/166] Compiling memory.cpp
[16/166] Compiling map.cpp
[17/166] Compiling random.cpp
[18/166] Compiling closure.cpp
[18/166] Write swift-version-24593BA9C3E375BF.txt
[20/166] Compiling no_gguf.cpp
[21/166] Compiling linalg.cpp
[22/177] Compiling transforms.cpp
[23/177] Compiling primitives.cpp
[24/177] Compiling graph_utils.cpp
[26/177] Compiling RealModule RealFunctions.swift
[27/178] Emitting module RealModule
[28/178] Compiling RealModule Float16+Real.swift
[29/178] Compiling RealModule Real.swift
[30/178] Compiling RealModule Float80+Real.swift
[31/178] Compiling RealModule RelaxedArithmetic.swift
[32/178] Compiling RealModule AugmentedArithmetic.swift
[33/178] Compiling RealModule Double+Real.swift
[34/178] Compiling RealModule AlgebraicField.swift
[35/178] Compiling RealModule ApproximateEquality.swift
[36/178] Compiling RealModule ElementaryFunctions.swift
[37/178] Compiling RealModule Float+Real.swift
[37/179] Compiling load.cpp
[39/190] Compiling fft.cpp
[41/190] Compiling ComplexModule Complex+Hashable.swift
[42/190] Compiling ComplexModule Complex+IntegerLiteral.swift
[42/191] Wrapping AST for RealModule for debugging
[44/191] Compiling ComplexModule Polar.swift
[45/191] Compiling ComplexModule Complex+Numeric.swift
[46/191] Compiling ComplexModule Complex+StringConvertible.swift
[47/191] Compiling ComplexModule Complex.swift
[48/191] Compiling ComplexModule Scale.swift
[49/191] Emitting module ComplexModule
[50/191] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[51/191] Compiling ComplexModule Complex+AlgebraicField.swift
[52/191] Compiling ComplexModule Complex+Codable.swift
[53/191] Compiling ComplexModule Complex+ElementaryFunctions.swift
[55/194] Emitting module Numerics
[56/194] Compiling Numerics Numerics.swift
[57/195] Wrapping AST for Numerics for debugging
[58/195] Wrapping AST for ComplexModule for debugging
[59/195] Compiling safetensors.cpp
[60/195] Compiling dtype_utils.cpp
[61/195] Compiling dtype.cpp
[62/195] Compiling ops.cpp
[63/195] Compiling utils.cpp
[64/195] Compiling no_ring.cpp
[65/195] Compiling einsum.cpp
[66/195] Compiling fast.cpp
[67/195] Compiling no_nccl.cpp
[68/195] Compiling primitives.cpp
[69/195] Compiling ops.cpp
[70/195] Compiling no_mpi.cpp
[71/195] Compiling no_jaccl.cpp
[72/195] Compiling device.cpp
[73/195] Compiling distributed.cpp
[74/195] Compiling device_info.cpp
[75/195] Compiling allocator.cpp
[76/195] Compiling eval.cpp
[77/195] Compiling fence.cpp
[78/195] Compiling threefry.cpp
[79/195] Compiling event.cpp
[80/195] Compiling primitives.cpp
[81/195] Compiling no_metal.cpp
[82/195] 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.
[83/195] Compiling svd.cpp
[83/195] Compiling scan.cpp
[83/195] Compiling select.cpp
[83/195] Compiling softmax.cpp
[83/195] Compiling unary.cpp
[83/195] Compiling sort.cpp
[83/195] Compiling compile.cpp
[83/195] Compiling export.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:365d9b14669f92fea0572234887def10439445c91d7e524c78a6579ad7294f11
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-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/116] Compiling svd.cpp
[0/116] Compiling compile.cpp
[0/116] Compiling export.cpp
[0/116] Compiling select.cpp
[0/116] Compiling softmax.cpp
[0/116] Compiling sort.cpp
[0/116] Compiling scan.cpp
[0/116] Compiling unary.cpp
BUILD FAILURE 6.1 android