The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MLXDINOv3, reference main (3122d7), with Swift 6.4 for Linux on 24 Sep 2026 18:50:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincentamato/MLXDINOv3.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/vincentamato/MLXDINOv3
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-54344844-1":/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/huggingface/swift-transformers
Fetching https://github.com/ml-explore/mlx-swift.git
[1/7026] Fetching swift-transformers
[7027/23967] Fetching swift-transformers, mlx-swift
Fetched https://github.com/huggingface/swift-transformers (1.26s)
Fetched https://github.com/ml-explore/mlx-swift.git (1.26s)
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.53s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/18941] Fetching swift-argument-parser
[18942/25581] Fetching swift-argument-parser, swift-numerics
Fetched https://github.com/apple/swift-numerics (1.22s)
Fetched https://github.com/apple/swift-argument-parser (1.23s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (1.44s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/18549] Fetching swift-crypto
[743/19925] Fetching swift-crypto, swift-jinja
[840/22678] Fetching swift-crypto, swift-jinja, swift-huggingface
Fetched https://github.com/huggingface/swift-jinja.git (0.64s)
[4608/21302] Fetching swift-crypto, swift-huggingface
[4609/49004] Fetching swift-crypto, swift-huggingface, swift-collections
[10427/53903] Fetching swift-crypto, swift-huggingface, swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git (1.05s)
[34094/49004] Fetching swift-crypto, swift-huggingface, swift-collections
Fetched https://github.com/huggingface/swift-huggingface.git (1.36s)
Fetched https://github.com/apple/swift-collections.git (1.38s)
Fetched https://github.com/apple/swift-crypto.git (1.38s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.45s)
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.18s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.53s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.70s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.31s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.17s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.12s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.36s)
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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.4
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/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/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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1011]
[Planning deferred tasks]
[Constructing 29 / 2833]
[Constructing 1624 / 2833]
[Starting]
[6 / 1056] HuggingFace-product
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'
[166 / 1056] swift-transformers_Hub
[184 / 1063] RealModule
[189 / 1094] InternalCollectionsUtilities
[192 / 1094] ArgumentParserToolInfo
[199 / 1094] CCryptoBoringSSL
[205 / 1094] CCryptoBoringSSL
[206 / 1094] CCryptoBoringSSL
[209 / 1094] CCryptoBoringSSL
[212 / 1094] CCryptoBoringSSL
[218 / 1094] CCryptoBoringSSL
[219 / 1094] CCryptoBoringSSL
[224 / 1094] EventSource
[232 / 1094] CCryptoBoringSSL
[233 / 1094] CCryptoBoringSSL
[239 / 1094] CCryptoBoringSSL
[241 / 1094] CCryptoBoringSSL
[243 / 1094] CCryptoBoringSSL
[246 / 1094] CCryptoBoringSSL
[247 / 1094] CCryptoBoringSSL
[249 / 1094] CCryptoBoringSSL
[251 / 1094] CCryptoBoringSSL
[252 / 1094] CCryptoBoringSSL
[254 / 1094] CCryptoBoringSSL
[258 / 1094] CCryptoBoringSSL
[261 / 1094] CCryptoBoringSSL
[265 / 1094] CCryptoBoringSSL
[268 / 1094] CCryptoBoringSSL
[269 / 1094] CCryptoBoringSSL
[271 / 1094] CCryptoBoringSSL
[273 / 1094] CCryptoBoringSSL
[277 / 1094] CCryptoBoringSSL
[278 / 1094] CCryptoBoringSSL
[280 / 1094] CCryptoBoringSSL
[282 / 1094] CCryptoBoringSSL
[283 / 1094] CCryptoBoringSSL
[285 / 1094] CCryptoBoringSSL
[286 / 1094] CCryptoBoringSSL
[287 / 1094] CCryptoBoringSSL
[288 / 1094] CCryptoBoringSSL
[290 / 1094] CCryptoBoringSSL
[294 / 1094] CCryptoBoringSSL
[297 / 1094] CCryptoBoringSSL
[300 / 1094] CCryptoBoringSSL
[302 / 1094] CCryptoBoringSSL
[304 / 1094] CCryptoBoringSSL
[306 / 1094] CCryptoBoringSSL
[308 / 1094] CCryptoBoringSSL
[310 / 1094] CCryptoBoringSSL
[312 / 1094] CCryptoBoringSSL
[316 / 1094] CCryptoBoringSSL
[321 / 1094] CCryptoBoringSSL
[327 / 1094] CCryptoBoringSSL
[336 / 1094] CCryptoBoringSSL
[342 / 1094] CCryptoBoringSSL
[347 / 1094] CCryptoBoringSSL
[350 / 1094] CCryptoBoringSSL
[351 / 1094] CCryptoBoringSSL
[354 / 1094] CCryptoBoringSSL
[356 / 1094] CCryptoBoringSSL
[358 / 1094] CCryptoBoringSSL
[361 / 1094] CCryptoBoringSSL
[363 / 1094] CCryptoBoringSSL
[365 / 1094] CCryptoBoringSSL
[366 / 1094] CCryptoBoringSSL
[368 / 1094] CCryptoBoringSSL
[370 / 1094] CCryptoBoringSSL
[371 / 1094] CCryptoBoringSSL
[372 / 1094] CCryptoBoringSSL
[373 / 1094] CCryptoBoringSSL
[375 / 1094] CCryptoBoringSSL
[378 / 1094] CCryptoBoringSSL
[379 / 1094] CCryptoBoringSSL
[381 / 1094] CCryptoBoringSSL
[384 / 1094] CCryptoBoringSSL
[387 / 1094] CCryptoBoringSSL
[388 / 1094] CCryptoBoringSSL
[389 / 1094] CCryptoBoringSSL
[391 / 1094] CCryptoBoringSSL
[392 / 1094] CCryptoBoringSSL
[393 / 1094] CCryptoBoringSSL
[394 / 1094] CCryptoBoringSSL
[395 / 1094] CCryptoBoringSSL
[398 / 1094] CCryptoBoringSSL
[401 / 1094] CCryptoBoringSSL
[407 / 1094] CCryptoBoringSSL
[409 / 1094] CCryptoBoringSSL
[411 / 1094] CCryptoBoringSSL
[412 / 1094] CCryptoBoringSSL
[416 / 1094] CCryptoBoringSSL
[419 / 1094] CCryptoBoringSSL
[420 / 1094] CCryptoBoringSSL
[422 / 1094] CCryptoBoringSSL
[423 / 1094] CCryptoBoringSSL
[424 / 1094] CCryptoBoringSSL
[430 / 1094] CCryptoBoringSSL
[436 / 1094] CCryptoBoringSSL
[441 / 1094] CCryptoBoringSSL
[445 / 1094] CCryptoBoringSSL
[448 / 1094] CCryptoBoringSSL
[452 / 1094] CCryptoBoringSSL
[457 / 1094] CCryptoBoringSSL
[459 / 1094] CCryptoBoringSSL
[463 / 1094] CCryptoBoringSSL
[464 / 1094] CCryptoBoringSSL
[466 / 1094] CCryptoBoringSSL
[468 / 1094] CCryptoBoringSSL
[469 / 1094] CCryptoBoringSSL
[472 / 1094] CCryptoBoringSSL
[473 / 1094] CCryptoBoringSSL
[475 / 1094] CCryptoBoringSSL
[477 / 1094] CCryptoBoringSSL
[481 / 1094] CCryptoBoringSSL
[483 / 1094] CCryptoBoringSSL
[485 / 1094] CCryptoBoringSSL
[486 / 1094] CCryptoBoringSSL
[488 / 1094] CCryptoBoringSSL
[490 / 1094] CCryptoBoringSSL
[492 / 1094] CCryptoBoringSSL
[494 / 1094] CCryptoBoringSSL
[496 / 1094] CCryptoBoringSSL
[497 / 1094] CCryptoBoringSSL
[500 / 1094] CCryptoBoringSSL
[505 / 1094] CCryptoBoringSSL
[511 / 1094] CCryptoBoringSSL
[515 / 1094] CCryptoBoringSSL
[520 / 1094] CCryptoBoringSSL
[523 / 1094] CCryptoBoringSSL
[524 / 1094] CCryptoBoringSSL
[525 / 1094] CCryptoBoringSSL
[529 / 1094] CCryptoBoringSSL
[532 / 1094] CCryptoBoringSSL
[533 / 1094] CCryptoBoringSSL
[535 / 1094] CCryptoBoringSSL
[536 / 1094] CCryptoBoringSSL
[538 / 1094] CCryptoBoringSSL
[544 / 1094] CCryptoBoringSSL
[549 / 1094] CCryptoBoringSSL
[555 / 1094] CCryptoBoringSSL
[559 / 1094] CCryptoBoringSSL
[562 / 1094] CCryptoBoringSSL
[566 / 1094] CCryptoBoringSSL
[568 / 1094] CCryptoBoringSSL
[570 / 1094] CCryptoBoringSSL
[573 / 1094] CCryptoBoringSSL
[574 / 1094] CCryptoBoringSSL
[576 / 1094] CCryptoBoringSSL
[577 / 1094] CCryptoBoringSSL
[579 / 1094] CCryptoBoringSSL
[581 / 1094] CCryptoBoringSSL
[583 / 1094] RealModule
[584 / 1094] RealModule
[585 / 1094] CCryptoBoringSSL
[588 / 1094] RealModule
[589 / 1094] RealModule
[589 / 1094] MLXDINOv3_MLXDINOv3Tests
[592 / 1094] InternalCollectionsUtilities
[594 / 1094] OrderedCollections
[598 / 1095] RealModule
[600 / 1095] EventSource
[603 / 1095] EventSource-product
[606 / 1095] CryptoBoringWrapper
[607 / 1095] CryptoBoringWrapper
[608 / 1095] InternalCollectionsUtilities
[609 / 1095] CryptoBoringWrapper
[610 / 1095] CryptoBoringWrapper
[611 / 1095] Crypto
[612 / 1096] ArgumentParser
[615 / 1096] RealModule
[616 / 1097]
[618 / 1106] OrderedCollections
[619 / 1107] OrderedCollections
[622 / 1107] OrderedCollections
[623 / 1108] OrderedCollections
[623 / 1109] OrderedCollections
[626 / 1109] CCryptoBoringSSL
[627 / 1109] EventSource
[629 / 1109] EventSource
[635 / 1109] InternalCollectionsUtilities
[637 / 1120]
[640 / 1120] ComplexModule
[642 / 1129] Crypto
[644 / 1129] Crypto
[646 / 1129] Crypto
[647 / 1129] OrderedCollections
[657 / 1129] OrderedCollections
[658 / 1129] OrderedCollections-product
[659 / 1130] Crypto
[660 / 1130] Jinja
[662 / 1130] OrderedCollections
[664 / 1130] ComplexModule
[664 / 1130] Crypto
[665 / 1130] ComplexModule
[672 / 1130] Crypto-product
[674 / 1131] ArgumentParserToolInfo
[682 / 1146] HuggingFace
[684 / 1155] HuggingFace
[691 / 1165] Numerics
[692 / 1165] Numerics-product
[693 / 1165] Numerics-product
[701 / 1165] Jinja
[702 / 1165] Jinja
[708 / 1165] Jinja
[709 / 1165] Jinja-product
[710 / 1165] Jinja-product
[711 / 1166] Jinja-product
[713 / 1166] HuggingFace
[714 / 1166] HuggingFace
[716 / 1166] HuggingFace
[717 / 1167] Jinja
[718 / 1167] Jinja
[725 / 1167] HuggingFace
[726 / 1167] HuggingFace-product
[730 / 1167] Hub
[731 / 1167] ArgumentParser-product
[732 / 1167] encuda-product
[733 / 1167] encuda-product
[735 / 1167] ArgumentParser
[736 / 1167] ArgumentParser
[736 / 1167]
[739 / 1174] encuda-product
[740 / 1174] encuda-product
[741 / 1174] ArgumentParser
[743 / 1174] encuda-product
[746 / 1174] Jinja
[750 / 1182] Hub
[750 / 1182] encuda-product
[753 / 1183] ArgumentParser
[757 / 1184] encuda-product
[760 / 1184]
[762 / 1184] Hub
[774 / 1195] Tokenizers
[776 / 1195] Tokenizers
[778 / 1195] Tokenizers
[779 / 1195] Tokenizers
[790 / 1205] Generation
[798 / 1205] Generation
[801 / 1205] Crypto
[808 / 1211] Models
[822 / 1222] MLX
encuda/encuda-compile.swift:55: Fatal error: nvcc not found
*** Signal 4: Backtracing from 0x7158f69d114f... done ***
*** Program crashed: Illegal instruction at 0x00007158f69d114f ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "encuda" crashed:
0               0x00007158f69d114f _assertionFailure(_:_:file:line:flags:) + 303 in libswiftCore.so
1 [ra]          0x000061e026fb0968 Encuda.Compile.run() + 1303 in encuda at /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Encuda/encuda-compile.swift:55:21
2 [ra] [thunk]  0x000061e026fac87d protocol witness for ParsableCommand.run() in conformance Encuda.Compile + 12 in encuda at //<compiler-generated>
3 [ra]          0x000061e027077fe5 static ParsableCommand.main(_:) + 532 in encuda at /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableCommand.swift:161:19
4 [ra]          0x000061e027078937 static ParsableCommand.main() + 38 in encuda at /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableCommand.swift:178:10
5 [ra] [system] 0x000061e026fbdf8e static Encuda.$main() + 29 in encuda at //<compiler-generated>
6 [ra] [system] 0x000061e026fbe099 main + 8 in encuda at /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Encuda/encuda.swift
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000001  1
rbx 0x000061e6588a4da9  107641955831209
rsi 0x8000646e756f6620  9223482462434190880
rdi 0x000061e0468cf010  07 00 07 00 07 00 06 00 07 00 07 00 07 00 07 00  ················
rbp 0x00007ffc30d676e0  70 83 d6 30 fc 7f 00 00 68 09 fb 26 e0 61 00 00  p·Ö0ü···h·û&àa··
rsp 0x00007ffc30d676c0  6e 76 63 63 20 6e 6f 74 00 00 00 00 00 00 00 00  nvcc not········
 r8 0x000061e0468e9740  a9 4d 8a 58 e6 61 00 00 ea ed 81 c3 2e aa 1b 91  ©M·Xæa··êí·Ã.ª··
 r9 0x00007ffc30d67430  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6e 76 63  Fatal error: nvc
