Build Information
Failed to build Qwen3Speech, reference v0.0.29 (7f382b), with Swift 6.1 for Wasm on 27 Oct 2026 21:36:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path: $PWD
https://github.com/soniqo/speech-swift.git
https://github.com/soniqo/speech-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/argmaxinc/WhisperKit
Fetching https://github.com/hummingbird-project/swift-websocket.git
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
Fetching https://github.com/mlc-ai/xgrammar
Fetching https://github.com/hummingbird-project/hummingbird.git
[1/1156] Fetching swift-websocket
[522/4599] Fetching swift-websocket, hummingbird-websocket
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (0.44s)
[2755/3443] Fetching hummingbird-websocket
Fetching https://github.com/apple/swift-system.git
[3444/32435] Fetching hummingbird-websocket, hummingbird
[3734/41883] Fetching hummingbird-websocket, hummingbird, whisperkit
[18769/49252] Fetching hummingbird-websocket, hummingbird, whisperkit, swift-transformers
[46608/56633] Fetching hummingbird-websocket, hummingbird, whisperkit, swift-transformers, swift-system
[53989/88387] Fetching hummingbird-websocket, hummingbird, whisperkit, swift-transformers, swift-system, xgrammar
Fetched https://github.com/apple/swift-system.git from cache (0.68s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.12s)
Fetching https://github.com/apple/swift-argument-parser
[18663/52014] Fetching hummingbird-websocket, whisperkit, swift-transformers, xgrammar
[43124/71327] Fetching hummingbird-websocket, whisperkit, swift-transformers, xgrammar, swift-argument-parser
[61077/75788] Fetching hummingbird-websocket, whisperkit, swift-transformers, xgrammar, swift-argument-parser, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.95s)
Fetching https://github.com/ml-explore/mlx-swift-lm
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Fetching https://github.com/ml-explore/mlx-swift
[1/24728] Fetching mlx-swift-lm
[1485/42281] Fetching mlx-swift-lm, mlx-swift
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (3.18s)
Fetched https://github.com/huggingface/swift-transformers from cache (3.19s)
Fetched https://github.com/mlc-ai/xgrammar from cache (3.20s)
Fetched https://github.com/argmaxinc/WhisperKit from cache (3.21s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.46s)
[24728/24728] Fetching mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (2.20s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.7 (4.57s)
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.33s)
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2867] Fetching swift-nio-transport-services
[2/3567] Fetching swift-nio-transport-services, compress-nio
[384/6453] Fetching swift-nio-transport-services, compress-nio, swift-service-lifecycle
[2803/13163] Fetching swift-nio-transport-services, compress-nio, swift-service-lifecycle, swift-nio-extras
[4357/30057] Fetching swift-nio-transport-services, compress-nio, swift-service-lifecycle, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.54s)
Fetching https://github.com/apple/swift-log.git
[5889/27171] Fetching swift-nio-transport-services, compress-nio, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.56s)
[3660/24304] Fetching compress-nio, swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-http-types.git
[19068/26265] Fetching compress-nio, swift-nio-extras, swift-nio-ssl, swift-http-types
[23582/34646] Fetching compress-nio, swift-nio-extras, swift-nio-ssl, swift-http-types, swift-log
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[26065/32685] Fetching compress-nio, swift-nio-extras, swift-nio-ssl, swift-log
[32686/119376] Fetching compress-nio, swift-nio-extras, swift-nio-ssl, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.63s)
[26038/110995] Fetching compress-nio, swift-nio-extras, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.74s)
[63760/94101] Fetching compress-nio, swift-nio-extras, swift-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (3.94s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.94s)
Fetched https://github.com/apple/swift-nio.git from cache (3.97s)
Computing version for https://github.com/hummingbird-project/hummingbird-websocket.git
Computed https://github.com/hummingbird-project/hummingbird-websocket.git at 2.6.0 (4.20s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.23s)
Fetching https://github.com/mattt/eventsource.git
[1/325] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.34s)
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 (4.51s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (4.85s)
Computing version for https://github.com/argmaxinc/WhisperKit
Computed https://github.com/argmaxinc/WhisperKit at 1.1.1 (1.12s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.30s)
Fetching https://github.com/apple/swift-numerics
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.66s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (0.99s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-atomics.git
[1/1893] Fetching swift-atomics
[20/5502] Fetching swift-atomics, swift-metrics
[57/12199] Fetching swift-atomics, swift-metrics, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (0.51s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[1/12319] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.56s)
[1233/41681] Fetching swift-nio-http2, swift-collections
[17578/58198] Fetching swift-nio-http2, swift-collections, async-http-client
[45647/65023] Fetching swift-nio-http2, swift-collections, async-http-client, swift-async-algorithms
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.04s)
[40204/52704] Fetching swift-collections, async-http-client, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.63s)
[42411/45879] Fetching swift-collections, async-http-client
Fetched https://github.com/apple/swift-collections.git from cache (1.34s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.41s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.74s)
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.25s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.23s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.22s)
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.27s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (1.01s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/2051] Fetching swift-asn1
[678/3335] Fetching swift-asn1, swift-http-structured-headers
[987/9494] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms
[5123/17101] Fetching swift-asn1, swift-http-structured-headers, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.51s)
[8508/10942] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.59s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.59s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.59s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.85s)
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.24s)
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.26s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.12.1 (0.25s)
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.30s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.23s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.26s)
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.25s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.46s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.5 (0.23s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-xet.git
[1/18859] Fetching swift-crypto
[2/21914] Fetching swift-crypto, swift-huggingface
[155/22404] Fetching swift-crypto, swift-huggingface, swift-xet
[160/24420] Fetching swift-crypto, swift-huggingface, swift-xet, swift-jinja
Fetched https://github.com/huggingface/swift-xet.git from cache (0.47s)
[5894/23930] Fetching swift-crypto, swift-huggingface, swift-jinja
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.51s)
[3337/20875] Fetching swift-crypto, swift-jinja
[3903/26096] Fetching swift-crypto, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.41s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.41s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.43s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.69s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.2 (0.24s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.0 (0.34s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 1.1.0 (0.30s)
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.24s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.23s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.28s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.22s)
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.22s)
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.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.33s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
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/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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
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/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/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at 0.2.7
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/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-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
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/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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/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-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.5
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.12.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
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/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/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/huggingface/swift-xet.git
Working copy of https://github.com/huggingface/swift-xet.git resolved at 1.1.0
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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.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/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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
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/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/argmaxinc/WhisperKit
Working copy of https://github.com/argmaxinc/WhisperKit 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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Downloading binary artifact https://github.com/soniqo/speech-core/releases/download/v0.0.14/SpeechCore.xcframework.zip
[16375/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.22s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/859] Write sources
[78/859] Compiling _NumericsShims _NumericsShims.c
[79/859] Copying t5_tokenizer_config.json
[80/859] Copying gpt2_tokenizer_config.json
[81/859] Write sources
[84/859] Compiling _CWASI _CWASI.c
[85/859] Compiling KeccakHash.c
[86/859] Compiling _AtomicsShims.c
[87/859] Compiling KeccakSponge.c
[88/859] Compiling LocalVQEAECFrontend LocalVQEAECFrontend.cpp
[89/859] Write swift-version-24593BA9C3E375BF.txt
[90/859] Compiling recursion_guard.cc
[91/862] Compiling CXGrammarBridge CXGrammarBridge.cpp
[93/865] Emitting module _NIOBase64
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[93/865] Compiling logging.cc
[94/865] Compiling testing.cc
[95/868] Compiling suffix_automata.cc
[96/873] Compiling tokenizer_info.cc
[98/873] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[99/873] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[100/873] Emitting module SpeechUI
[101/873] Compiling SpeechUI SpeechUI.swift
[102/873] Compiling SpeechUI TranscriptionView.swift
[103/874] Compiling _NIOBase64 Base64.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[106/875] Emitting module _NIODataStructures
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[107/875] Compiling _NIODataStructures Heap.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[108/876] Wrapping AST for _NIOBase64 for debugging
[109/876] Wrapping AST for _NIODataStructures for debugging
[111/876] Compiling SpeechRuntime ModelRuntime.swift
[112/876] Compiling SpeechRuntime ModelDescriptor.swift
[113/876] Compiling SpeechRuntime ModelCache.swift
[113/876] Compiling KeccakP-1600-opt64.c
[114/876] Compiling regex_converter.cc
[116/876] Emitting module SpeechRuntime
[117/876] Compiling SpeechRuntime InferenceGate.swift
[118/877] Compiling grammar_printer.cc
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:79:46: error: no template named 'shared_future' in namespace 'std'; did you mean 'shared_ptr'?
79 | auto Submit(F&& f, Args&&... args) -> std::shared_future<std::invoke_result_t<F, Args...>> {
| ~~~~~^~~~~~~~~~~~~
| shared_ptr
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:416:59: note: 'shared_ptr' declared here
416 | class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:194:20: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
194 | std::vector<std::thread> workers_;
| ~~~~~^~~~~~
| fread
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/cstdio:141:9: note: 'fread' declared here
141 | using ::fread _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:194:15: error: template argument for template type parameter must be a type
194 | std::vector<std::thread> workers_;
| ^~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/vector:388:17: note: template parameter is declared here
388 | template <class _Tp, class _Allocator /* = allocator<_Tp> */>
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:198:8: error: no type named 'mutex' in namespace 'std'
198 | std::mutex queue_mutex_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:200:8: error: no type named 'condition_variable' in namespace 'std'
200 | std::condition_variable queue_condition_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:202:8: error: no type named 'condition_variable' in namespace 'std'
202 | std::condition_variable tasks_done_condition_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:37:40: error: no member named 'thread' in namespace 'std'
37 | ThreadPool(size_t num_threads = std::thread::hardware_concurrency()) {
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:45:18: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
45 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:45:35: error: no member named 'mutex' in namespace 'std'
45 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:46:35: error: use of undeclared identifier 'lock'; did you mean 'clock'?
46 | queue_condition_.wait(lock, [this] { return shutdown_ || !task_queue_.empty(); });
| ^~~~
| clock
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:71:9: note: 'clock' declared here
71 | clock_t clock (void);
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:58:18: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
58 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:58:35: error: no member named 'mutex' in namespace 'std'
58 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:83:39: error: no member named 'packaged_task' in namespace 'std'
83 | auto task = std::make_shared<std::packaged_task<return_type()>>(
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:87:10: error: no template named 'shared_future' in namespace 'std'; did you mean 'shared_ptr'?
87 | std::shared_future<return_type> res = task->get_future().share();
| ~~~~~^~~~~~~~~~~~~
| shared_ptr
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:416:59: note: 'shared_ptr' declared here
416 | class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:90:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
90 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:90:29: error: no member named 'mutex' in namespace 'std'
90 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:112:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
112 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:112:29: error: no member named 'mutex' in namespace 'std'
112 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:129:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
129 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[119/877] Compiling grammar_matcher.cc
[119/877] Compiling grammar_functor.cc
[119/877] Compiling lark_converter.cc
[119/877] Compiling json_schema_converter.cc
[119/877] Compiling yyjson.c
[119/877] Compiling structural_tag.cc
[119/877] Compiling json_schema_converter_ext.cc
[119/877] Compiling grammar_parser.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-2":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/760] Write sources
[2/760] Copying LICENSE-reference
[2/760] Copying heteronyms_en.txt
[2/760] Copying rnnt_vocab.json
[2/760] Copying cmudict_pinyin_zh.txt
[2/760] Copying dict_hi.json
[2/760] Copying LICENSE-reference
[2/760] Copying dict_pt.json
[2/760] Copying dict_fr.json
[2/760] Write sources
[20/760] Copying cmudict_ipa_es.txt
[20/760] Copying cmudict_ipa_en.txt
[20/762] Copying cmudict_ipa_de.txt
[23/763] Compiling grammar_parser.cc
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:79:46: error: no template named 'shared_future' in namespace 'std'; did you mean 'shared_ptr'?
79 | auto Submit(F&& f, Args&&... args) -> std::shared_future<std::invoke_result_t<F, Args...>> {
| ~~~~~^~~~~~~~~~~~~
| shared_ptr
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:416:59: note: 'shared_ptr' declared here
416 | class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:194:20: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
194 | std::vector<std::thread> workers_;
| ~~~~~^~~~~~
| fread
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/cstdio:141:9: note: 'fread' declared here
141 | using ::fread _LIBCPP_USING_IF_EXISTS;
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:194:15: error: template argument for template type parameter must be a type
194 | std::vector<std::thread> workers_;
| ^~~~~~~~~~~
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/vector:388:17: note: template parameter is declared here
388 | template <class _Tp, class _Allocator /* = allocator<_Tp> */>
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:198:8: error: no type named 'mutex' in namespace 'std'
198 | std::mutex queue_mutex_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:200:8: error: no type named 'condition_variable' in namespace 'std'
200 | std::condition_variable queue_condition_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:202:8: error: no type named 'condition_variable' in namespace 'std'
202 | std::condition_variable tasks_done_condition_;
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:37:40: error: no member named 'thread' in namespace 'std'
37 | ThreadPool(size_t num_threads = std::thread::hardware_concurrency()) {
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:45:18: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
45 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:45:35: error: no member named 'mutex' in namespace 'std'
45 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:46:35: error: use of undeclared identifier 'lock'; did you mean 'clock'?
46 | queue_condition_.wait(lock, [this] { return shutdown_ || !task_queue_.empty(); });
| ^~~~
| clock
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:71:9: note: 'clock' declared here
71 | clock_t clock (void);
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:58:18: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
58 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:58:35: error: no member named 'mutex' in namespace 'std'
58 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:83:39: error: no member named 'packaged_task' in namespace 'std'
83 | auto task = std::make_shared<std::packaged_task<return_type()>>(
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:87:10: error: no template named 'shared_future' in namespace 'std'; did you mean 'shared_ptr'?
87 | std::shared_future<return_type> res = task->get_future().share();
| ~~~~~^~~~~~~~~~~~~
| shared_ptr
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:416:59: note: 'shared_ptr' declared here
416 | class _LIBCPP_SHARED_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS shared_ptr {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:90:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
90 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:90:29: error: no member named 'mutex' in namespace 'std'
90 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:112:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
112 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/xgrammar/cpp/grammar_matcher.cc:33:
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:112:29: error: no member named 'mutex' in namespace 'std'
112 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:129:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
129 | std::unique_lock<std::mutex> lock(queue_mutex_);
| ~~~~~^~~~~~~~~~~
| unique_copy
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[24/763] Compiling grammar_matcher.cc
[24/763] Compiling lark_converter.cc
[24/763] Compiling structural_tag.cc
[24/763] Compiling json_schema_converter.cc
[24/763] Compiling grammar_functor.cc
[24/763] Compiling json_schema_converter_ext.cc
[24/763] Compiling yyjson.c
[24/763] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm