Build Information
Failed to build mlx-libraries, reference 2.29.1 (9bff95), with Swift 6.3 for Linux on 17 Apr 2026 06:47:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/1024jp/GzipSwift
[1/1557] Fetching gzipswift
[1558/7793] Fetching gzipswift, swift-transformers
[1995/22013] Fetching gzipswift, swift-transformers, mlx-swift
Fetched https://github.com/1024jp/GzipSwift from cache (0.36s)
[1006/20456] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers from cache (1.79s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.79s)
Computing version for https://github.com/1024jp/GzipSwift
Computed https://github.com/1024jp/GzipSwift at 6.0.1 (4.01s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.0.0 (0.49s)
Fetching https://github.com/huggingface/swift-jinja.git
[1/1051] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.36s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.29.1 (0.99s)
Fetching https://github.com/apple/swift-numerics
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.56s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.94s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.3.5 (0.42s)
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.05s)
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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.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.4.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/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.3.5
Building for debugging...
[0/193] Write sources
[4/193] Copying gpt2_tokenizer_config.json
[4/193] Copying t5_tokenizer_config.json
[8/193] Write sources
[19/193] Compiling system-zlib anchor.c
[20/193] Compiling _NumericsShims _NumericsShims.c
[21/193] Write sources
[27/193] Write swift-version-24593BA9C3E375BF.txt
[28/193] Compiling version.cpp
[30/204] Emitting module RealModule
[30/205] Compiling utils.cpp
[31/223] Compiling scheduler.cpp
[33/225] Emitting module InternalCollectionsUtilities
[33/227] Compiling random.cpp
[34/227] Compiling linalg.cpp
[36/227] Compiling RealModule RealFunctions.swift
[37/227] Compiling InternalCollectionsUtilities _SortedCollection.swift
[38/227] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[39/227] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[40/227] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[41/227] Compiling InternalCollectionsUtilities Span+Extras.swift
[42/227] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[43/227] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[44/227] Compiling InternalCollectionsUtilities Integer rank.swift
[45/227] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[46/227] Compiling InternalCollectionsUtilities UInt+reversed.swift
[47/227] Compiling RealModule Real.swift
[48/227] Compiling InternalCollectionsUtilities Debugging.swift
[49/227] Compiling InternalCollectionsUtilities Descriptions.swift
[50/227] Compiling RealModule RelaxedArithmetic.swift
[51/227] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[52/227] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[53/227] Compiling InternalCollectionsUtilities String+Padding.swift
[54/227] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[57/227] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[58/227] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/227] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[62/228] Compiling RealModule Float80+Real.swift
[63/228] Compiling RealModule Float16+Real.swift
[68/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[69/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[70/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[71/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[72/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[73/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[74/284] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[75/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[76/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[77/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[78/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[79/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[80/291] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[81/291] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[82/291] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[83/291] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[84/291] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[85/291] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[86/291] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[87/291] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[88/291] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[89/291] Compiling OrderedCollections OrderedDictionary+Values.swift
[90/291] Compiling OrderedCollections OrderedDictionary.swift
[91/291] Compiling OrderedCollections OrderedSet+Codable.swift
[92/291] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[93/291] Compiling OrderedCollections OrderedSet+Descriptions.swift
[94/291] Compiling OrderedCollections OrderedSet+Diffing.swift
[95/291] Compiling OrderedCollections OrderedSet+Equatable.swift
[96/291] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[97/291] Compiling OrderedCollections OrderedSet+Hashable.swift
[98/291] Compiling OrderedCollections OrderedDictionary+Codable.swift
[99/291] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[100/291] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[101/291] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[102/291] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[103/291] Compiling OrderedCollections OrderedDictionary+Elements.swift
[104/291] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[105/291] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[106/291] Compiling OrderedCollections OrderedSet+Initializers.swift
[107/291] Compiling OrderedCollections OrderedSet+Insertions.swift
[108/291] Compiling OrderedCollections OrderedSet+Invariants.swift
[109/291] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[110/291] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[111/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[112/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[113/291] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[113/291] Compiling no_gguf.cpp
[114/302] Compiling transforms.cpp
[116/302] Compiling ComplexModule Polar.swift
[116/303] Compiling primitives.cpp
[118/303] Compiling ComplexModule Complex+Numeric.swift
[119/303] Compiling ComplexModule Complex+Hashable.swift
[120/303] Compiling ComplexModule Complex+IntegerLiteral.swift
[121/303] Compiling ComplexModule Complex+StringConvertible.swift
[122/303] Compiling ComplexModule Complex.swift
[123/303] Compiling ComplexModule Scale.swift
[124/303] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[125/303] Compiling ComplexModule Complex+AlgebraicField.swift
[126/303] Compiling ComplexModule Complex+Codable.swift
[127/303] Compiling ComplexModule Complex+ElementaryFunctions.swift
[130/303] Compiling OrderedCollections _HashTable.swift
[131/303] Compiling OrderedCollections _Hashtable+Header.swift
[132/303] Emitting module ComplexModule
[133/303] Compiling OrderedCollections OrderedSet+Sendable.swift
[134/303] Compiling OrderedCollections OrderedSet+SubSequence.swift
[135/303] Compiling OrderedCollections OrderedSet+Testing.swift
[136/303] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[137/303] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[138/303] Compiling OrderedCollections OrderedSet.swift
[139/303] Compiling OrderedCollections _UnsafeBitset.swift
[145/304] Emitting module OrderedCollections
[147/307] Emitting module Numerics
[148/307] Compiling Numerics Numerics.swift
[149/322] Compiling load.cpp
[151/322] Emitting module Gzip
[152/322] Compiling Gzip Data+Gzip.swift
[153/323] Compiling fft.cpp
[154/323] Compiling graph_utils.cpp
[156/323] Compiling Jinja Utilities.swift
[156/324] Compiling dtype.cpp
[157/324] Compiling dtype_utils.cpp
[159/324] Emitting module Jinja
[159/324] Compiling fast.cpp
[161/324] Compiling Jinja Macro.swift
[162/324] Compiling Jinja Parser.swift
[162/324] Compiling safetensors.cpp
[164/324] Compiling Jinja Value.swift
[165/324] Compiling Jinja Interpreter.swift
[166/324] Compiling Jinja Lexer.swift
[166/324] Compiling ops.cpp
[167/324] Compiling no_nccl.cpp
[168/324] Compiling no_ring.cpp
[170/324] Compiling Jinja Tests.swift
[171/324] Compiling Jinja Token.swift
[172/324] Compiling Jinja PropertyMembers.swift
[173/324] Compiling Jinja Template.swift
[173/324] Compiling einsum.cpp
[174/324] Compiling device.cpp
[175/324] Compiling primitives.cpp
[176/324] Compiling no_mpi.cpp
[178/324] Compiling Jinja AST.swift
[179/324] Compiling Jinja Error.swift
[180/324] Compiling Jinja Filters.swift
[181/324] Compiling Jinja Globals.swift
[181/325] Compiling distributed.cpp
[183/325] Compiling ops.cpp
[185/333] 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'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
[186/333] Compiling Hub JSONSerialization+BOM.swift
/host/spi-builder-workspace/.build/checkouts/swift-transformers/Sources/Hub/Downloader.swift:9:8: error: no such module 'Combine'
7 | //
8 |
9 | import Combine
| `- error: no such module 'Combine'
10 | import Foundation
11 |
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/333] 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>
| ^~~~~~~~~~~~~~~~
[186/333] Compiling sort.cpp
[186/333] Compiling softmax.cpp
[186/333] Compiling compile.cpp
[186/333] Compiling unary.cpp
[186/333] Compiling export.cpp
[186/333] Compiling ternary.cpp
BUILD FAILURE 6.3 linux