Build Information
Failed to build mlx-turbovec-swift, reference v0.1.0 (2e9aca), with Swift 6.4 for Wasm on 25 Sep 2026 18:31:26 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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/offlyn-ai/mlx-turbovec-swift.git
Reference: v0.1.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/offlyn-ai/mlx-turbovec-swift
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 2e9acad Add MLX GPU acceleration backend
Cloned https://github.com/offlyn-ai/mlx-turbovec-swift.git
Revision (git rev-parse @):
2e9acad9bdd02b70685ae9a8ebfdf467b4c6ff08
SUCCESS checkout https://github.com/offlyn-ai/mlx-turbovec-swift.git at v0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/offlyn-ai/mlx-turbovec-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/ml-explore/mlx-swift
[1/16941] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (1.39s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (1.67s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.64s)
[1/18944] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.89s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.07s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift 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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 448]
[Planning deferred tasks]
[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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
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 'wasm32'
[69 / 499]
[81 / 512] _NumericsShims
[83 / 512] ArgumentParserToolInfo
[84 / 512] RealModule
[97 / 522] RealModule
[101 / 522] ComplexModule
[104 / 522]
[106 / 524] RealModule
[119 / 533] ArgumentParser
[120 / 533] ArgumentParser
[121 / 534] ComplexModule
[129 / 534] ArgumentParser
[129 / 534] ArgumentParser-product
[132 / 537]
[143 / 545] encuda-product
[143 / 545] ArgumentParserToolInfo
[144 / 546] encuda-product
[147 / 546] encuda-product
[152 / 546] ArgumentParser
[152 / 547] ArgumentParser
[155 / 547] encuda-product
[159 / 548] encuda-product
[169 / 549] MLX
[170 / 558] Cmlx
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:3:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:19:8: [0m[0;1;31merror: [0m[1mno type named 'mutex' in namespace 'std'[0m
19 | std::mutex mtx;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:21:8: [0m[0;1;31merror: [0m[1mno type named 'condition_variable' in namespace 'std'[0m
21 | std::condition_variable cond;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:23:8: [0m[0;1;31merror: [0m[1mno type named 'thread' in namespace 'std'[0m
23 | std::thread thread;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:29:28: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
29 | std::lock_guard<std::mutex> lk(mtx);[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:40:31: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
40 | std::unique_lock<std::mutex> lk(mtx);[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:56:28: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
56 | std::lock_guard<std::mutex> lk(mtx);[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:160:8: [0m[0;1;31merror: [0m[1mno type named 'condition_variable' in namespace 'std'[0m
160 | std::condition_variable completion_cv;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:161:8: [0m[0;1;31merror: [0m[1mno type named 'mutex' in namespace 'std'[0m
161 | std::mutex mtx;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:112:28: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
112 | std::lock_guard<std::mutex> lk(mtx);[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:120:28: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
120 | std::lock_guard<std::mutex> lk(mtx);[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:131:27: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
131 | std::unique_lock<std::mutex> lk(mtx);[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:47:36: [0m[0;1;31merror: [0m[1mno member named 'promise' in namespace 'std'[0m
47 | [0;34mauto[0m p = std::make_shared<std::promise<[0;34mvoid[0m>>();[0m
| [0;1;32m ^~~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:47:48: [0m[0;1;31merror: [0m[1mexpected '(' for function-style cast or type construction[0m
47 | [0;34mauto[0m p = std::make_shared<std::promise<[0;34mvoid[0m>>();[0m
| [0;1;32m ~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:47:51: [0m[0;1;31merror: [0m[1mexpected expression[0m
47 | [0;34mauto[0m p = std::make_shared<std::promise<[0;34mvoid[0m>>();[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:48:10: [0m[0;1;31merror: [0m[1mno member named 'future' in namespace 'std'[0m
48 | std::future<[0;34mvoid[0m> f = p->get_future();[0m
| [0;1;32m ^~~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:48:21: [0m[0;1;31merror: [0m[1mexpected '(' for function-style cast or type construction[0m
48 | std::future<[0;34mvoid[0m> f = p->get_future();[0m
| [0;1;32m ~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:48:23: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'f'[0m
48 | std::future<[0;34mvoid[0m> f = p->get_future();[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:50:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'f'[0m
50 | f.wait();[0m
| [0;1;32m ^
[0m18 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/scheduler.o /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp normal wasm32 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-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp
/usr/bin/clang -x c++ -target wasm32-unknown-wasip1 -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 /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk @/host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/scheduler.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/scheduler.dia -c /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/scheduler.o
[171 / 558] Cmlx
error: Build failed
BUILD FAILURE 6.4 wasm