The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MLXAudio, reference v0.1.5 (dbe5ea), with Swift 6.4 for Linux on 9 Oct 2026 12:40:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Blaizzy/mlx-audio-swift.git
Reference: v0.1.5
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/Blaizzy/mlx-audio-swift
 * tag               v0.1.5     -> FETCH_HEAD
HEAD is now at dbe5eaa Update for mlx-swift / mlx-swift-lm (#281)
Cloned https://github.com/Blaizzy/mlx-audio-swift.git
Revision (git rev-parse @):
dbe5eaac964e8257785f9d015c81f819a38016a8
SUCCESS checkout https://github.com/Blaizzy/mlx-audio-swift.git at v0.1.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Blaizzy/mlx-audio-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
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/huggingface/swift-huggingface.git
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/ml-explore/mlx-swift.git
[1/2967] Fetching swift-huggingface
[2968/10051] Fetching swift-huggingface, swift-transformers
Fetched https://github.com/huggingface/swift-transformers.git (0.73s)
[1/17084] Fetching mlx-swift
[17085/39597] Fetching mlx-swift, mlx-swift-lm
Fetched https://github.com/huggingface/swift-huggingface.git (3.26s)
Fetched https://github.com/ml-explore/mlx-swift.git (3.26s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git (3.28s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 3.32.3 (3.47s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80403] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.22s)
Computing version for https://github.com/ml-explore/mlx-swift.git
Computed https://github.com/ml-explore/mlx-swift.git at 0.32.3 (3.44s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/19096] Fetching swift-argument-parser
[1911/25813] Fetching swift-argument-parser, swift-numerics
Fetched https://github.com/apple/swift-argument-parser (0.91s)
[4635/6717] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.98s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.95s)
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-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.15s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
[271/18916] Fetching eventsource, swift-crypto
Fetched https://github.com/mattt/EventSource.git (0.41s)
[187/18613] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.23s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.4 (1.40s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-collections.git
[1/1376] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git (0.47s)
[1/28691] Fetching swift-collections
[1723/33771] Fetching swift-collections, yyjson
Fetched https://github.com/ibireme/yyjson.git (1.26s)
Fetched https://github.com/apple/swift-collections.git (1.28s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.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/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.2 (0.23s)
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-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.98s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.53s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.71s)
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 0.13.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.32.3
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/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-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 3.32.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.2
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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.19s)
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/MLXAudioSTS/Models/DeepFilterNet/README.md
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1800]
[Planning 660 / 1800]
[Planning 1650 / 1800]
[Planning deferred tasks]
[Constructing 580 / 4445]
[Starting]
[6 / 1294]
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/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/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'
[179 / 1294] MLXAudioLID
[283 / 1297]
[295 / 1332] ArgumentParserToolInfo
[296 / 1332] RealModule
[308 / 1332] CXKCP
[308 / 1332] yyjson
[311 / 1332] CXKCP
[313 / 1332] RealModule
[313 / 1332] EventSource
[325 / 1332] RealModule
[326 / 1332] CryptoBoringWrapper
[337 / 1332] InternalCollectionsUtilities
[342 / 1333] EventSource-product
[347 / 1333] CryptoBoringWrapper
[350 / 1333] CryptoBoringWrapper
[351 / 1333] Crypto
[354 / 1333] CCryptoBoringSSLShims
[355 / 1333] InternalCollectionsUtilities
[358 / 1334] CCryptoBoringSSL
[360 / 1335] CCryptoBoringSSL
[363 / 1335] CCryptoBoringSSL
[364 / 1336] CCryptoBoringSSL
[365 / 1336] CCryptoBoringSSL
[371 / 1337] CCryptoBoringSSL
[378 / 1337] CCryptoBoringSSL
[380 / 1337] CCryptoBoringSSL
[382 / 1337] CCryptoBoringSSL
[386 / 1337] CCryptoBoringSSL
[387 / 1337] CCryptoBoringSSL
[389 / 1337] CCryptoBoringSSL
[393 / 1337] CCryptoBoringSSL
[399 / 1337] CCryptoBoringSSL
[405 / 1337] CCryptoBoringSSL
[411 / 1337] CCryptoBoringSSL
[415 / 1337] CCryptoBoringSSL
[416 / 1337] CCryptoBoringSSL
[419 / 1337] CCryptoBoringSSL
[422 / 1337] CCryptoBoringSSL
[425 / 1337] CCryptoBoringSSL
[426 / 1337] CCryptoBoringSSL
[430 / 1337] CCryptoBoringSSL
[433 / 1337] CCryptoBoringSSL
[437 / 1337] CCryptoBoringSSL
[439 / 1337] CCryptoBoringSSL
[443 / 1337] CCryptoBoringSSL
[446 / 1337] CCryptoBoringSSL
[448 / 1337] CCryptoBoringSSL
[452 / 1337] CCryptoBoringSSL
[460 / 1337] CCryptoBoringSSL
[467 / 1337] CCryptoBoringSSL
[480 / 1337] CCryptoBoringSSL
[490 / 1337] CCryptoBoringSSL
[491 / 1337] CCryptoBoringSSL
[496 / 1337] CCryptoBoringSSL
[497 / 1337] CCryptoBoringSSL
[504 / 1337] CCryptoBoringSSL
[506 / 1337] CCryptoBoringSSL
[510 / 1337] CCryptoBoringSSL
[511 / 1337] CCryptoBoringSSL
[514 / 1337] CCryptoBoringSSL
[517 / 1337] CCryptoBoringSSL
[519 / 1337] CCryptoBoringSSL
[520 / 1337] CCryptoBoringSSL
[523 / 1337] CCryptoBoringSSL
[528 / 1337] CCryptoBoringSSL
[529 / 1337] CCryptoBoringSSL
[530 / 1337] CCryptoBoringSSL
[534 / 1337] CCryptoBoringSSL
[538 / 1337] CCryptoBoringSSL
[544 / 1337] CCryptoBoringSSL
[549 / 1337] CCryptoBoringSSL
[551 / 1337] CCryptoBoringSSL
[555 / 1337] CCryptoBoringSSL
[558 / 1337] CCryptoBoringSSL
[559 / 1337] CCryptoBoringSSL
[562 / 1337] CCryptoBoringSSL
[563 / 1337] CCryptoBoringSSL
[569 / 1337] CCryptoBoringSSL
[575 / 1337] CCryptoBoringSSL
[580 / 1337] CCryptoBoringSSL
[584 / 1337] CCryptoBoringSSL
[591 / 1337] CCryptoBoringSSL
[596 / 1337] CCryptoBoringSSL
[603 / 1337] CCryptoBoringSSL
[605 / 1337] CCryptoBoringSSL
[610 / 1337] CCryptoBoringSSL
[617 / 1337] CCryptoBoringSSL
[619 / 1337] CCryptoBoringSSL
[624 / 1337] CCryptoBoringSSL
[628 / 1337] CCryptoBoringSSL
[632 / 1337] CCryptoBoringSSL
[637 / 1337] CCryptoBoringSSL
[641 / 1337] CCryptoBoringSSL
[645 / 1337] CCryptoBoringSSL
[655 / 1337] CCryptoBoringSSL
[661 / 1337] CCryptoBoringSSL
[665 / 1337] CCryptoBoringSSL
[672 / 1337] CCryptoBoringSSL
[674 / 1337] CCryptoBoringSSL
[678 / 1337] CCryptoBoringSSL
[686 / 1337] CCryptoBoringSSL
[697 / 1337] CCryptoBoringSSL
[708 / 1337] CCryptoBoringSSL
[710 / 1337] CCryptoBoringSSL
[712 / 1337] CCryptoBoringSSL
[714 / 1337] CCryptoBoringSSL
[716 / 1337] CCryptoBoringSSL
[721 / 1337] InternalCollectionsUtilities
[734 / 1339] Crypto
[741 / 1350] ComplexModule
[746 / 1377] ComplexModule
[749 / 1377] ComplexModule
[751 / 1377] ComplexModule
[757 / 1377] OrderedCollections
[764 / 1377] OrderedCollections
[765 / 1377] OrderedCollections
[767 / 1377] Crypto
[769 / 1378] Crypto
[781 / 1378] OrderedCollections-product
[783 / 1378] OrderedCollections-product
[786 / 1378] Numerics
[789 / 1378] ComplexModule
[795 / 1379] ArgumentParser
[796 / 1379] ArgumentParser
[800 / 1380]
[803 / 1387] encuda-product
[805 / 1387] encuda-product
[807 / 1387] encuda-product
[808 / 1387] CXKCP
[815 / 1391] Numerics
[824 / 1403] encuda-product
[825 / 1412] ArgumentParser
[830 / 1412] ArgumentParser
[837 / 1412] CCryptoBoringSSL
[840 / 1413] Jinja
[843 / 1413] HuggingFace
[845 / 1413] HuggingFace
[846 / 1413] HuggingFace
[848 / 1413] HuggingFace
[849 / 1414] Jinja
[851 / 1414] Jinja
[854 / 1414]
[863 / 1415] CCryptoBoringSSLShims
[867 / 1422] HuggingFace
[870 / 1422] encuda-product
[874 / 1423]
[876 / 1432] Hub
[883 / 1432] Hub
[886 / 1432] MLX
[888 / 1432] MLX
[898 / 1433] 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:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:5:10: error: 'cuda.h' file not found with <angled> include; use "quotes" instead
    5 | #include <cuda.h>
      |          ^~~~~~~~
      |          "cuda.h"
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:6:10: fatal error: 'cuda_runtime.h' file not found
    6 | #include <cuda_runtime.h>
      |          ^~~~~~~~~~~~~~~~
2 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