Build Information
Failed to build mlx-libraries, reference main (fc3afc), with Swift 6.2 for Linux on 12 Dec 2025 02:04:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-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.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-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
828c1365039a: Already exists
253e69351b70: Already exists
46083a23d362: Already exists
18070bf5de03: Already exists
b49853bed9c9: Pulling fs layer
a179265104a5: Pulling fs layer
e538105c2aa2: Pulling fs layer
fe4d8051affe: Pulling fs layer
e538105c2aa2: Waiting
fe4d8051affe: Waiting
a179265104a5: Waiting
b49853bed9c9: Download complete
a179265104a5: Download complete
e538105c2aa2: Download complete
fe4d8051affe: Verifying Checksum
fe4d8051affe: Download complete
b49853bed9c9: Pull complete
a179265104a5: Pull complete
e538105c2aa2: Pull complete
fe4d8051affe: Pull complete
Digest: sha256:36dcf51aceebb7518dd97346bbe30fd556b23ffe7a4d72d70473700580e8e541
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
[1/1557] Fetching gzipswift
[1558/6709] Fetching gzipswift, swift-transformers
[2950/18938] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (4.42s)
Fetched https://github.com/huggingface/swift-transformers from cache (4.43s)
Fetched https://github.com/ml-explore/mlx-swift from cache (4.43s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (14.62s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (5.39s)
Fetching https://github.com/apple/swift-numerics
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (4.85s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.1.5 (6.35s)
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.32s)
Fetched https://github.com/apple/swift-collections.git from cache (1.35s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.73s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.2.0 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.67s)
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.29.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.3.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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.1.5
Building for debugging...
[0/188] Write sources
[11/188] Compiling system-zlib anchor.c
[12/188] Copying t5_tokenizer_config.json
[13/188] Copying gpt2_tokenizer_config.json
[14/188] Compiling _NumericsShims _NumericsShims.c
[15/188] Write sources
[22/188] Compiling version.cpp
[23/188] Compiling utils.cpp
[24/188] Compiling string.cpp
[25/188] Compiling transforms.cpp
[26/188] Compiling transforms_impl.cpp
[27/188] Write swift-version-24593BA9C3E375BF.txt
[27/188] Compiling vector.cpp
[29/188] Compiling stream.cpp
[30/199] Compiling random.cpp
[31/215] Compiling scheduler.cpp
[32/217] Compiling linalg.cpp
[33/217] Compiling random.cpp
[34/217] Compiling transforms.cpp
[36/217] Emitting module InternalCollectionsUtilities
[37/219] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/219] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/219] Compiling RealModule Real.swift
[40/220] Compiling RealModule RealFunctions.swift
[41/220] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[42/220] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[43/220] Compiling InternalCollectionsUtilities _SortedCollection.swift
[44/220] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[45/220] Compiling InternalCollectionsUtilities Debugging.swift
[46/220] Compiling InternalCollectionsUtilities Descriptions.swift
[47/220] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[48/220] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[49/220] Compiling InternalCollectionsUtilities UInt+reversed.swift
[50/220] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[51/220] Emitting module RealModule
[52/220] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[53/220] Compiling InternalCollectionsUtilities Integer rank.swift
[54/220] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[57/220] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[58/220] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[61/220] Compiling RealModule RelaxedArithmetic.swift
[63/221] Compiling RealModule Float16+Real.swift
[64/221] Compiling RealModule Float80+Real.swift
[68/277] Emitting module Gzip
[69/277] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[70/277] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[71/277] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[72/277] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[73/277] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[74/277] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[75/277] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[76/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[77/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[78/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[79/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[80/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[81/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[82/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[82/284] Compiling no_gguf.cpp
[84/295] Compiling ComplexModule Complex+StringConvertible.swift
[85/296] Compiling ComplexModule Complex+Numeric.swift
[86/296] Compiling ComplexModule Complex+Hashable.swift
[87/296] Compiling ComplexModule Complex+IntegerLiteral.swift
[88/296] Compiling ComplexModule Polar.swift
[89/296] Compiling ComplexModule Complex.swift
[90/296] Compiling ComplexModule Scale.swift
[91/296] Compiling OrderedCollections OrderedSet+Initializers.swift
[92/296] Compiling OrderedCollections OrderedSet+Insertions.swift
[93/296] Compiling OrderedCollections OrderedSet+Invariants.swift
[94/296] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[95/296] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[96/296] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[97/296] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[98/296] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[99/296] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[100/296] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[101/296] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[102/296] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[103/296] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[104/296] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[105/296] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[106/296] Compiling OrderedCollections OrderedDictionary+Values.swift
[107/296] Compiling OrderedCollections OrderedDictionary.swift
[108/296] Compiling OrderedCollections OrderedSet+Codable.swift
[109/296] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[110/296] Compiling OrderedCollections OrderedSet+Descriptions.swift
[111/296] Compiling OrderedCollections OrderedSet+Diffing.swift
[112/296] Compiling OrderedCollections OrderedSet+Equatable.swift
[113/296] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[114/296] Compiling OrderedCollections OrderedSet+Hashable.swift
[115/296] Compiling OrderedCollections OrderedDictionary+Codable.swift
[116/296] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[117/296] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[118/296] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[119/296] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[120/296] Compiling OrderedCollections OrderedDictionary+Elements.swift
[121/296] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[122/296] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[123/296] Compiling OrderedCollections OrderedSet+Sendable.swift
[124/296] Compiling OrderedCollections OrderedSet+SubSequence.swift
[125/296] Compiling OrderedCollections OrderedSet+Testing.swift
[126/296] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[127/296] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[128/296] Compiling OrderedCollections OrderedSet.swift
[129/296] Compiling OrderedCollections _UnsafeBitset.swift
[130/296] Emitting module OrderedCollections
[131/296] Compiling ComplexModule Complex+Codable.swift
[132/296] Compiling ComplexModule Complex+ElementaryFunctions.swift
[133/296] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[134/296] Compiling ComplexModule Complex+AlgebraicField.swift
[135/296] Emitting module ComplexModule
[142/296] Compiling OrderedCollections _HashTable.swift
[143/296] Compiling OrderedCollections _Hashtable+Header.swift
[146/300] Compiling Numerics Numerics.swift
[147/300] Emitting module Numerics
[148/315] Compiling load.cpp
[149/315] Compiling graph_utils.cpp
[150/315] Compiling primitives.cpp
[152/315] Compiling Gzip Data+Gzip.swift
[154/316] Compiling Jinja Utilities.swift
[154/317] Compiling safetensors.cpp
[155/317] Compiling fft.cpp
[156/317] Compiling ops.cpp
[157/317] Compiling dtype_utils.cpp
[159/317] Compiling Jinja Interpreter.swift
[160/317] Compiling Jinja Lexer.swift
[160/317] Compiling einsum.cpp
[162/317] Compiling Jinja Value.swift
[162/317] Compiling dtype.cpp
[163/317] Compiling fast.cpp
[165/317] Compiling Jinja PropertyMembers.swift
[166/317] Compiling Jinja Template.swift
[167/317] Compiling Jinja Macro.swift
[168/317] Compiling Jinja Parser.swift
[169/317] Compiling Jinja Tests.swift
[170/317] Compiling Jinja Token.swift
[170/317] Compiling no_ring.cpp
[171/317] Compiling device.cpp
[172/317] Compiling no_nccl.cpp
[174/317] Compiling Jinja AST.swift
[175/317] Compiling Jinja Error.swift
[176/317] Emitting module Jinja
[177/317] Compiling Jinja Filters.swift
[178/317] Compiling Jinja Globals.swift
[178/318] Compiling no_mpi.cpp
[180/318] Compiling primitives.cpp
[181/318] Compiling distributed.cpp
[182/318] Compiling ops.cpp
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.
[183/318] Compiling utils.cpp
[183/318] Compiling softmax.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>
| ^~~~~~~~~~~~~~~~
[183/318] Compiling sort.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>
| ^~~~~~~~~~~~~~~~
[183/318] Compiling unary.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>
| ^~~~~~~~~~~~~~~~
[183/318] Compiling ternary.cpp
[183/318] Compiling compile.cpp
[183/318] Compiling slicing.cpp
[183/318] Compiling export.cpp
BUILD FAILURE 6.2 linux