r10 0x0000000000000000  0
r11 0x911baa2ec381edea  10456138077696028138
r12 0x0000000000000000  0
r13 0x00007ffc30d68068  c0 45 d6 30 fc 7f 00 00 00 00 00 00 00 00 00 00  ÀEÖ0ü···········
r14 0x000061e027135b40  84 52 14 27 e0 61 00 00 0c 42 14 27 e0 61 00 00  ·R·'àa···B·'àa··
r15 0x00007158f6e69040  e0 a2 e6 f6 58 71 00 00 17 00 00 00 00 00 00 00  à¢æöXq··········
rip 0x00007158f69d114f  0f 0b 48 83 ec 08 48 8d 05 d4 54 30 00 48 8d 3d  ··H·ì·H··ÔT0·H·=
rflags 0x0000000000010206  PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (20 omitted):
0x000061e026f47000–0x000061e0271346b8 b7b97c8e39e99f8e579f19ee2b838dcd20043783 encuda          /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/encuda
0x00007158f66c7000–0x00007158f6ca3fc8 140049ce7099ab6272ad992fdaa68c2aeeadee67 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.09s
error: CustomTask Compiling\ ternary.cu\ to\ ternary.cpp 1d337f93f11e6b05f65035ea07c62da8d080e75bb438546678f92a10cbff372c failed with a nonzero exit code. Command line:     cd /host/spi-builder-workspace/.build/checkouts/mlx-swift
    /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/encuda compile --std c++20 --incremental --clangpp /usr/bin/clang++ -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-c -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/json/single_include/nlohmann -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/fmt/include /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/ternary.cu -o /host/spi-builder-workspace/.build/plugins/outputs/mlx-swift/Cmlx/destination/CudaBuild/mlx/mlx/backend/cuda/ternary.cpp
