Build Information
Failed to build mlx-libraries, reference 2.29.1 (9bff95), with Swift 6.2 for Linux on 16 Oct 2025 22:44:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 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.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-2":/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
Digest: sha256:b3eaa5734a03a9b8084848018342ef6c4e4ec1a618756d8de460b693a5f488ea
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/1024jp/GzipSwift
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift
[1/1557] Fetching gzipswift
[1558/6422] Fetching gzipswift, swift-transformers
[2677/17847] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (0.87s)
Fetched https://github.com/1024jp/GzipSwift from cache (1.32s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.32s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (3.95s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.0.0 (0.41s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/742] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.34s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (0.79s)
Fetching https://github.com/apple/swift-numerics
[1/6371] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.48s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.1.0 (0.92s)
Fetching https://github.com/apple/swift-collections.git
[1/18202] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.45s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.86s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.64s)
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-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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.0.0
Building for debugging...
[0/193] Write sources
[16/193] Copying t5_tokenizer_config.json
[17/193] Copying gpt2_tokenizer_config.json
[18/193] Write sources
[25/193] Compiling system-zlib anchor.c
[26/193] Compiling _NumericsShims _NumericsShims.c
[27/193] Compiling version.cpp
[28/193] Compiling utils.cpp
[29/193] Compiling scheduler.cpp
[30/193] Write swift-version-24593BA9C3E375BF.txt
[31/193] Compiling version.cpp
[32/193] Compiling transforms_impl.cpp
[33/205] Compiling vector.cpp
[34/216] Compiling transforms.cpp
[36/222] Emitting module InternalCollectionsUtilities
[36/224] Compiling random.cpp
[37/224] Compiling transforms.cpp
[38/224] Compiling no_gguf.cpp
[39/224] Compiling linalg.cpp
[41/224] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[42/224] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[43/224] Compiling InternalCollectionsUtilities _SortedCollection.swift
[44/224] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[45/224] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[46/224] Compiling InternalCollectionsUtilities Integer rank.swift
[47/224] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[48/224] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[49/224] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[50/224] Compiling InternalCollectionsUtilities UInt+reversed.swift
[51/224] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[52/224] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[53/224] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[54/224] Compiling InternalCollectionsUtilities Debugging.swift
[55/224] Compiling InternalCollectionsUtilities Descriptions.swift
[56/224] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[57/224] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[58/225] Compiling RealModule RealFunctions.swift
[63/226] Emitting module RealModule
[64/226] Compiling RealModule Real.swift
[65/226] Compiling RealModule Float16+Real.swift
[69/226] Compiling RealModule RelaxedArithmetic.swift
[70/226] Compiling RealModule Float80+Real.swift
[72/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[73/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[74/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[75/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[76/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[77/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[78/282] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[79/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[80/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[81/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[82/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[83/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[84/289] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[85/289] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[86/289] Compiling OrderedCollections OrderedDictionary.swift
[87/289] Compiling OrderedCollections OrderedSet+Codable.swift
[88/289] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[89/289] Compiling OrderedCollections OrderedSet+Descriptions.swift
[90/289] Compiling OrderedCollections OrderedSet+Diffing.swift
[91/289] Compiling OrderedCollections OrderedSet+Equatable.swift
[92/289] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[93/289] Compiling OrderedCollections OrderedSet+Hashable.swift
[94/289] Compiling OrderedCollections OrderedSet+Initializers.swift
[95/289] Compiling OrderedCollections OrderedSet+Insertions.swift
[96/289] Compiling OrderedCollections OrderedSet+Invariants.swift
[97/289] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[98/289] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[99/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[100/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[101/289] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[101/289] Compiling primitives.cpp
[103/289] Compiling OrderedCollections OrderedDictionary+Codable.swift
[104/289] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[105/289] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[106/289] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[107/289] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[108/289] Compiling OrderedCollections OrderedDictionary+Elements.swift
[109/289] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[110/289] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[111/289] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[112/289] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[113/289] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[114/289] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[115/289] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[116/289] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[117/289] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[118/289] Compiling OrderedCollections OrderedDictionary+Values.swift
[119/300] Compiling ComplexModule Complex+Hashable.swift
[120/300] Compiling ComplexModule Complex+IntegerLiteral.swift
[121/301] Compiling ComplexModule Polar.swift
[122/301] Compiling ComplexModule Complex.swift
[123/301] Compiling ComplexModule Complex+Numeric.swift
[124/301] Compiling ComplexModule Complex+StringConvertible.swift
[125/301] Compiling ComplexModule Scale.swift
[125/301] Compiling graph_utils.cpp
[127/301] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[128/301] Compiling ComplexModule Complex+AlgebraicField.swift
[129/301] Compiling ComplexModule Complex+Codable.swift
[130/301] Compiling ComplexModule Complex+ElementaryFunctions.swift
[133/301] Compiling OrderedCollections _HashTable.swift
[134/301] Compiling OrderedCollections _Hashtable+Header.swift
[135/301] Compiling OrderedCollections OrderedSet+Sendable.swift
[136/301] Compiling OrderedCollections OrderedSet+SubSequence.swift
[137/301] Compiling OrderedCollections OrderedSet+Testing.swift
[138/301] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[139/301] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[140/301] Compiling OrderedCollections OrderedSet.swift
[141/301] Compiling OrderedCollections _UnsafeBitset.swift
[146/301] Emitting module ComplexModule
[148/302] Emitting module Gzip
[149/302] Compiling Gzip Data+Gzip.swift
[151/305] Compiling Numerics Numerics.swift
[152/305] Emitting module Numerics
[153/306] Compiling load.cpp
[155/306] Emitting module OrderedCollections
[156/321] Compiling fft.cpp
[157/321] Compiling safetensors.cpp
[158/321] Compiling dtype_utils.cpp
[159/321] Compiling dtype.cpp
[160/321] Compiling no_ring.cpp
[161/321] Compiling einsum.cpp
[163/321] Compiling Jinja PropertyMembers.swift
[164/321] Compiling Jinja Template.swift
[165/322] Compiling Jinja Utilities.swift
[165/322] Compiling fast.cpp
[166/322] Compiling ops.cpp
[168/322] Compiling Jinja Macro.swift
[169/322] Compiling Jinja Parser.swift
[169/322] Compiling primitives.cpp
[170/322] Compiling no_nccl.cpp
[172/322] Compiling Jinja Interpreter.swift
[173/322] Compiling Jinja Lexer.swift
[173/322] Compiling device.cpp
[175/322] Compiling Jinja Value.swift
[175/322] Compiling ops.cpp
[176/322] Compiling no_mpi.cpp
[178/322] Compiling Jinja Tests.swift
[179/322] Compiling Jinja Token.swift
[179/322] Compiling distributed.cpp
[181/322] Compiling Jinja AST.swift
[182/322] Compiling Jinja Error.swift
[183/322] Compiling Jinja Filters.swift
[184/322] Compiling Jinja Globals.swift
[185/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.
[186/323] Compiling utils.cpp
[186/323] Compiling sort.cpp
[186/323] Compiling softmax.cpp
[186/323] Compiling compile.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>
| ^~~~~~~~~~~~~~~~
[186/323] Compiling ternary.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>
| ^~~~~~~~~~~~~~~~
[186/323] Compiling unary.cpp
[186/323] Compiling slicing.cpp
[186/323] Compiling export.cpp
BUILD FAILURE 6.2 linux