Build Information
Failed to build MLXAudio, reference main (c7755e), with Swift 6.4 for Linux on 22 Nov 2026 13:42:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Neywa-Labs/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/Neywa-Labs/mlx-audio-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c7755e2 Keep the base letter of accented letters in the Soprano normalizer (#415)
Cloned https://github.com/Neywa-Labs/mlx-audio-swift.git
Revision (git rev-parse @):
c7755e2504181a771941bb6f9f26ea79b3cdfce3
SUCCESS checkout https://github.com/Neywa-Labs/mlx-audio-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/Neywa-Labs/mlx-audio-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ae77353026da6cfa76cb64e03699dfd34630b0508fc99928ef90ce82e8f715d8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/huggingface/swift-transformers.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ml-explore/mlx-swift.git
[1/3155] Fetching swift-huggingface
[3156/10700] Fetching swift-huggingface, swift-transformers
Fetched https://github.com/huggingface/swift-huggingface.git (0.48s)
[76/7545] Fetching swift-transformers
[7546/95970] Fetching swift-transformers, zstd
[12852/113726] Fetching swift-transformers, zstd, mlx-swift
Fetched https://github.com/huggingface/swift-transformers.git (1.47s)
[58432/106181] Fetching zstd, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift.git (1.47s)
[41560/88425] Fetching zstd
Fetched https://github.com/facebook/zstd.git (3.31s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (4.19s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.1 (0.16s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/18987] Fetching swift-crypto
[2090/19320] Fetching swift-crypto, eventsource
Fetched https://github.com/mattt/EventSource.git (0.61s)
[2659/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.21s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.4.0 (1.38s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/2381] Fetching swift-jinja
[2382/32831] Fetching swift-jinja, swift-collections
[2383/38185] Fetching swift-jinja, swift-collections, yyjson
Fetched https://github.com/huggingface/swift-jinja.git (1.20s)
Fetched https://github.com/ibireme/yyjson.git (1.20s)
Fetched https://github.com/apple/swift-collections.git (1.21s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.33.0 (1.46s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6862] Fetching swift-numerics
[6040/26304] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.81s)
Fetched https://github.com/apple/swift-argument-parser (0.81s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.13.0 (0.96s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.13s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 3.2.1 (0.13s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.6.0 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.92s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.61s)
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-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-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 1.0.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.4
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.6
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.6.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.33.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
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.4.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 3.2.1
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.13.0
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/BreezeTTS/README.md
/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
/host/spi-builder-workspace/Sources/MLXAudioTTS/Models/Spark/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/MLXAudioSTT/Models/MingASR/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 4 / 76]
[Pre-planning 1 / 1770]
[Planning 817 / 1770]
[Planning deferred tasks]
[Constructing 676 / 4404]
[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/dot.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/gated_delta_update.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/gated_delta_update_vjp.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/gather_mm_offsets.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/scaled_dot_product_attention_vjp.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/searchsorted.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'
[173 / 1315] MLXAudioCodecs
[272 / 1325] RealModule
[275 / 1325] libzstd
[281 / 1325] libzstd
[290 / 1325] libzstd
[302 / 1325] libzstd
[307 / 1325] yyjson
[310 / 1325] RealModule
[311 / 1325] libzstd
[321 / 1326] InternalCollectionsUtilities
[327 / 1335] InternalCollectionsUtilities
[330 / 1335] InternalCollectionsUtilities
[337 / 1351] CryptoBoringWrapper
[342 / 1351] RealModule
[346 / 1352] EventSource
[361 / 1352] CryptoBoringWrapper
[367 / 1352] EventSource-product
[375 / 1356] OrderedCollections
[378 / 1365] OrderedCollections
[381 / 1365] ArgumentParserToolInfo
[386 / 1365] OrderedCollections
[388 / 1365] OrderedCollections
[390 / 1365] OrderedCollections
[391 / 1366] EventSource
[398 / 1368]
[403 / 1387] ComplexModule
[405 / 1387] CCryptoBoringSSL
[414 / 1388] CCryptoBoringSSL
[414 / 1388] ArgumentParserToolInfo
[422 / 1389] CCryptoBoringSSL
[425 / 1389] CCryptoBoringSSL
[428 / 1389] CCryptoBoringSSL
[434 / 1389] CCryptoBoringSSL
[436 / 1389] CCryptoBoringSSL
[438 / 1389] CCryptoBoringSSL
[443 / 1389] CCryptoBoringSSL
[444 / 1389] CCryptoBoringSSL
[446 / 1389] CCryptoBoringSSL
[455 / 1389] CCryptoBoringSSL
[457 / 1389] CCryptoBoringSSL
[468 / 1389] CCryptoBoringSSL
[472 / 1389] CCryptoBoringSSL
[473 / 1389] CCryptoBoringSSL
[475 / 1389] CCryptoBoringSSL
[481 / 1389] CCryptoBoringSSL
[482 / 1389] CCryptoBoringSSL
[490 / 1389] CCryptoBoringSSL
[491 / 1389] CCryptoBoringSSL
[498 / 1389] CCryptoBoringSSL
[500 / 1389] CCryptoBoringSSL
[505 / 1389] CCryptoBoringSSL
[510 / 1389] CCryptoBoringSSL
[512 / 1389] CCryptoBoringSSL
[515 / 1389] CCryptoBoringSSL
[528 / 1389] CCryptoBoringSSL
[545 / 1389] CCryptoBoringSSL
[551 / 1389] CCryptoBoringSSL
[556 / 1389] CCryptoBoringSSL
[560 / 1389] CCryptoBoringSSL
[564 / 1389] CCryptoBoringSSL
[569 / 1389] CCryptoBoringSSL
[572 / 1389] CCryptoBoringSSL
[576 / 1389] CCryptoBoringSSL
[580 / 1389] CCryptoBoringSSL
[581 / 1389] CCryptoBoringSSL
[585 / 1389] CCryptoBoringSSL
[588 / 1389] CCryptoBoringSSL
[593 / 1389] CCryptoBoringSSL
[595 / 1389] CCryptoBoringSSL
[601 / 1389] CCryptoBoringSSL
[612 / 1389] CCryptoBoringSSL
[613 / 1389] CCryptoBoringSSL
[621 / 1389] CCryptoBoringSSL
[624 / 1389] CCryptoBoringSSL
[633 / 1389] CCryptoBoringSSL
[646 / 1389] CCryptoBoringSSL
[654 / 1389] CCryptoBoringSSL
[659 / 1389] CCryptoBoringSSL
[663 / 1389] CCryptoBoringSSL
[666 / 1389] CCryptoBoringSSL
[671 / 1389] CCryptoBoringSSL
[673 / 1389] CCryptoBoringSSL
[680 / 1389] CCryptoBoringSSL
[683 / 1389] CCryptoBoringSSL
[686 / 1389] CCryptoBoringSSL
[691 / 1389] CCryptoBoringSSL
[694 / 1389] CCryptoBoringSSL
[698 / 1389] CCryptoBoringSSL
[704 / 1389] CCryptoBoringSSL
[717 / 1389] CCryptoBoringSSL
[725 / 1389] CCryptoBoringSSL
[729 / 1389] CCryptoBoringSSL
[735 / 1389] CCryptoBoringSSL
[741 / 1389] CCryptoBoringSSL
[749 / 1389] CCryptoBoringSSL
[759 / 1389] CCryptoBoringSSL
[770 / 1389] CCryptoBoringSSL
[772 / 1389] CCryptoBoringSSL
[775 / 1389] CCryptoBoringSSL
[779 / 1389] CCryptoBoringSSL
[783 / 1389] CCryptoBoringSSL
[789 / 1389] Crypto
[790 / 1389] CCryptoBoringSSL
[793 / 1389] Crypto
[794 / 1389] ComplexModule
[795 / 1389] ComplexModule
[797 / 1389] Crypto
[803 / 1389] ArgumentParserToolInfo
[810 / 1402] Jinja
[823 / 1424] Numerics-product
[824 / 1424] Numerics-product
[826 / 1425] Crypto
[828 / 1425] ArgumentParser
[830 / 1425] ArgumentParser
[835 / 1425] HuggingFace
[836 / 1425] HuggingFace
[837 / 1425] HuggingFace
[837 / 1425] Jinja
[840 / 1425] HuggingFace
[852 / 1425] HuggingFace
[854 / 1426] CCryptoBoringSSL
[861 / 1426] ComplexModule
[862 / 1426] ComplexModule
[866 / 1426] ArgumentParser
[866 / 1426] ArgumentParser-product
[867 / 1426] encuda-product
[871 / 1433] encuda-product
[872 / 1433] ArgumentParser
[876 / 1433] encuda-product
[881 / 1441] Jinja
[884 / 1442] Jinja
[887 / 1443] HuggingFace
[895 / 1444] CCryptoBoringSSLShims
[898 / 1444]
[901 / 1444]
[904 / 1454] Hub
[906 / 1454] Hub
[914 / 1454] MLX
[915 / 1454] MLX
[915 / 1455] MLX
[927 / 1455] Cmlx
[927 / 1455] MLX
[931 / 1455] 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:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:5:10: [0m[0;1;31merror: [0m[1m'cuda.h' file not found with <angled> include; use "quotes" instead[0m
5 | #include <cuda.h>[0m
| [0;1;32m ^~~~~~~~
[0m | [0;32m "cuda.h"
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:6:10: [0m[0;1;31mfatal error: [0m[1m'cuda_runtime.h' file not found[0m
6 | #include <cuda_runtime.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0m2 errors 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