Build Information
Failed to build Qwen3Speech, reference v0.0.29 (7f382b), with Swift 6.2 for Wasm on 27 Oct 2026 21:40:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soniqo/speech-swift.git
Reference: v0.0.29
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/soniqo/speech-swift
* tag v0.0.29 -> FETCH_HEAD
HEAD is now at 7f382bb Merge pull request #537 from soniqo/fix/default-mlx-cache-limit
Cloned https://github.com/soniqo/speech-swift.git
Revision (git rev-parse @):
7f382bb4bf24d560e927893a64d8ffb9cf30bc89
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/soniqo/speech-swift.git at v0.0.29
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/soniqo/speech-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/mlc-ai/xgrammar
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
Fetching https://github.com/argmaxinc/WhisperKit
Fetching https://github.com/hummingbird-project/swift-websocket.git
Fetching https://github.com/apple/swift-system.git
[1/3443] Fetching hummingbird-websocket
[3444/10812] Fetching hummingbird-websocket, swift-transformers
[4329/20260] Fetching hummingbird-websocket, swift-transformers, whisperkit
[15829/27641] Fetching hummingbird-websocket, swift-transformers, whisperkit, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.15s)
Fetching https://github.com/hummingbird-project/hummingbird.git
[1/31754] Fetching xgrammar
[4447/32910] Fetching xgrammar, swift-websocket
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (1.46s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[6669/31754] Fetching xgrammar
[26992/60746] Fetching xgrammar, hummingbird
[60747/65207] Fetching xgrammar, hummingbird, swift-sdk
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.12s)
Fetching https://github.com/ml-explore/mlx-swift-lm
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.87s)
Fetching https://github.com/ml-explore/mlx-swift
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (2.46s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers from cache (2.46s)
Fetched https://github.com/mlc-ai/xgrammar from cache (2.48s)
Fetched https://github.com/argmaxinc/WhisperKit from cache (2.48s)
[1/19313] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
[1/17553] Fetching mlx-swift
[5267/42281] Fetching mlx-swift, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift from cache (1.42s)
[19041/24728] Fetching mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (2.09s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.7 (4.53s)
Computing version for https://github.com/hummingbird-project/swift-websocket.git
Computed https://github.com/hummingbird-project/swift-websocket.git at 1.5.0 (0.15s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-nio.git
[1/1961] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.42s)
Fetching https://github.com/adam-fowler/compress-nio.git
[1/6710] Fetching swift-nio-extras
[605/9596] Fetching swift-nio-extras, swift-service-lifecycle
[9597/26490] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl
[10442/34871] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-log
[25750/35571] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-log, compress-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (0.42s)
[31493/34871] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-log
Fetching https://github.com/apple/swift-nio-transport-services.git
[34872/121562] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-log, swift-nio
[74750/124429] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-log, swift-nio, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.50s)
[88620/121562] Fetching swift-nio-extras, swift-service-lifecycle, swift-nio-ssl, swift-log, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (3.24s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.24s)
Fetched https://github.com/apple/swift-log.git from cache (3.24s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.25s)
Fetched https://github.com/apple/swift-nio.git from cache (3.28s)
Computing version for https://github.com/hummingbird-project/hummingbird-websocket.git
Computed https://github.com/hummingbird-project/hummingbird-websocket.git at 2.6.0 (3.44s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.16s)
Fetching https://github.com/mattt/eventsource.git
[1/325] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.40s)
Computing version for https://github.com/ml-explore/mlx-swift-lm
Computed https://github.com/ml-explore/mlx-swift-lm at 3.31.4 (0.59s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81259] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.37s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (3.57s)
Computing version for https://github.com/argmaxinc/WhisperKit
Computed https://github.com/argmaxinc/WhisperKit at 1.1.1 (1.07s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.19s)
Fetching https://github.com/apple/swift-numerics
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.59s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (0.77s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/async-http-client.git
[1/6697] Fetching swift-distributed-tracing
[2/10306] Fetching swift-distributed-tracing, swift-metrics
[2496/17131] Fetching swift-distributed-tracing, swift-metrics, swift-async-algorithms
[17132/29450] Fetching swift-distributed-tracing, swift-metrics, swift-async-algorithms, swift-nio-http2
[17133/58812] Fetching swift-distributed-tracing, swift-metrics, swift-async-algorithms, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetching https://github.com/apple/swift-atomics.git
[10431/51987] Fetching swift-distributed-tracing, swift-metrics, swift-nio-http2, swift-collections
[18767/68504] Fetching swift-distributed-tracing, swift-metrics, swift-nio-http2, swift-collections, async-http-client
[60578/70397] Fetching swift-distributed-tracing, swift-metrics, swift-nio-http2, swift-collections, async-http-client, swift-atomics
Fetched https://github.com/swift-server/async-http-client.git from cache (1.08s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.28s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.28s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.29s)
Fetched https://github.com/apple/swift-collections.git from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.25s)
Computing version for https://github.com/adam-fowler/compress-nio.git
Computed https://github.com/adam-fowler/compress-nio.git at 1.5.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.15s)
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/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.26s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[14/3335] Fetching swift-http-structured-headers, swift-asn1
[3336/10942] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
[3717/17101] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.54s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.54s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.73s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.18s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.20s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.18s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.34s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.5 (0.16s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/3055] Fetching swift-huggingface
[246/5071] Fetching swift-huggingface, swift-jinja
[583/23930] Fetching swift-huggingface, swift-jinja, swift-crypto
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.54s)
[4376/21914] Fetching swift-huggingface, swift-crypto
[7771/27135] Fetching swift-huggingface, swift-crypto, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.28s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.28s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.29s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.46s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.2 (0.13s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.0 (0.15s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.14s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.15s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.20s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.47s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.17s)
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-configuration.git
[1/1546] Fetching swift-service-context
[233/5691] Fetching swift-service-context, swift-configuration
Fetched https://github.com/apple/swift-service-context.git from cache (0.46s)
Fetched https://github.com/apple/swift-configuration.git from cache (0.46s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.62s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.3.0 (0.21s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
Creating working copy for https://github.com/hummingbird-project/hummingbird.git
Working copy of https://github.com/hummingbird-project/hummingbird.git resolved at 2.16.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/argmaxinc/WhisperKit
Working copy of https://github.com/argmaxinc/WhisperKit resolved at 1.1.1
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
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.2
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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.5
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.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.0
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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.5
Creating working copy for https://github.com/hummingbird-project/hummingbird-websocket.git
Working copy of https://github.com/hummingbird-project/hummingbird-websocket.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
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/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/hummingbird-project/swift-websocket.git
Working copy of https://github.com/hummingbird-project/swift-websocket.git resolved at 1.5.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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
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.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/ml-explore/mlx-swift-lm
Working copy of https://github.com/ml-explore/mlx-swift-lm resolved at 3.31.4
Creating working copy for https://github.com/adam-fowler/compress-nio.git
Working copy of https://github.com/adam-fowler/compress-nio.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.2
Creating working copy for https://github.com/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at 0.2.7
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Downloading binary artifact https://github.com/soniqo/speech-core/releases/download/v0.0.14/SpeechCore.xcframework.zip
[7685/2112822] Downloading https://github.com/soniqo/speech-core/releases/download/v0.0.14/SpeechCore.xcframework.zip
Downloaded https://github.com/soniqo/speech-core/releases/download/v0.0.14/SpeechCore.xcframework.zip (0.36s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/859] Write sources
[73/859] Write swift-version-24593BA9C3E375BF.txt
[73/859] Copying t5_tokenizer_config.json
[73/859] Copying gpt2_tokenizer_config.json
[73/859] Write sources
[77/859] Compiling _NumericsShims _NumericsShims.c
[78/862] Compiling LocalVQEAECFrontend LocalVQEAECFrontend.cpp
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/common/utils.cpp:11:5: error: unknown type name 'Dl_info'
11 | Dl_info info;
| ^
1 error generated.
[79/867] Compiling utils.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/binary.cpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/binary.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:19:8: error: no type named 'mutex' in namespace 'std'
19 | std::mutex mtx;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:21:8: error: no type named 'condition_variable' in namespace 'std'
21 | std::condition_variable cond;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:23:8: error: no type named 'thread' in namespace 'std'
23 | std::thread thread;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:29:28: error: no member named 'mutex' in namespace 'std'
29 | std::lock_guard<std::mutex> lk(mtx);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:40:14: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
40 | std::unique_lock<std::mutex> lk(mtx);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/binary.cpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/binary.h:10:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:40:31: error: no member named 'mutex' in namespace 'std'
40 | std::unique_lock<std::mutex> lk(mtx);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:41:19: error: use of undeclared identifier 'lk'
41 | cond.wait(lk, [this] { return !this->q.empty() || this->stop; });
| ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:56:28: error: no member named 'mutex' in namespace 'std'
56 | std::lock_guard<std::mutex> lk(mtx);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:160:8: error: no type named 'condition_variable' in namespace 'std'
160 | std::condition_variable completion_cv;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:161:8: error: no type named 'mutex' in namespace 'std'
161 | std::mutex mtx;
| ~~~~~^
[79/867] Compiling binary.cpp
[79/867] Compiling reduce.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/arg_reduce.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:19:8: error: no type named 'mutex' in namespace 'std'
19 | std::mutex mtx;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:21:8: error: no type named 'condition_variable' in namespace 'std'
21 | std::condition_variable cond;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:23:8: error: no type named 'thread' in namespace 'std'
23 | std::thread thread;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:29:28: error: no member named 'mutex' in namespace 'std'
29 | std::lock_guard<std::mutex> lk(mtx);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:40:14: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
40 | std::unique_lock<std::mutex> lk(mtx);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/arg_reduce.cpp:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:8:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:40:31: error: no member named 'mutex' in namespace 'std'
40 | std::unique_lock<std::mutex> lk(mtx);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:41:19: error: use of undeclared identifier 'lk'
41 | cond.wait(lk, [this] { return !this->q.empty() || this->stop; });
| ^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:56:28: error: no member named 'mutex' in namespace 'std'
56 | std::lock_guard<std::mutex> lk(mtx);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:160:8: error: no type named 'condition_variable' in namespace 'std'
160 | std::condition_variable completion_cv;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/scheduler.h:161:8: error: no type named 'mutex' in namespace 'std'
161 | std::mutex mtx;
| ~~~~~^
[79/867] Compiling arg_reduce.cpp
[79/867] Compiling slicing.cpp
[79/867] Compiling yyjson.c
BUILD FAILURE 6.2 wasm