Build Information
Failed to build MLXDINOv3, reference 2.0.0 (3122d7), with Swift 6.4 for Linux on 24 Sep 2026 18:50:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincentamato/MLXDINOv3.git
Reference: 2.0.0
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/vincentamato/MLXDINOv3
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 3122d79 Refactor codebase and clean up public API
Cloned https://github.com/vincentamato/MLXDINOv3.git
Revision (git rev-parse @):
3122d7905cca21012b4c249e8ddad19ff78f54bc
SUCCESS checkout https://github.com/vincentamato/MLXDINOv3.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/vincentamato/MLXDINOv3.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/huggingface/swift-transformers
[1/7026] Fetching swift-transformers
Fetched https://github.com/huggingface/swift-transformers (0.69s)
[1/16941] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift.git (1.25s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.6 (1.50s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6640] Fetching swift-numerics
[3122/25581] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.84s)
Fetched https://github.com/apple/swift-argument-parser (0.84s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (1.03s)
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/2753] Fetching swift-huggingface
[222/21302] Fetching swift-huggingface, swift-crypto
[4238/22678] Fetching swift-huggingface, swift-crypto, swift-jinja
[6171/50380] Fetching swift-huggingface, swift-crypto, swift-jinja, swift-collections
[20039/55279] Fetching swift-huggingface, swift-crypto, swift-jinja, swift-collections, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git (1.27s)
Fetched https://github.com/ibireme/yyjson.git (1.27s)
Fetched https://github.com/apple/swift-crypto.git (1.28s)
Fetched https://github.com/huggingface/swift-jinja.git (1.29s)
Fetched https://github.com/apple/swift-collections.git (1.30s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.36s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (0.17s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.43s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.59s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.13s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.73s)
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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.5.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.11.0
Creating working copy for https://github.com/ml-explore/mlx-swift.git
Working copy of https://github.com/ml-explore/mlx-swift.git resolved at 0.31.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.4
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1011]
[Planning deferred tasks]
[Constructing 1485 / 2833]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gemv.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal' of type 'sourcecode.metal' for architecture 'x86_64'
[175 / 1060]
[188 / 1094] ArgumentParserToolInfo
[188 / 1094] RealModule
[201 / 1094] RealModule
[203 / 1094] RealModule
[211 / 1094] RealModule
[211 / 1094] CryptoBoringWrapper
[222 / 1094] RealModule
[226 / 1094] OrderedCollections
[232 / 1095] RealModule
[238 / 1095] InternalCollectionsUtilities
[241 / 1095] CryptoBoringWrapper
[246 / 1095] CCryptoBoringSSL
[247 / 1096] ArgumentParserToolInfo
[249 / 1097] CCryptoBoringSSL
[252 / 1097] CCryptoBoringSSL
[255 / 1097] CCryptoBoringSSL
[257 / 1098] CCryptoBoringSSL
[259 / 1099] CCryptoBoringSSL
[267 / 1099] CCryptoBoringSSL
[269 / 1099] CCryptoBoringSSL
[271 / 1099] CCryptoBoringSSL
[273 / 1099] CCryptoBoringSSL
[276 / 1099] CCryptoBoringSSL
[278 / 1099] CCryptoBoringSSL
[281 / 1099] CCryptoBoringSSL
[284 / 1099] CCryptoBoringSSL
[291 / 1099] CCryptoBoringSSL
[296 / 1099] CCryptoBoringSSL
[297 / 1099] CCryptoBoringSSL
[300 / 1099] CCryptoBoringSSL
[302 / 1099] CCryptoBoringSSL
[305 / 1099] CCryptoBoringSSL
[308 / 1099] CCryptoBoringSSL
[310 / 1099] CCryptoBoringSSL
[313 / 1099] CCryptoBoringSSL
[317 / 1099] CCryptoBoringSSL
[321 / 1099] CCryptoBoringSSL
[324 / 1099] CCryptoBoringSSL
[328 / 1099] CCryptoBoringSSL
[331 / 1099] CCryptoBoringSSL
[332 / 1099] CCryptoBoringSSL
[336 / 1099] CCryptoBoringSSL
[338 / 1099] CCryptoBoringSSL
[341 / 1099] CCryptoBoringSSL
[342 / 1099] CCryptoBoringSSL
[351 / 1099] CCryptoBoringSSL
[363 / 1099] CCryptoBoringSSL
[377 / 1099] CCryptoBoringSSL
[379 / 1099] CCryptoBoringSSL
[381 / 1099] CCryptoBoringSSL
[386 / 1099] CCryptoBoringSSL
[387 / 1099] CCryptoBoringSSL
[392 / 1099] CCryptoBoringSSL
[395 / 1099] CCryptoBoringSSL
[399 / 1099] CCryptoBoringSSL
[402 / 1099] CCryptoBoringSSL
[408 / 1099] CCryptoBoringSSL
[410 / 1099] CCryptoBoringSSL
[412 / 1099] CCryptoBoringSSL
[416 / 1099] CCryptoBoringSSL
[419 / 1099] CCryptoBoringSSL
[420 / 1099] CCryptoBoringSSL
[424 / 1099] CCryptoBoringSSL
[431 / 1099] CCryptoBoringSSL
[438 / 1099] CCryptoBoringSSL
[439 / 1099] CCryptoBoringSSL
[443 / 1099] CCryptoBoringSSL
[448 / 1099] CCryptoBoringSSL
[453 / 1099] CCryptoBoringSSL
[461 / 1099] CCryptoBoringSSL
[472 / 1099] CCryptoBoringSSL
[473 / 1099] CCryptoBoringSSL
[486 / 1099] CCryptoBoringSSL
[493 / 1099] CCryptoBoringSSL
[498 / 1099] CCryptoBoringSSL
[500 / 1099] CCryptoBoringSSL
[501 / 1099] CCryptoBoringSSL
[506 / 1099] CCryptoBoringSSL
[508 / 1099] CCryptoBoringSSL
[513 / 1099] CCryptoBoringSSL
[518 / 1099] CCryptoBoringSSL
[521 / 1099] CCryptoBoringSSL
[523 / 1099] CCryptoBoringSSL
[527 / 1099] CCryptoBoringSSL
[532 / 1099] CCryptoBoringSSL
[542 / 1099] CCryptoBoringSSL
[549 / 1099] CCryptoBoringSSL
[553 / 1099] CCryptoBoringSSL
[558 / 1099] CCryptoBoringSSL
[562 / 1099] CCryptoBoringSSL
[565 / 1099] CCryptoBoringSSL
[567 / 1099] CCryptoBoringSSL
[575 / 1099] CCryptoBoringSSL
[584 / 1099] CCryptoBoringSSL
[592 / 1099] CCryptoBoringSSL
[597 / 1099] CCryptoBoringSSL
[599 / 1099] CCryptoBoringSSL
[601 / 1099] CCryptoBoringSSL
[602 / 1099] CCryptoBoringSSL
[606 / 1099] CCryptoBoringSSL
[607 / 1099] CCryptoBoringSSL
[610 / 1099] swift-crypto_CXKCP
[617 / 1099] InternalCollectionsUtilities
[628 / 1104] ComplexModule
[633 / 1131] Crypto
[636 / 1139] OrderedCollections
[637 / 1139] OrderedCollections
[640 / 1139] ComplexModule
[651 / 1139] OrderedCollections
[654 / 1139] Crypto
[655 / 1139] Crypto
[655 / 1139] OrderedCollections
[660 / 1140] Crypto
[671 / 1140] Crypto
[672 / 1140] Crypto
[673 / 1140] ComplexModule
[675 / 1140] Numerics
[678 / 1140] ComplexModule
[681 / 1140] ArgumentParser
[682 / 1141] ComplexModule
[686 / 1141] ArgumentParser
[688 / 1142] Crypto
[693 / 1145] Jinja
[696 / 1156] Numerics
[704 / 1165] Numerics
[710 / 1166] Numerics
[711 / 1166] Jinja
[715 / 1166] Jinja
[720 / 1166] CCryptoBoringSSL
[721 / 1167] CCryptoBoringSSL
[724 / 1167] HuggingFace
[726 / 1167] HuggingFace
[727 / 1167] HuggingFace
[729 / 1168] Jinja
[736 / 1168] HuggingFace-product
[742 / 1175] encuda-product
[744 / 1175] encuda-product
[745 / 1175] HuggingFace
[749 / 1183] OrderedCollections-product
[751 / 1183] OrderedCollections-product
[753 / 1184] encuda-product
[755 / 1184] Jinja
[758 / 1184] encuda-product
[759 / 1184] Hub
[771 / 1194] Tokenizers
[774 / 1195] Tokenizers
[776 / 1195] Tokenizers
[778 / 1195] Tokenizers
[789 / 1205] Generation
[794 / 1205] Generation
[802 / 1206] Cmlx
[808 / 1211] Models
[824 / 1223] Tokenizers
[825 / 1224] MLX
[832 / 1224] MLX
[840 / 1224] MLX
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/event.h:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/allocator.h:7:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:5:10: [0m[0;1;31mfatal error: [0m[1m'cublasLt.h' file not found[0m
5 | #include <cublasLt.h>[0m
| [0;1;32m ^~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.o /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.dia -c /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.o
error: Build failed
BUILD FAILURE 6.4 linux