Build Information
Failed to build SwiftRWKV, reference main (dfe65d), with Swift 6.4 for Wasm on 24 Oct 2026 12:46:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RafaelUI/SwiftRWKV.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/RafaelUI/SwiftRWKV
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at dfe65d4 docs/Embedding.md, «Evaluation»: пул оценки retrieval (2N) и слияние одинаковых кандидатов -- когда нужно и почему (dedupeCandidates / dedupeEvaluationPool / --dedupe-pool).
Cloned https://github.com/RafaelUI/SwiftRWKV.git
Revision (git rev-parse @):
dfe65d456647a0b62dfbe8780e9cb302a9dfa8d2
SUCCESS checkout https://github.com/RafaelUI/SwiftRWKV.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/RafaelUI/SwiftRWKV.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
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/17488] Fetching mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (1.58s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.32.3 (1.80s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
[6757/26053] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.53s)
[965/19297] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.78s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.92s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
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/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.32.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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 829]
[Planning deferred tasks]
[Starting]
[6 / 621] ArgumentParser-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 '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/dot.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/searchsorted.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'
[132 / 634] _NumericsShims
[133 / 634] RealModule
[145 / 634] RealModule
[151 / 644] ComplexModule
[154 / 644] ComplexModule
[172 / 658] ArgumentParser
[186 / 661] ArgumentParserToolInfo
[189 / 661] ArgumentParserToolInfo
[190 / 661] ArgumentParser
[201 / 668] encuda-product
[202 / 668] encuda-product
[203 / 668] ArgumentParser
[203 / 668] encuda-product
[203 / 668] ArgumentParser
[207 / 670] encuda-product
[210 / 670] encuda-product
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:17:5: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_store'[0m
17 | std::atomic_store(&message_, std::move(msg));[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:3:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/future:2076:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:491:28: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
491 | _LIBCPP_HIDE_FROM_ABI [0;34mvoid[0m atomic_store([0;34mvolatile[0m atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:496:28: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
496 | _LIBCPP_HIDE_FROM_ABI [0;34mvoid[0m atomic_store(atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:21:16: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_load'[0m
21 | [0;34mauto[0m msg = std::atomic_load(&message_);[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:3:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/future:2076:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m [0;34mvolatile[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:28:21: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_load'[0m
28 | Message msg = std::atomic_load(&ptr->message_);[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:3:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/future:2076:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m [0;34mvolatile[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:39:16: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_exchange'[0m
39 | [0;34mauto[0m msg = std::atomic_exchange(&message_, {});[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:3:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/future:2076:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:545:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
545 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange([0;34mvolatile[0m atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:550:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
550 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:9:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:73:8: [0m[0;1;31merror: [0m[1mno type named 'shared_mutex' in namespace 'std'[0m
73 | std::shared_mutex threads_mtx_;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:74:8: [0m[0;1;31merror: [0m[1mno type named 'condition_variable' in namespace 'std'[0m
74 | 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:75:8: [0m[0;1;31merror: [0m[1mno type named 'mutex' in namespace 'std'[0m
75 | std::mutex mtx;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:38:28: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
38 | 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:46:28: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
46 | 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:57:27: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
57 | 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:16:36: [0m[0;1;31merror: [0m[1mno member named 'promise' in namespace 'std'[0m
16 | [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:16:48: [0m[0;1;31merror: [0m[1mexpected '(' for function-style cast or type construction[0m
16 | [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:16:51: [0m[0;1;31merror: [0m[1mexpected expression[0m
16 | [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:17:10: [0m[0;1;31merror: [0m[1mno member named 'future' in namespace 'std'[0m
17 | 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:17:21: [0m[0;1;31merror: [0m[1mexpected '(' for function-style cast or type construction[0m
17 | 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:17:23: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'f'[0m
17 | 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:19:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'f'[0m
19 | f.wait();[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:43:8: [0m[0;1;31merror: [0m[1mno type named 'mutex' in namespace 'std'[0m
43 | std::mutex mtx;[0m
| [0;1;32m ~~~~~^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.cpp:45:8: [0m[0;1;31merror: [0m[1mno type named 'condition_variable' in namespace 'std'[0m
45 | std::condition_variable cond;[0m
| [0;1;32m ~~~~~^
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:17:5: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_store'[0m
17 | std::atomic_store(&message_, std::move(msg));[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.h:6:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:352:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:2057:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:491:28: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
491 | _LIBCPP_HIDE_FROM_ABI [0;34mvoid[0m atomic_store([0;34mvolatile[0m atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:496:28: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
496 | _LIBCPP_HIDE_FROM_ABI [0;34mvoid[0m atomic_store(atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:21:16: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_load'[0m
21 | [0;34mauto[0m msg = std::atomic_load(&message_);[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.h:6:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:352:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:2057:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m [0;34mvolatile[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:28:21: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_load'[0m
28 | Message msg = std::atomic_load(&ptr->message_);[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.h:6:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:352:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:2057:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:519:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
519 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m [0;34mvolatile[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:524:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
524 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_load([0;34mconst[0m atomic<_Tp>* __o) _NOEXCEPT {[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/eval.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/array.h:13:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/event.h:8:
[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/error.h:39:16: [0m[0;1;31merror: [0m[1mno matching function for call to 'atomic_exchange'[0m
39 | [0;34mauto[0m msg = std::atomic_exchange(&message_, {});[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.h:6:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:352:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:2057:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/atomic:605:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/aliases.h:12:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:545:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
545 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange([0;34mvolatile[0m atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__atomic/atomic.h:550:27: [0m[0;1;36mnote: [0mcandidate template ignored: could not match 'atomic' against 'shared_ptr'[0m
550 | _LIBCPP_HIDE_FROM_ABI _Tp atomic_exchange(atomic<_Tp>* __o, [0;34mtypename[0m atomic<_Tp>::value_type __d) _NOEXCEPT {[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:30:47: [0m[0;1;31merror: [0m[1mno template named 'shared_mutex' in namespace 'std'; did you mean 'shared_ptr'?[0m
30 | [0;34mstatic[0m std::tuple<std::vector<Stream>, std::shared_mutex> streams_and_mtx;[0m
| [0;1;32m ~~~~~^~~~~~~~~~~~
[0m | [0;32m shared_ptr
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.h:6:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:352:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:2063:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/memory:950:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/inout_ptr.h:16:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:307:38: [0m[0;1;36mnote: [0m'shared_ptr' declared here[0m
307 | [0;34mclass[0m _LIBCPP_SHARED_PTR_TRIVIAL_ABI shared_ptr {[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:30:47: [0m[0;1;31merror: [0m[1muse of class template 'std::shared_ptr' requires template arguments[0m
30 | [0;34mstatic[0m std::tuple<std::vector<Stream>, std::shared_mutex> streams_and_mtx;[0m
| [0;1;32m ^
[0mIn file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.h:6:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/vector:352:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:2063:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/memory:950:
In file included from /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/inout_ptr.h:16:
[1m/root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:307:38: [0m[0;1;36mnote: [0mtemplate is declared here[0m
306 | [0;34mtemplate[0m <[0;34mclass[0m _Tp>[0m
| [0;1;32m~~~~~~~~~~~~~~~~~~~~
[0m 307 | [0;34mclass[0m _LIBCPP_SHARED_PTR_TRIVIAL_ABI shared_ptr {[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:35:58: [0m[0;1;31merror: [0m[1mno member named 'mutex' in namespace 'std'[0m
35 | [0;34mstatic[0m std::tuple<std::vector<ThreadLocalStream>, std::mutex> streams_and_mtx;[0m
| [0;1;32m ^~~~~
[0m[1m/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp:63:8: [0m[0;1;31merror: [0m[1mno member named 'shared_lock' in namespace 'std'[0m
63 | std::shared_lock lock(mtx);[0m
| [0;1;32m ^~~~~~~~~~~
[0m8 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/stream-3e0430395edaf998d88d77770992ed0a572cbde03cb87bb7b18a7a5f3364e739.o /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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/stream-3e0430395edaf998d88d77770992ed0a572cbde03cb87bb7b18a7a5f3364e739.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/stream-3e0430395edaf998d88d77770992ed0a572cbde03cb87bb7b18a7a5f3364e739.dia -c /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/stream.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-webassembly-wasm32/Cmlx-t.build/Objects-normal/wasm32/stream-3e0430395edaf998d88d77770992ed0a572cbde03cb87bb7b18a7a5f3364e739.o
error: Build failed
BUILD FAILURE 6.4 wasm