The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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