Build Information
Failed to build mlx-libraries, reference main (fc3afc), with Swift 6.0 for Linux on 12 Dec 2025 02:00: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/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
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 fc3afc7 Update LLMEval example (#452)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
fc3afc7cdbc4b6120d210c4c58c6b132ce346775
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
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-4609320-3":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:d50cceb83aba9237d7903cc3c4ef7bd8f8bfaaf83777b35554908a03d392fd03
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/ml-explore/mlx-swift
[1/1557] Fetching gzipswift
[1558/6709] Fetching gzipswift, swift-transformers
Fetched https://github.com/1024jp/GzipSwift from cache (0.57s)
[1393/17381] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (1.40s)
Fetched https://github.com/ml-explore/mlx-swift from cache (4.01s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (3.79s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (1.09s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.67s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.5 (2.42s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/783] Fetching swift-jinja
[784/19161] Fetching swift-jinja, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.98s)
Fetched https://github.com/apple/swift-collections.git from cache (2.05s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.94s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.2.0 (1.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.53s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.1.5
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/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.2.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.29.1
Building for debugging...
[0/188] Write sources
[11/188] Compiling binary_two.cpp
[12/188] Copying t5_tokenizer_config.json
[13/188] Copying gpt2_tokenizer_config.json
[14/188] Compiling binary_ops.cpp
[14/188] Write sources
[22/188] Compiling version.cpp
[23/188] Compiling system-zlib anchor.c
[24/188] Compiling _NumericsShims _NumericsShims.c
[25/188] Write swift-version-24593BA9C3E375BF.txt
[26/188] Compiling utils.cpp
[28/199] Emitting module RealModule
[28/200] Compiling scheduler.cpp
[29/200] Compiling compile.cpp
[30/218] Compiling format.cc
[31/218] Compiling array.cpp
[32/218] Compiling closure.cpp
[33/218] Compiling random.cpp
[34/218] Compiling transforms.cpp
[36/218] Compiling InternalCollectionsUtilities UInt+reversed.swift
[37/218] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[38/218] Compiling InternalCollectionsUtilities _SortedCollection.swift
[39/218] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[40/220] Compiling RealModule RelaxedArithmetic.swift
[41/220] Compiling InternalCollectionsUtilities Debugging.swift
[42/220] Compiling InternalCollectionsUtilities Descriptions.swift
[43/220] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[44/220] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[45/220] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[46/220] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[47/220] Emitting module InternalCollectionsUtilities
[48/220] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[49/220] Compiling InternalCollectionsUtilities Integer rank.swift
[50/220] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[51/220] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[52/220] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[53/220] Compiling RealModule RealFunctions.swift
[54/220] Compiling RealModule Float80+Real.swift
[55/220] Compiling RealModule Real.swift
[60/220] Compiling RealModule Float16+Real.swift
[63/221] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[64/221] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[67/233] Compiling ComplexModule Complex+StringConvertible.swift
[68/234] Compiling ComplexModule Complex.swift
[69/234] Compiling ComplexModule Polar.swift
[70/234] Compiling ComplexModule Complex+Hashable.swift
[71/234] Compiling ComplexModule Complex+IntegerLiteral.swift
[72/234] Compiling ComplexModule Complex+Numeric.swift
[73/234] Compiling ComplexModule Scale.swift
[73/234] Compiling no_gguf.cpp
[74/234] Compiling linalg.cpp
[76/289] Emitting module ComplexModule
[77/289] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[78/289] Compiling OrderedCollections OrderedSet+Descriptions.swift
[79/289] Compiling OrderedCollections OrderedDictionary.swift
[80/289] Compiling OrderedCollections OrderedSet+Codable.swift
[82/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[83/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[84/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[85/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[86/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[87/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[88/290] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[89/297] Emitting module Gzip
[90/297] Compiling Gzip Data+Gzip.swift
[96/298] Compiling OrderedCollections OrderedSet+Diffing.swift
[97/298] Compiling OrderedCollections OrderedSet+Equatable.swift
[98/298] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[99/298] Compiling OrderedCollections OrderedSet+Hashable.swift
[100/298] Compiling OrderedCollections OrderedDictionary+Codable.swift
[101/298] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[102/298] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[103/298] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[104/298] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[105/298] Compiling OrderedCollections OrderedDictionary+Elements.swift
[106/298] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[107/298] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[108/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[109/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[110/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[111/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[112/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[113/298] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[114/298] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[115/298] Compiling OrderedCollections OrderedSet+Initializers.swift
[116/298] Compiling OrderedCollections OrderedSet+Insertions.swift
[117/298] Compiling OrderedCollections OrderedSet+Invariants.swift
[118/298] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[119/298] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[120/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[121/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[122/298] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[123/298] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[124/298] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[125/298] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[126/298] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[127/298] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[128/298] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[129/298] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[130/298] Compiling OrderedCollections OrderedDictionary+Values.swift
[131/300] Emitting module Numerics
[132/300] Compiling Numerics Numerics.swift
[132/300] Compiling primitives.cpp
[135/301] Compiling OrderedCollections _HashTable+Bucket.swift
[136/301] Compiling OrderedCollections _HashTable+BucketIterator.swift
[137/301] Compiling OrderedCollections _HashTable+Constants.swift
[138/301] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[139/301] Compiling OrderedCollections _HashTable+Testing.swift
[140/301] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[141/301] Compiling OrderedCollections _HashTable.swift
[142/301] Compiling OrderedCollections _Hashtable+Header.swift
[142/301] Compiling load.cpp
[144/301] Compiling OrderedCollections OrderedSet+Sendable.swift
[145/301] Compiling OrderedCollections OrderedSet+SubSequence.swift
[146/301] Compiling OrderedCollections OrderedSet+Testing.swift
[147/301] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[148/301] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[149/301] Compiling OrderedCollections OrderedSet.swift
[150/301] Compiling OrderedCollections _UnsafeBitset.swift
[151/301] Emitting module OrderedCollections
[151/302] Compiling graph_utils.cpp
[153/302] Compiling fft.cpp
[154/302] Compiling safetensors.cpp
[155/302] Compiling dtype_utils.cpp
[156/302] Compiling dtype.cpp
[157/302] Compiling no_ring.cpp
[158/316] Compiling fast.cpp
[159/316] Compiling einsum.cpp
[160/316] Compiling no_mpi.cpp
[161/316] Compiling primitives.cpp
[162/316] Compiling no_nccl.cpp
[163/316] Compiling device.cpp
[164/316] Compiling ops.cpp
[166/316] Compiling distributed.cpp
[168/316] Compiling Jinja Utilities.swift
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/utils.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/device.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/Metal.hpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLAccelerationStructure.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLHeaderBridge.hpp:22:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLPrivate.hpp:27:10: fatal error: 'objc/runtime.h' file not found
27 | #include <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[168/317] Compiling utils.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/sort.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/device.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/Metal.hpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLAccelerationStructure.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLHeaderBridge.hpp:22:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLPrivate.hpp:27:10: fatal error: 'objc/runtime.h' file not found
27 | #include <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
[168/317] Compiling sort.cpp
[168/317] Compiling softmax.cpp
[168/317] Compiling export.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/ternary.cpp:4:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/device.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/Metal.hpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLAccelerationStructure.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLHeaderBridge.hpp:22:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLPrivate.hpp:27:10: fatal error: 'objc/runtime.h' file not found
27 | #include <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
[168/317] Compiling ternary.cpp
[168/317] Compiling compile.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/unary.cpp:4:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/metal/device.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/Metal.hpp:25:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLAccelerationStructure.hpp:24:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLHeaderBridge.hpp:22:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/metal-cpp/Metal/MTLPrivate.hpp:27:10: fatal error: 'objc/runtime.h' file not found
27 | #include <objc/runtime.h>
| ^~~~~~~~~~~~~~~~
[168/317] Compiling unary.cpp
BUILD FAILURE 6.0 linux