encuda/encuda-compile.swift:55: Fatal error: nvcc not found
*** Signal 4: Backtracing from 0x7e267aac714f... done ***
*** Program crashed: Illegal instruction at 0x00007e267aac714f ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "encuda" crashed:
0               0x00007e267aac714f _assertionFailure(_:_:file:line:flags:) + 303 in libswiftCore.so
1 [ra]          0x0000568c4e24d968 Encuda.Compile.run() + 1303 in encuda at /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Encuda/encuda-compile.swift:55:21
2 [ra] [thunk]  0x0000568c4e24987d protocol witness for ParsableCommand.run() in conformance Encuda.Compile + 12 in encuda at //<compiler-generated>
3 [ra]          0x0000568c4e314fe5 static ParsableCommand.main(_:) + 532 in encuda at /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableCommand.swift:161:19
4 [ra]          0x0000568c4e315937 static ParsableCommand.main() + 38 in encuda at /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/ParsableCommand.swift:178:10
5 [ra] [system] 0x0000568c4e25af8e static Encuda.$main() + 29 in encuda at //<compiler-generated>
6 [ra] [system] 0x0000568c4e25b099 main + 8 in encuda at /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Encuda/encuda.swift
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000002  2
rcx 0x0000000000000001  1
rbx 0x00005689094ddd83  95146566606211
rsi 0x8000646e756f6620  9223482462434190880
rdi 0x0000568c618a9010  07 00 07 00 07 00 06 00 07 00 07 00 07 00 07 00  ················
rbp 0x00007fffd13663b0  40 70 36 d1 ff 7f 00 00 68 d9 24 4e 8c 56 00 00  @p6Ñÿ···hÙ$N·V··
rsp 0x00007fffd1366390  6e 76 63 63 20 6e 6f 74 00 00 00 00 00 00 00 00  nvcc not········
 r8 0x0000568c618c3740  83 dd 4d 09 89 56 00 00 a2 02 d6 b8 55 42 ae 3e  ·ÝM··V··¢·Ö¸UB®>
 r9 0x00007fffd1366100  46 61 74 61 6c 20 65 72 72 6f 72 3a 20 6e 76 63  Fatal error: nvc
