Build Information
Failed to build mlx-libraries, reference 2.25.4 (8e4131
), with Swift 5.10 for Linux on 6 Jun 2025 19:06:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift-examples.git
Reference: 2.25.4
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
* tag 2.25.4 -> FETCH_HEAD
HEAD is now at 8e41311 support for running all the models (#317)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
8e41311a3c17e902441cfcaa46629244c9758afd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at 2.25.4
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
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" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:aa1999fda62728f989ec9f885e6a69f8a206ad63b6efcfc03397a00c96f5855b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/1024jp/GzipSwift
[1/1549] Fetching gzipswift
[1550/4914] Fetching gzipswift, swift-transformers
[1752/15768] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (1.01s)
Fetched https://github.com/huggingface/swift-transformers from cache (1.02s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.02s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (1.17s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 0.1.21 (0.43s)
Fetching https://github.com/johnmai-dev/Jinja
Fetching https://github.com/apple/swift-argument-parser.git
[1/393] Fetching jinja
Fetched https://github.com/johnmai-dev/Jinja from cache (0.28s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.91s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.25.4 (0.47s)
Fetching https://github.com/apple/swift-numerics
[1/5726] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.4.0 (0.41s)
Computing version for https://github.com/johnmai-dev/Jinja
Computed https://github.com/johnmai-dev/Jinja at 1.1.2 (0.43s)
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.97s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.59s)
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/johnmai-dev/Jinja
Working copy of https://github.com/johnmai-dev/Jinja resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
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.4
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.0
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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 0.1.21
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/183] Copying gpt2_tokenizer_config.json
[1/183] Copying t5_tokenizer_config.json
[3/183] Write sources
[27/183] Compiling _NumericsShims _NumericsShims.c
[28/183] Compiling system-zlib anchor.c
[29/183] Compiling version.cpp
[30/183] Compiling utils.cpp
[31/183] Compiling scheduler.cpp
[32/183] Write swift-version-24593BA9C3E375BF.txt
[33/183] Compiling random.cpp
[34/183] Compiling linalg.cpp
[35/193] Compiling no_gguf.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/203] Emitting module TensorUtils
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[37/204] Compiling transforms.cpp
[38/218] Compiling graph_utils.cpp
[39/225] Compiling load.cpp
[40/227] Compiling primitives.cpp
[42/227] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[43/227] Compiling InternalCollectionsUtilities UInt+reversed.swift
[44/228] Compiling TensorUtils Weights.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[45/228] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[46/228] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/228] Compiling InternalCollectionsUtilities Integer rank.swift
[48/228] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[49/228] Compiling InternalCollectionsUtilities Debugging.swift
[50/228] Compiling InternalCollectionsUtilities Descriptions.swift
[51/228] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[52/228] Emitting module InternalCollectionsUtilities
[53/228] Compiling RealModule Real.swift
[54/228] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[55/228] Compiling InternalCollectionsUtilities _SortedCollection.swift
[56/229] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[57/229] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[60/229] Compiling RealModule ElementaryFunctions.swift
[61/229] Emitting module RealModule
[64/229] Compiling RealModule Float16+Real.swift
[65/229] Compiling RealModule Float80+Real.swift
[66/229] Compiling RealModule RealFunctions.swift
[67/229] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[68/229] Compiling RealModule Float+Real.swift
[71/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[72/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[73/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[74/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[75/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[76/286] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[77/286] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[78/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[79/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[80/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[81/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[82/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[83/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[84/286] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[84/293] Compiling safetensors.cpp
[86/293] Compiling OrderedCollections OrderedDictionary.swift
[87/293] Compiling OrderedCollections OrderedSet+Codable.swift
[88/293] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[89/293] Compiling OrderedCollections OrderedSet+Descriptions.swift
[90/293] Compiling OrderedCollections OrderedSet+Diffing.swift
[91/293] Compiling OrderedCollections OrderedSet+Equatable.swift
[92/293] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[93/293] Compiling OrderedCollections OrderedSet+Hashable.swift
[94/293] Compiling OrderedCollections OrderedSet+Initializers.swift
[95/293] Compiling OrderedCollections OrderedSet+Insertions.swift
[96/293] Compiling OrderedCollections OrderedSet+Invariants.swift
[97/293] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[98/293] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[99/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[100/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[101/293] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[102/293] Compiling OrderedCollections OrderedDictionary+Codable.swift
[103/293] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[104/293] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[105/293] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[106/293] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[107/293] Compiling OrderedCollections OrderedDictionary+Elements.swift
[108/293] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[109/293] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[110/293] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[111/293] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[112/293] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[113/293] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[114/293] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[115/293] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[116/293] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[117/293] Compiling OrderedCollections OrderedDictionary+Values.swift
[118/298] Emitting module OrderedCollections
[119/298] Compiling TensorUtils TopPLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[120/298] Compiling Hub Hub.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
[121/298] Compiling Hub Downloader.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
[122/298] Compiling ComplexModule Arithmetic.swift
[123/298] Compiling Hub Config.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
[124/298] 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'
import Accelerate
^
[125/298] Compiling TensorUtils Math.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[126/298] Compiling OrderedCollections _HashTable+Bucket.swift
[127/298] Compiling OrderedCollections _HashTable+BucketIterator.swift
[128/298] Compiling OrderedCollections _HashTable+Constants.swift
[129/298] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[130/298] Compiling OrderedCollections _HashTable+Testing.swift
[131/298] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[132/298] Compiling OrderedCollections _HashTable.swift
[133/298] Compiling OrderedCollections _Hashtable+Header.swift
[134/298] Compiling TensorUtils TopKLogitsWarper.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[135/298] 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'
import Accelerate
^
[136/298] Compiling Hub HubApi.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
[137/298] 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'
import Combine
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[138/298] Emitting module Hub
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
[139/298] Compiling Hub BinaryDistinct.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
import Combine
^
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/TensorUtils/LogitsWarper/TopKLogitsWarper.swift:1:8: error: no such module 'Accelerate'
import Accelerate
^
[144/298] Compiling OrderedCollections OrderedSet+Sendable.swift
[145/298] Compiling OrderedCollections OrderedSet+SubSequence.swift
[146/298] Compiling OrderedCollections OrderedSet+Testing.swift
[147/298] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[148/298] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[149/298] Compiling OrderedCollections OrderedSet.swift
[150/298] Compiling OrderedCollections _UnsafeBitset.swift
[151/299] Compiling Gzip Data+Gzip.swift
[152/299] Emitting module Gzip
error: fatalError
error: fatalError
[152/299] Compiling fft.cpp
[152/299] Compiling fast.cpp
[152/299] Compiling ops.cpp
BUILD FAILURE 5.10 linux