Build Information
Failed to build mlx-libraries, reference main (dddb0b
), with Swift 6.2 (beta) for Android on 2 Sep 2025 19:51:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
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 dddb0b3 increment version on swift-transformers (#381)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
dddb0b3871390dd9dea8e7ff2c347cf7e74cec9d
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.2
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift-examples.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/1024jp/GzipSwift
[1/1557] Fetching gzipswift
[1558/5182] Fetching gzipswift, swift-transformers
[2102/16301] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.78s)
Fetched https://github.com/huggingface/swift-transformers from cache (0.79s)
Fetched https://github.com/ml-explore/mlx-swift from cache (4.45s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (7.82s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.23 (0.49s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/johnmai-dev/Jinja
[1/516] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.29s)
[1/15690] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.05s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (2.51s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.6 (0.55s)
Fetching https://github.com/apple/swift-numerics
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.47s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.2.4 (0.87s)
Fetching https://github.com/apple/swift-collections.git
[1/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.40s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.0 (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.78s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.4.0
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/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.25.6
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.23
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.0
Creating working copy for https://github.com/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.2.4
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/183] Write sources
[6/183] Copying t5_tokenizer_config.json
[7/183] Copying gpt2_tokenizer_config.json
[8/183] Write sources
[27/183] Compiling system-zlib anchor.c
[28/183] Compiling _NumericsShims _NumericsShims.c
[29/183] Write swift-version-8C5A4AE7A8CE2BA.txt
[30/183] Compiling version.cpp
[31/193] Compiling utils.cpp
[32/204] Compiling scheduler.cpp
[33/218] Compiling random.cpp
[34/218] Compiling linalg.cpp
[36/227] Compiling RealModule Real.swift
[37/228] Emitting module InternalCollectionsUtilities
[38/228] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[39/228] Compiling InternalCollectionsUtilities Integer rank.swift
[40/229] Compiling TensorUtils MLShapedArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[41/230] Compiling RealModule Float80+Real.swift
[42/230] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[43/230] Compiling InternalCollectionsUtilities Debugging.swift
[44/230] Compiling InternalCollectionsUtilities Descriptions.swift
[45/230] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[46/230] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[47/230] Compiling InternalCollectionsUtilities _SortedCollection.swift
[48/230] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[49/230] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[50/230] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[51/230] Emitting module RealModule
[52/230] Compiling RealModule RealFunctions.swift
[53/230] Compiling TensorUtils Weights.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[54/230] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[55/230] Compiling InternalCollectionsUtilities UInt+reversed.swift
[58/230] Compiling RealModule RelaxedArithmetic.swift
[63/230] Compiling RealModule Float16+Real.swift
[65/242] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[66/243] Compiling primitives.cpp
[68/298] Compiling ComplexModule Polar.swift
[69/299] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[70/299] Compiling OrderedCollections OrderedDictionary+Elements.swift
[71/299] Compiling ComplexModule Complex+StringConvertible.swift
[72/299] Compiling ComplexModule Complex.swift
[73/299] Compiling ComplexModule Complex+Numeric.swift
[74/299] Compiling ComplexModule Scale.swift
[75/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[76/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[77/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[78/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[79/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[80/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[81/299] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[82/306] Compiling OrderedCollections OrderedDictionary+Codable.swift
[83/306] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[84/306] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[85/306] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[86/306] Emitting module ComplexModule
[87/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[88/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[89/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[90/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[91/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[92/307] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[93/307] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[101/307] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[102/307] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[103/307] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[104/307] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[105/307] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[106/307] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[107/307] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[108/307] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[109/307] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[110/307] Compiling OrderedCollections OrderedDictionary+Values.swift
[111/307] Compiling OrderedCollections OrderedDictionary.swift
[112/307] Compiling OrderedCollections OrderedSet+Codable.swift
[113/307] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[114/307] Compiling OrderedCollections OrderedSet+Descriptions.swift
[115/307] Compiling OrderedCollections OrderedSet+Diffing.swift
[116/307] Compiling OrderedCollections OrderedSet+Equatable.swift
[117/307] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[118/307] Compiling OrderedCollections OrderedSet+Hashable.swift
[119/307] Compiling OrderedCollections OrderedSet+Initializers.swift
[120/307] Compiling OrderedCollections OrderedSet+Insertions.swift
[121/307] Compiling OrderedCollections OrderedSet+Invariants.swift
[122/307] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[123/307] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[124/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[125/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[126/307] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[127/307] Compiling OrderedCollections _HashTable+Bucket.swift
[128/307] Compiling OrderedCollections _HashTable+BucketIterator.swift
[129/307] Compiling OrderedCollections _HashTable+Constants.swift
[130/307] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[131/307] Compiling OrderedCollections _HashTable+Testing.swift
[132/307] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[133/307] Compiling OrderedCollections _HashTable.swift
[134/307] Compiling OrderedCollections _Hashtable+Header.swift
[135/307] Compiling OrderedCollections OrderedSet+Sendable.swift
[136/307] Compiling OrderedCollections OrderedSet+SubSequence.swift
[137/307] Compiling OrderedCollections OrderedSet+Testing.swift
[138/307] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[139/307] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[140/307] Compiling OrderedCollections OrderedSet.swift
[141/307] Compiling OrderedCollections _UnsafeBitset.swift
[142/307] Emitting module OrderedCollections
[143/307] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[144/308] Compiling Hub resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[145/308] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[147/308] Compiling Hub Hub.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[148/308] Compiling Hub HubApi.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[148/308] Compiling transforms.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[150/310] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[151/310] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[154/310] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[155/310] Compiling TensorUtils MLMultiArray+Utils.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[156/310] Emitting module Numerics
[157/310] Compiling Numerics Numerics.swift
[157/311] Compiling no_gguf.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[159/311] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
1 | import Accelerate
| `- error: no such module 'Accelerate'
2 | import Foundation
3 |
[162/311] Compiling Hub Config.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[163/311] Compiling Hub BinaryDistinct.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[164/318] Compiling load.cpp
[164/318] Compiling safetensors.cpp
[165/318] Emitting module Gzip
[165/318] Compiling ops.cpp
BUILD FAILURE 6.2 android