The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Qwen3Speech, reference main (cbcdfc), with Swift 6.1 for Wasm on 9 Oct 2026 19:29:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soniqo/speech-swift.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/soniqo/speech-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cbcdfc6 Merge pull request #502 from soniqo/feat/nemotron-language-guide-20261007
Cloned https://github.com/soniqo/speech-swift.git
Revision (git rev-parse @):
cbcdfc6be5e723952d29ab6e32af5e22ad8e70fa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/soniqo/speech-swift.git at main
========================================
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-54344847-1":/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:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/argmaxinc/WhisperKit
Fetching https://github.com/mlc-ai/xgrammar
Fetching https://github.com/hummingbird-project/swift-websocket.git
Fetching https://github.com/huggingface/swift-transformers
[1/1128] Fetching swift-websocket
[1129/8217] Fetching swift-websocket, swift-transformers
[1271/37125] Fetching swift-websocket, swift-transformers, hummingbird
[1910/46533] Fetching swift-websocket, swift-transformers, hummingbird, whisperkit
[3138/49957] Fetching swift-websocket, swift-transformers, hummingbird, whisperkit, hummingbird-websocket
Fetched https://github.com/huggingface/swift-transformers from cache (0.80s)
[39193/42868] Fetching swift-websocket, hummingbird, whisperkit, hummingbird-websocket
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (1.02s)
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (1.02s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[35776/38316] Fetching hummingbird, whisperkit
[36436/69167] Fetching hummingbird, whisperkit, xgrammar
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.03s)
[7716/40259] Fetching whisperkit, xgrammar
Fetching https://github.com/ml-explore/mlx-swift-lm
[34707/47500] Fetching whisperkit, xgrammar, swift-system
[38678/51492] Fetching whisperkit, xgrammar, swift-system, swift-sdk
[40672/70588] Fetching whisperkit, xgrammar, swift-system, swift-sdk, swift-argument-parser
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
[58192/63347] Fetching whisperkit, xgrammar, swift-sdk, swift-argument-parser
Fetching https://github.com/ml-explore/mlx-swift
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.96s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.96s)
Fetched https://github.com/mlc-ai/xgrammar from cache (2.38s)
Fetched https://github.com/argmaxinc/WhisperKit from cache (2.38s)
[1/17095] Fetching mlx-swift
[5472/39625] Fetching mlx-swift, mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift from cache (1.65s)
[18250/22530] Fetching mlx-swift-lm
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (3.15s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.7 (4.41s)
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.23s)
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-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/700] Fetching compress-nio
[701/3567] Fetching compress-nio, swift-nio-transport-services
[816/20425] Fetching compress-nio, swift-nio-transport-services, swift-nio-ssl
[1219/23292] Fetching compress-nio, swift-nio-transport-services, swift-nio-ssl, swift-service-lifecycle
[2073/29994] Fetching compress-nio, swift-nio-transport-services, swift-nio-ssl, swift-service-lifecycle, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.49s)
[7094/27127] Fetching compress-nio, swift-nio-ssl, swift-service-lifecycle, swift-nio-extras
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.58s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.58s)
Fetching https://github.com/apple/swift-http-types.git
[3735/17558] Fetching compress-nio, swift-nio-ssl
[17559/25815] Fetching compress-nio, swift-nio-ssl, swift-log
[21523/112177] Fetching compress-nio, swift-nio-ssl, swift-log, swift-nio
[27544/114116] Fetching compress-nio, swift-nio-ssl, swift-log, swift-nio, swift-http-types
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
[21770/105859] Fetching compress-nio, swift-nio-ssl, swift-nio, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.48s)
[24467/103920] Fetching compress-nio, swift-nio-ssl, swift-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (1.21s)
[48812/103220] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.22s)
[32818/86362] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.16s)
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.39s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.22s)
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.36s)
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.62s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80403] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (3.60s)
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.25s)
Fetching https://github.com/apple/swift-numerics
[1/6717] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.56s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (0.81s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-collections.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/1885] Fetching swift-atomics
[115/5448] Fetching swift-atomics, swift-metrics
[5449/11999] Fetching swift-atomics, swift-metrics, swift-distributed-tracing
[5450/24287] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, swift-nio-http2
[14827/52978] Fetching swift-atomics, swift-metrics, swift-distributed-tracing, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.61s)
[13925/51093] Fetching swift-metrics, swift-distributed-tracing, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.61s)
Fetching https://github.com/apple/swift-async-algorithms.git
[7497/44542] Fetching swift-metrics, swift-nio-http2, swift-collections
[21591/61006] Fetching swift-metrics, swift-nio-http2, swift-collections, async-http-client
Fetched https://github.com/apple/swift-metrics.git from cache (1.08s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.08s)
[33233/40979] Fetching swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.08s)
[20946/35506] Fetching swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.62s)
Fetched https://github.com/apple/swift-collections.git from cache (1.46s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.79s)
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.22s)
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.22s)
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-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (1.00s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1253] Fetching swift-http-structured-headers
[14/3262] Fetching swift-http-structured-headers, swift-asn1
[3263/10871] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
[7448/17035] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.64s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.64s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.64s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.64s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.89s)
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.23s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
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.26s)
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.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.24s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.25s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (0.24s)
Fetching https://github.com/huggingface/swift-xet.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
[1/18613] Fetching swift-crypto
[746/21627] Fetching swift-crypto, swift-huggingface
[1023/22111] Fetching swift-crypto, swift-huggingface, swift-xet
[5361/23487] Fetching swift-crypto, swift-huggingface, swift-xet, swift-jinja
[6449/28562] Fetching swift-crypto, swift-huggingface, swift-xet, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-xet.git from cache (0.64s)
[6506/28078] Fetching swift-crypto, swift-huggingface, swift-jinja, yyjson
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.91s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.91s)
[8798/23688] Fetching swift-crypto, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.79s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.80s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.05s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.21s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.23s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.3.2 (0.22s)
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.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.22s)
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.42s)
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/1500] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.45s)
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.67s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.22s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.27s)
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.24s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.78s)
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/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/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.4
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/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-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/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-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/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-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/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.15.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-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/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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.1
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/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-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/huggingface/swift-xet.git
Working copy of https://github.com/huggingface/swift-xet.git resolved at 0.3.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.6.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-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/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/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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.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.1
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/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.13.0
Creating working copy for https://github.com/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-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-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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
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/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/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.4
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.36s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/839] Write sources
[71/839] Compiling md5-x86_64-apple.S
[72/839] Compiling fiat_curve25519_adx_square.S
[72/839] Compiling fiat_curve25519_adx_mul.S
[72/839] Copying gpt2_tokenizer_config.json
[72/839] Write sources
[72/839] Copying t5_tokenizer_config.json
[72/839] Write sources
[72/839] Compiling md5-x86_64-linux.S
[80/839] Compiling md5-586-linux.S
[81/839] Compiling _NumericsShims _NumericsShims.c
[82/839] Compiling _CWASI _CWASI.c
[83/839] Compiling _AtomicsShims.c
[84/839] Compiling logging.cc
[85/839] Write swift-version-24593BA9C3E375BF.txt
[86/839] Compiling LocalVQEAECFrontend LocalVQEAECFrontend.cpp
[87/839] Compiling CXGrammarBridge CXGrammarBridge.cpp
[88/839] Compiling recursion_guard.cc
[89/848] Compiling suffix_automata.cc
[90/848] Compiling testing.cc
[91/848] Compiling tokenizer_info.cc
[93/848] Compiling SpeechUI TranscriptionView.swift
[93/848] Compiling regex_converter.cc
[95/848] 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
[96/848] 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
[97/849] Emitting module SpeechUI
[98/849] Compiling SpeechUI SpeechUI.swift
[101/850] 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
[102/850] 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
[103/850] 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
[104/850] 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
[105/851] Wrapping AST for _NIODataStructures for debugging
[106/851] Wrapping AST for _NIOBase64 for debugging
[107/851] 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.
[108/851] Compiling grammar_matcher.cc
[108/851] Compiling grammar_functor.cc
[108/851] Compiling json_schema_converter.cc
[108/851] Compiling lark_converter.cc
[108/851] Compiling json_schema_converter_ext.cc
[108/851] Compiling yyjson.c
[108/851] Compiling grammar_parser.cc
[108/851] Compiling structural_tag.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
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/745] Write sources
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.
[5/748] Compiling grammar_matcher.cc
[5/748] Compiling grammar_parser.cc
[5/748] Compiling lark_converter.cc
[5/748] Compiling grammar_functor.cc
[5/748] Compiling structural_tag.cc
[5/748] Compiling json_schema_converter.cc
[5/748] Compiling json_schema_converter_ext.cc
[5/748] Compiling yyjson.c
BUILD FAILURE 6.1 wasm