The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MLXAudio, reference main (d302a5), with Swift 6.4 for Linux on 25 Sep 2026 01:08:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gaelic-ghost/mlx-audio-swift.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/gaelic-ghost/mlx-audio-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d302a5c Improve Voices STT controls and MOSS streaming (#223)
Cloned https://github.com/gaelic-ghost/mlx-audio-swift.git
Revision (git rev-parse @):
d302a5c6080d2bb97bae38c7418f82abb76013b6
SUCCESS checkout https://github.com/gaelic-ghost/mlx-audio-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/gaelic-ghost/mlx-audio-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/huggingface/swift-transformers.git
Fetching https://github.com/ml-explore/mlx-swift.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/huggingface/swift-huggingface.git
[1/7026] Fetching swift-transformers
[423/9779] Fetching swift-transformers, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git (0.59s)
[2319/7026] Fetching swift-transformers
[7027/23967] Fetching swift-transformers, mlx-swift
[23968/45145] Fetching swift-transformers, mlx-swift, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift.git (2.94s)
Fetched https://github.com/huggingface/swift-transformers.git (2.94s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git (2.96s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 3.31.4 (3.18s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80067] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.97s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.31.6 (3.24s)
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 (0.95s)
Fetched https://github.com/apple/swift-argument-parser (0.96s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.13s)
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/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
[304/18852] Fetching eventsource, swift-crypto
Fetched https://github.com/mattt/EventSource.git (0.45s)
[186/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.17s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.34s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.4 (0.18s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1376] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git (0.58s)
[1/27702] Fetching swift-collections
[5819/32601] Fetching swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git (1.14s)
Fetched https://github.com/apple/swift-collections.git (1.15s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.33s)
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/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.28s)
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.12s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.06s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.28s)
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 3.31.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.3.4
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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
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-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-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.11.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
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MLXAudioTTS/Models/IrodoriTTS/README.md
    /host/spi-builder-workspace/Sources/MLXAudioTTS/Models/MossTTS/README.md
    /host/spi-builder-workspace/Sources/MLXAudioTTS/Models/OmniVoice/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MLXAudioVAD/Models/SileroVAD/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/MLXAudioSTS/Models/DeepFilterNet/README.md
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 75]
[Pre-planning 1 / 1740]
[Planning 1003 / 1740]
[Planning deferred tasks]
[Constructing 678 / 4304]
[Starting]
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'
[209 / 1262] Hub
[282 / 1297] InternalCollectionsUtilities
[282 / 1297] yyjson
[290 / 1297] RealModule
[302 / 1297] RealModule
[304 / 1297] RealModule
[311 / 1297] OrderedCollections
[317 / 1297] EventSource
[320 / 1298] EventSource-product
[324 / 1298] CryptoBoringWrapper
[327 / 1298] CryptoBoringWrapper
[328 / 1298] Crypto
[332 / 1298] CXKCP
[335 / 1299]
[339 / 1312] ArgumentParserToolInfo
[348 / 1312] OrderedCollections
[351 / 1312] CryptoBoringWrapper
[353 / 1313] OrderedCollections
[357 / 1314] EventSource
[362 / 1314] ArgumentParser
[366 / 1315] Crypto
[367 / 1324] Crypto
[370 / 1324] CCryptoBoringSSL
[373 / 1325] CCryptoBoringSSL
[380 / 1326] CCryptoBoringSSL
[381 / 1326] CCryptoBoringSSL
[384 / 1326] CCryptoBoringSSL
[393 / 1326] CCryptoBoringSSL
[394 / 1326] CCryptoBoringSSL
[399 / 1326] CCryptoBoringSSL
[400 / 1326] CCryptoBoringSSL
[403 / 1326] CCryptoBoringSSL
[412 / 1326] CCryptoBoringSSL
[414 / 1326] CCryptoBoringSSL
[419 / 1326] CCryptoBoringSSL
[426 / 1326] CCryptoBoringSSL
[430 / 1326] CCryptoBoringSSL
[432 / 1326] CCryptoBoringSSL
[435 / 1326] CCryptoBoringSSL
[438 / 1326] CCryptoBoringSSL
[439 / 1326] CCryptoBoringSSL
[443 / 1326] CCryptoBoringSSL
[446 / 1326] CCryptoBoringSSL
[447 / 1326] CCryptoBoringSSL
[451 / 1326] CCryptoBoringSSL
[456 / 1326] CCryptoBoringSSL
[457 / 1326] CCryptoBoringSSL
[462 / 1326] CCryptoBoringSSL
[467 / 1326] CCryptoBoringSSL
[470 / 1326] CCryptoBoringSSL
[473 / 1326] CCryptoBoringSSL
[479 / 1326] CCryptoBoringSSL
[494 / 1326] CCryptoBoringSSL
[508 / 1326] CCryptoBoringSSL
[513 / 1326] CCryptoBoringSSL
[515 / 1326] CCryptoBoringSSL
[519 / 1326] CCryptoBoringSSL
[523 / 1326] CCryptoBoringSSL
[525 / 1326] CCryptoBoringSSL
[529 / 1326] CCryptoBoringSSL
[532 / 1326] CCryptoBoringSSL
[537 / 1326] CCryptoBoringSSL
[540 / 1326] CCryptoBoringSSL
[542 / 1326] CCryptoBoringSSL
[546 / 1326] CCryptoBoringSSL
[548 / 1326] CCryptoBoringSSL
[551 / 1326] CCryptoBoringSSL
[556 / 1326] CCryptoBoringSSL
[561 / 1326] CCryptoBoringSSL
[566 / 1326] CCryptoBoringSSL
[568 / 1326] CCryptoBoringSSL
[572 / 1326] CCryptoBoringSSL
[578 / 1326] CCryptoBoringSSL
[584 / 1326] CCryptoBoringSSL
[592 / 1326] CCryptoBoringSSL
[603 / 1326] CCryptoBoringSSL
[616 / 1326] CCryptoBoringSSL
[622 / 1326] CCryptoBoringSSL
[628 / 1326] CCryptoBoringSSL
[629 / 1326] CCryptoBoringSSL
[631 / 1326] CCryptoBoringSSL
[636 / 1326] CCryptoBoringSSL
[638 / 1326] CCryptoBoringSSL
[644 / 1326] CCryptoBoringSSL
[647 / 1326] CCryptoBoringSSL
[650 / 1326] CCryptoBoringSSL
[653 / 1326] CCryptoBoringSSL
[657 / 1326] CCryptoBoringSSL
[663 / 1326] CCryptoBoringSSL
[674 / 1326] CCryptoBoringSSL
[680 / 1326] CCryptoBoringSSL
[683 / 1326] CCryptoBoringSSL
[688 / 1326] CCryptoBoringSSL
[691 / 1326] CCryptoBoringSSL
[695 / 1326] CCryptoBoringSSL
[697 / 1326] CCryptoBoringSSL
[708 / 1326] CCryptoBoringSSL
[717 / 1326] CCryptoBoringSSL
[726 / 1326] CCryptoBoringSSL
[728 / 1326] CCryptoBoringSSL
[730 / 1326] CCryptoBoringSSL
[732 / 1326] CCryptoBoringSSL
[735 / 1326] CCryptoBoringSSL
[736 / 1326] CCryptoBoringSSL
[740 / 1326] CCryptoBoringSSL
[742 / 1326] CCryptoBoringSSL
[746 / 1326] CCryptoBoringSSL
[750 / 1326] Crypto
[751 / 1326] ArgumentParserToolInfo
[755 / 1336] RealModule
[758 / 1336] ComplexModule
[762 / 1336] ComplexModule
[772 / 1348] Jinja
[776 / 1366] Jinja
[777 / 1367] Jinja
[778 / 1367] Jinja
[781 / 1367] Jinja
[785 / 1368] Jinja
[786 / 1368] Jinja
[789 / 1368] ArgumentParser
[793 / 1368] Jinja
[796 / 1368] HuggingFace
[797 / 1368] HuggingFace
[799 / 1368] HuggingFace
[800 / 1369] Jinja
[803 / 1369] HuggingFace
[812 / 1369] HuggingFace-product
[813 / 1369] CCryptoBoringSSL
[814 / 1369] HuggingFace
[818 / 1369] ArgumentParser
[819 / 1369] ArgumentParser
[820 / 1369] ArgumentParser
[820 / 1369]
[824 / 1372] ComplexModule
[836 / 1380] HuggingFace
[837 / 1380] encuda-product
[842 / 1388] ArgumentParser
[846 / 1388] Hub
[848 / 1389] encuda-product
[850 / 1389] encuda-product
[862 / 1391] Tokenizers
[868 / 1400] Tokenizers
[872 / 1401] Tokenizers
[882 / 1401] ArgumentParser
[886 / 1411] Generation
[890 / 1411] Generation
[895 / 1411] Models
[901 / 1417] Models
[912 / 1418] HuggingFace
[924 / 1420] Cmlx
[926 / 1430] Cmlx
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:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:5:10: fatal error: 'cublasLt.h' file not found
    5 | #include <cublasLt.h>
      |          ^~~~~~~~~~~~
1 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