Build Information
Failed to build mlx-libraries, reference 2.29.1 (9bff95), with Swift 6.0 for Linux on 16 Oct 2025 22:44:27 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.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: 2.29.1
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.29.1 -> FETCH_HEAD
HEAD is now at 9bff95c mlx-swift 0.29.1 (#411)
Cloned https://github.com/ml-explore/mlx-swift-examples.git
Revision (git rev-parse @):
9bff95ca5f0b9e8c021acc4d71a2bbe4a7441631
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift-examples.git at 2.29.1
========================================
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-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.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/ml-explore/mlx-swift
[1/1557] Fetching gzipswift
Fetching https://github.com/huggingface/swift-transformers
[1558/12982] Fetching gzipswift, mlx-swift
[4643/17847] Fetching gzipswift, mlx-swift, swift-transformers
Fetched https://github.com/huggingface/swift-transformers from cache (1.00s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.36s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.36s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (2.84s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.0.0 (0.72s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/742] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.30s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (0.85s)
Fetching https://github.com/apple/swift-numerics
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.58s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.1.0 (0.74s)
Fetching https://github.com/apple/swift-collections.git
[1/18202] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.44s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.98s)
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.1.0
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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.0.0
Creating working copy for https://github.com/1024jp/GzipSwift
Working copy of https://github.com/1024jp/GzipSwift resolved at 6.0.1
Building for debugging...
[0/193] Write sources
[0/193] Copying gpt2_tokenizer_config.json
[0/193] Copying t5_tokenizer_config.json
[0/193] Write sources
[25/193] Compiling system-zlib anchor.c
[26/193] Compiling version.cpp
[26/193] Compiling _NumericsShims _NumericsShims.c
[28/193] Write swift-version-24593BA9C3E375BF.txt
[29/193] Compiling utils.cpp
[30/204] Compiling scheduler.cpp
[31/220] Compiling linalg.cpp
[32/220] Compiling random.cpp
[33/222] Compiling no_gguf.cpp
[34/222] Compiling transforms.cpp
[36/222] Compiling RealModule RealFunctions.swift
[37/223] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/223] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/225] Compiling RealModule Real.swift
[40/225] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[41/225] Compiling InternalCollectionsUtilities Integer rank.swift
[42/225] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[43/225] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[44/225] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[45/225] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/225] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[47/225] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[48/225] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[49/225] Compiling InternalCollectionsUtilities Debugging.swift
[50/225] Compiling InternalCollectionsUtilities Descriptions.swift
[51/225] Emitting module InternalCollectionsUtilities
[52/225] Compiling InternalCollectionsUtilities UInt+reversed.swift
[53/225] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[54/225] Emitting module RealModule
[59/225] Compiling RealModule Float16+Real.swift
[62/225] Compiling RealModule Float80+Real.swift
[63/225] Compiling RealModule RelaxedArithmetic.swift
[64/226] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[65/226] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[67/227] Compiling primitives.cpp
[69/238] Compiling ComplexModule Complex+StringConvertible.swift
[70/269] Compiling ComplexModule Polar.swift
[71/285] Compiling ComplexModule Complex+Numeric.swift
[72/294] Compiling ComplexModule Complex.swift
[73/294] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[74/294] Compiling OrderedCollections OrderedDictionary+Elements.swift
[75/294] Compiling ComplexModule Scale.swift
[76/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[77/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[78/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[79/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[80/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[81/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[82/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[83/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[84/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[85/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[86/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[87/294] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[88/294] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[89/294] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[90/301] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[91/301] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[92/301] Compiling OrderedCollections OrderedDictionary+Codable.swift
[93/301] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[94/301] Emitting module ComplexModule
[96/302] Compiling OrderedCollections OrderedSet+Initializers.swift
[97/302] Compiling OrderedCollections OrderedSet+Insertions.swift
[98/302] Compiling OrderedCollections OrderedSet+Invariants.swift
[99/302] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[100/302] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[101/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[102/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[103/302] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[104/302] Compiling OrderedCollections OrderedDictionary.swift
[105/302] Compiling OrderedCollections OrderedSet+Codable.swift
[106/302] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[107/302] Compiling OrderedCollections OrderedSet+Descriptions.swift
[108/302] Compiling OrderedCollections OrderedSet+Diffing.swift
[109/302] Compiling OrderedCollections OrderedSet+Equatable.swift
[110/302] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[111/302] Compiling OrderedCollections OrderedSet+Hashable.swift
[112/302] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[113/302] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[114/302] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[115/302] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[116/302] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[117/302] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[118/302] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[119/302] Compiling OrderedCollections OrderedDictionary+Values.swift
[126/302] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[127/302] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[127/302] Compiling safetensors.cpp
[128/304] Compiling graph_utils.cpp
[130/304] Emitting module Numerics
[131/304] Compiling Numerics Numerics.swift
[132/305] Compiling OrderedCollections _HashTable+Bucket.swift
[133/305] Compiling OrderedCollections _HashTable+BucketIterator.swift
[134/305] Compiling OrderedCollections _HashTable+Constants.swift
[135/305] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[136/305] Compiling OrderedCollections _HashTable+Testing.swift
[137/305] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[138/305] Compiling OrderedCollections _HashTable.swift
[139/305] Compiling OrderedCollections _Hashtable+Header.swift
[141/305] Compiling OrderedCollections OrderedSet+Sendable.swift
[142/305] Compiling OrderedCollections OrderedSet+SubSequence.swift
[143/305] Compiling OrderedCollections OrderedSet+Testing.swift
[144/305] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[145/305] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[146/305] Compiling OrderedCollections OrderedSet.swift
[147/305] Compiling OrderedCollections _UnsafeBitset.swift
[147/305] Compiling load.cpp
[149/305] Compiling Gzip Data+Gzip.swift
[150/305] Emitting module Gzip
[151/306] Compiling fft.cpp
[153/306] Emitting module OrderedCollections
[154/307] Compiling dtype.cpp
[155/307] Compiling dtype_utils.cpp
[156/307] Compiling no_ring.cpp
[157/321] Compiling fast.cpp
[158/321] Compiling ops.cpp
[159/321] Compiling no_nccl.cpp
[160/321] Compiling einsum.cpp
[161/321] Compiling primitives.cpp
[162/321] Compiling device.cpp
[163/321] Compiling ops.cpp
[165/321] Compiling Jinja Utilities.swift
[165/322] Compiling no_mpi.cpp
[166/322] Compiling distributed.cpp
[168/322] Emitting module Jinja
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/322] Compiling utils.cpp
[169/322] Compiling Jinja PropertyMembers.swift
[170/322] Compiling Jinja Template.swift
[170/322] Compiling sort.cpp
[170/322] Compiling softmax.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>
| ^~~~~~~~~~~~~~~~
[170/322] Compiling unary.cpp
[170/322] Compiling ternary.cpp
[170/322] Compiling compile.cpp
[170/322] Compiling export.cpp
BUILD FAILURE 6.0 linux