r10 0x0000000000000000  0
r11 0x3eae4255b8d602a2  4516620412239872674
r12 0x0000000000000000  0
r13 0x00007fffd1366d38  90 32 36 d1 ff 7f 00 00 00 00 00 00 00 00 00 00  ·26Ñÿ···········
r14 0x0000568c4e3d2b40  84 22 3e 4e 8c 56 00 00 0c 12 3e 4e 8c 56 00 00  ·">N·V····>N·V··
r15 0x00007e267af5f040  e0 02 f6 7a 26 7e 00 00 17 00 00 00 00 00 00 00  à·öz&~··········
rip 0x00007e267aac714f  0f 0b 48 83 ec 08 48 8d 05 d4 54 30 00 48 8d 3d  ··H·ì·H··ÔT0·H·=
rflags 0x0000000000010206  PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (20 omitted):
0x0000568c4e1e4000–0x0000568c4e3d16b8 b7b97c8e39e99f8e579f19ee2b838dcd20043783 encuda          /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/encuda
0x00007e267a7bd000–0x00007e267ad99fc8 140049ce7099ab6272ad992fdaa68c2aeeadee67 libswiftCore.so /usr/lib/swift/linux/libswiftCore.so
Backtrace took 0.10s
error: CustomTask Compiling\ tanh.cu\ to\ tanh.cpp de52affd647b08d164afd0b06395fdbe986e2f6aa6a141237c5a0ae84ffb27e7 failed with a nonzero exit code. Command line:     cd /host/spi-builder-workspace/.build/checkouts/mlx-swift
    /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/encuda compile --std c++20 --incremental --clangpp /usr/bin/clang++ -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-c -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/json/single_include/nlohmann -I /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/fmt/include /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/unary/tanh.cu -o /host/spi-builder-workspace/.build/plugins/outputs/mlx-swift/Cmlx/destination/CudaBuild/mlx/mlx/backend/cuda/unary/tanh.cpp
error: Build failed
BUILD FAILURE 6.4 linux