Build Information
Failed to build mlx-libraries, reference main (ef1084), with Swift 6.1 for Android on 12 Nov 2026 20:16:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-examples.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/ml-explore/mlx-swift-examples
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ef1084d StableDiffusion: migrate from Hub (swift-transformers) to swift-huggingface (#494)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
ef1084dd5692611a8758b24b07efdad5404ac3ce
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift-examples.git
https://github.com/ml-explore/mlx-swift-examples.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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:f3d584653be307e49a83a538a44ff19f3e457cf354c03a81b3bd04fe87199e26
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/huggingface/swift-huggingface
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/1024jp/GzipSwift
[1/1770] Fetching gzipswift
Fetched https://github.com/1024jp/GzipSwift from cache (0.36s)
[1/3110] Fetching swift-huggingface
[3111/20853] Fetching swift-huggingface, mlx-swift
Fetched https://github.com/huggingface/swift-huggingface from cache (1.54s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.54s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (2.48s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.26s)
Fetching https://github.com/apple/swift-numerics
[1/6849] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (1.26s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.49s)
Computing version for https://github.com/huggingface/swift-huggingface
Computed https://github.com/huggingface/swift-huggingface at 0.13.0 (0.25s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-xet.git
Fetching https://github.com/mattt/EventSource.git
[1/333] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.35s)
[1/18948] Fetching swift-crypto
[759/19489] Fetching swift-crypto, swift-xet
Fetched https://github.com/huggingface/swift-xet.git from cache (0.55s)
[2085/18948] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.18s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.3.2 (1.41s)
Fetching https://github.com/swift-server/async-http-client
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio.git
[1/2881] Fetching swift-nio-transport-services
[1269/19488] Fetching swift-nio-transport-services, async-http-client
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.72s)
[1993/16607] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client from cache (0.96s)
[1/86861] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.27s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (3.59s)
Fetching https://github.com/apple/swift-atomics.git
[1/1927] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.79s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.6.0 (0.30s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.36.2 (0.27s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/16963] Fetching swift-nio-ssl
[2/23664] Fetching swift-nio-ssl, swift-distributed-tracing
[3/29823] Fetching swift-nio-ssl, swift-distributed-tracing, swift-algorithms
[343/36540] Fetching swift-nio-ssl, swift-distributed-tracing, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.56s)
[15422/42180] Fetching swift-nio-ssl, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.20s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.21s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.21s)
[1/8350] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.81s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.44s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/7532] Fetching swift-system
[7533/37454] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
[599/29922] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.22s)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.40s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.31s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.41s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.36s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (1.78s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[27/3351] Fetching swift-http-structured-headers, swift-asn1
[170/6243] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[261/8210] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types
[8211/15859] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates
[8212/22684] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.70s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.70s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.70s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.81s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.81s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.83s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.12s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.24s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.1 (0.26s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.24s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.27s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.25s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.31s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.4
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.6
Creating working copy for https://github.com/huggingface/swift-xet.git
Working copy of https://github.com/huggingface/swift-xet.git resolved at 0.3.2
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
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
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
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/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/huggingface/swift-huggingface
Working copy of https://github.com/huggingface/swift-huggingface resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Building for debugging...
[0/538] Write sources
[9/538] Compiling system-zlib anchor.c
[10/538] Compiling _NumericsShims _NumericsShims.c
[11/538] Write sources
[17/538] Compiling version.cpp
[18/538] Write swift-version-24593BA9C3E375BF.txt
[19/538] Compiling format.cc
[20/538] Compiling utils.cpp
[21/551] Compiling compile.cpp
[22/556] Compiling cuda.cpp
[23/556] Compiling linalg.cpp
[25/556] Emitting module Gzip
[26/556] Compiling RealModule Real.swift
[27/557] Compiling RealModule RealFunctions.swift
[28/557] Compiling RealModule Float16+Real.swift
[29/557] Compiling RealModule Float80+Real.swift
[30/557] Compiling RealModule ElementaryFunctions.swift
[31/557] Compiling RealModule Float+Real.swift
[32/557] Compiling RealModule AugmentedArithmetic.swift
[33/557] Compiling RealModule Double+Real.swift
[34/557] Compiling RealModule RelaxedArithmetic.swift
[35/557] Compiling RealModule AlgebraicField.swift
[36/557] Compiling RealModule ApproximateEquality.swift
[37/557] Emitting module RealModule
[37/558] Compiling closure.cpp
[40/569] Compiling EventSource AsyncSequence+Events.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/569] Compiling EventSource AsyncEventsSequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[42/569] Emitting module EventSource
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[43/569] Compiling ComplexModule Complex+Hashable.swift
[44/569] Compiling ComplexModule Complex+IntegerLiteral.swift
[45/570] Compiling ComplexModule Complex+StringConvertible.swift
[46/570] Compiling ComplexModule Complex.swift
[47/570] Compiling ComplexModule Polar.swift
[47/570] Compiling array.cpp
[49/570] Compiling ComplexModule Complex+Numeric.swift
[50/570] Compiling ComplexModule Scale.swift
[51/570] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[52/570] Compiling ComplexModule Complex+AlgebraicField.swift
[53/570] Compiling ComplexModule Complex+Codable.swift
[54/570] Compiling ComplexModule Complex+ElementaryFunctions.swift
[55/570] Emitting module ComplexModule
[56/571] Compiling scheduler.cpp
[58/573] Compiling Numerics Numerics.swift
[59/573] Emitting module Numerics
[61/574] Compiling Gzip Data+Gzip.swift
[63/575] Compiling EventSource EventSource+AsyncHTTPClient.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/575] Compiling EventSource EventSource.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/576] Compiling random.cpp
[66/576] Compiling transforms.cpp
[67/576] Compiling no_gguf.cpp
[68/576] Compiling linalg.cpp
[69/576] Compiling fft.cpp
[70/576] Compiling load.cpp
[71/576] Compiling graph_utils.cpp
[72/576] Compiling primitives.cpp
[73/576] Compiling dtype_utils.cpp
[74/576] Compiling safetensors.cpp
[75/576] Compiling dtype.cpp
[76/576] Compiling utils.cpp
[77/576] Compiling fast.cpp
[78/576] Compiling einsum.cpp
[79/576] Compiling no_ring.cpp
[80/576] Compiling no_nccl.cpp
[81/576] Compiling ops.cpp
[82/576] Compiling primitives.cpp
[83/576] Compiling ops.cpp
[84/576] Compiling no_mpi.cpp
[85/576] Compiling device.cpp
[86/576] Compiling no_jaccl.cpp
[87/576] Compiling distributed.cpp
[88/576] Compiling device_info.cpp
[89/576] Compiling allocator.cpp
[90/576] Compiling eval.cpp
[91/576] Compiling fence.cpp
[92/576] Compiling event.cpp
[93/576] Compiling threefry.cpp
[94/576] Compiling primitives.cpp
[95/576] Compiling no_cuda.cpp
[96/576] Compiling no_metal.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.
[97/576] Compiling svd.cpp
[97/576] Compiling sort.cpp
[97/576] Compiling scan.cpp
[97/576] Compiling select.cpp
[97/576] Compiling softmax.cpp
[97/576] Compiling unary.cpp
[97/576] Compiling compile.cpp
[97/576] Compiling export.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/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:f3d584653be307e49a83a538a44ff19f3e457cf354c03a81b3bd04fe87199e26
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/480] Compiling SimpleFIPS202.c
[1/480] Compiling CXKCPShims shims.c
[2/480] Compiling fiat_p256_adx_sqr.S
[3/480] Compiling fiat_p256_adx_mul.S
[4/480] Compiling KeccakHash.c
[5/480] Compiling KeccakSponge.c
[6/480] Compiling CCryptoBoringSSLShims shims.c
[7/480] Compiling KeccakP-1600-opt64.c
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.
[8/480] Compiling svd.cpp
[8/480] Compiling softmax.cpp
[8/480] Compiling export.cpp
[8/480] Write swift-version-24593BA9C3E375BF.txt
[8/480] Compiling sort.cpp
[8/480] Compiling compile.cpp
[8/480] Compiling select.cpp
[8/480] Compiling unary.cpp
BUILD FAILURE 6.1 android