Build Information
Failed to build Qwen3Speech, reference main (cbcdfc), with Swift 6.2 for Wasm on 9 Oct 2026 19:36:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build 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.2
Building package at path: $PWD
https://github.com/soniqo/speech-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/mlc-ai/xgrammar
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
Fetching https://github.com/hummingbird-project/hummingbird.git
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/argmaxinc/WhisperKit
Fetching https://github.com/apple/swift-system.git
[1/7090] Fetching swift-transformers
[2/35998] Fetching swift-transformers, hummingbird
[73/45406] Fetching swift-transformers, hummingbird, whisperkit
[287/52647] Fetching swift-transformers, hummingbird, whisperkit, swift-system
[932/56071] Fetching swift-transformers, hummingbird, whisperkit, swift-system, hummingbird-websocket
[29977/86922] Fetching swift-transformers, hummingbird, whisperkit, swift-system, hummingbird-websocket, xgrammar
Fetched https://github.com/huggingface/swift-transformers from cache (1.38s)
[29447/79832] Fetching hummingbird, whisperkit, swift-system, hummingbird-websocket, xgrammar
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetched https://github.com/apple/swift-system.git from cache (1.42s)
[27428/72591] Fetching hummingbird, whisperkit, hummingbird-websocket, xgrammar
Fetching https://github.com/hummingbird-project/swift-websocket.git
[43641/73719] Fetching hummingbird, whisperkit, hummingbird-websocket, xgrammar, swift-websocket
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (0.55s)
Fetching https://github.com/ml-explore/mlx-swift-lm
[46417/72591] Fetching hummingbird, whisperkit, hummingbird-websocket, xgrammar
[46418/76583] Fetching hummingbird, whisperkit, hummingbird-websocket, xgrammar, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (1.00s)
[66098/72591] Fetching hummingbird, whisperkit, hummingbird-websocket, xgrammar
Fetching https://github.com/ml-explore/mlx-swift
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (2.75s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (2.77s)
Fetched https://github.com/argmaxinc/WhisperKit from cache (2.79s)
[1/17095] Fetching mlx-swift
[9404/36191] Fetching mlx-swift, swift-argument-parser
[36192/58721] Fetching mlx-swift, swift-argument-parser, mlx-swift-lm
Fetched https://github.com/apple/swift-argument-parser from cache (1.89s)
Fetched https://github.com/ml-explore/mlx-swift from cache (2.58s)
[7149/22530] Fetching mlx-swift-lm
Fetched https://github.com/mlc-ai/xgrammar from cache (5.12s)
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (4.49s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.7 (6.67s)
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.19s)
Fetching https://github.com/swift-server/swift-service-lifecycle
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/700] Fetching compress-nio
[701/3567] Fetching compress-nio, swift-nio-transport-services
[2364/20428] Fetching compress-nio, swift-nio-transport-services, swift-nio-ssl
[3483/27130] Fetching compress-nio, swift-nio-transport-services, swift-nio-ssl, swift-nio-extras
[3570/29997] Fetching compress-nio, swift-nio-transport-services, swift-nio-ssl, swift-nio-extras, swift-service-lifecycle
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.52s)
[3092/27130] Fetching compress-nio, swift-nio-ssl, swift-nio-extras, swift-service-lifecycle
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.76s)
[10775/24263] Fetching compress-nio, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.77s)
Fetching https://github.com/apple/swift-nio.git
[4241/17561] Fetching compress-nio, swift-nio-ssl
[6266/19500] Fetching compress-nio, swift-nio-ssl, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.46s)
[10648/17561] Fetching compress-nio, swift-nio-ssl
[17562/25818] Fetching compress-nio, swift-nio-ssl, swift-log
[25819/112180] Fetching compress-nio, swift-nio-ssl, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.07s)
[18425/103923] Fetching compress-nio, swift-nio-ssl, swift-nio
Fetched https://github.com/adam-fowler/compress-nio.git from cache (1.93s)
[26361/103223] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.94s)
[11228/86362] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.48s)
Computing version for https://github.com/hummingbird-project/hummingbird-websocket.git
Computed https://github.com/hummingbird-project/hummingbird-websocket.git at 2.6.0 (5.41s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.16s)
Fetching https://github.com/mattt/eventsource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.70s)
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.90s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80403] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (6.54s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (6.78s)
Computing version for https://github.com/argmaxinc/WhisperKit
Computed https://github.com/argmaxinc/WhisperKit at 1.1.1 (1.14s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.21s)
Fetching https://github.com/apple/swift-numerics
[1/6717] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.62s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (0.82s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-metrics.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-atomics.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/6815] Fetching swift-async-algorithms
[2/10378] Fetching swift-async-algorithms, swift-metrics
[7992/22666] Fetching swift-async-algorithms, swift-metrics, swift-nio-http2
[8860/51357] Fetching swift-async-algorithms, swift-metrics, swift-nio-http2, swift-collections
[11772/67821] Fetching swift-async-algorithms, swift-metrics, swift-nio-http2, swift-collections, async-http-client
[41553/69706] Fetching swift-async-algorithms, swift-metrics, swift-nio-http2, swift-collections, async-http-client, swift-atomics
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.06s)
Fetching https://github.com/apple/swift-distributed-tracing.git
[42786/57418] Fetching swift-async-algorithms, swift-metrics, swift-collections, async-http-client, swift-atomics
[45943/63969] Fetching swift-async-algorithms, swift-metrics, swift-collections, async-http-client, swift-atomics, swift-distributed-tracing
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.58s)
[48607/57418] Fetching swift-async-algorithms, swift-metrics, swift-collections, async-http-client, swift-atomics
Fetched https://github.com/apple/swift-metrics.git from cache (3.30s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (3.30s)
Fetched https://github.com/apple/swift-atomics.git from cache (3.30s)
Fetched https://github.com/swift-server/async-http-client.git from cache (3.30s)
Fetched https://github.com/apple/swift-collections.git from cache (3.32s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (4.44s)
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.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.21s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.19s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.29s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1253] Fetching swift-http-structured-headers
[1079/7417] Fetching swift-http-structured-headers, swift-algorithms
[1624/9426] Fetching swift-http-structured-headers, swift-algorithms, swift-asn1
[2730/17035] Fetching swift-http-structured-headers, swift-algorithms, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.55s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.55s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.55s)
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.83s)
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.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.19s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.32s)
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.19s)
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.16s)
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.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.19s)
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.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.41s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.5 (0.26s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1376] Fetching swift-jinja
[1377/4390] Fetching swift-jinja, swift-huggingface
[1619/23003] Fetching swift-jinja, swift-huggingface, swift-crypto
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.66s)
[2493/19989] Fetching swift-jinja, swift-crypto
[4169/25064] Fetching swift-jinja, swift-crypto, yyjson
Fetched https://github.com/ibireme/yyjson.git from cache (1.27s)
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.53s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.54s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.73s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 1.0.0 (0.22s)
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.17s)
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.69s)
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.84s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.16s)
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.16s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.23s)
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.93s)
Fetching https://github.com/apple/swift-configuration.git
[1/3923] Fetching swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.84s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (1.11s)
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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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-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-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/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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.4
Creating working copy for https://github.com/apple/swift-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
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/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/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
Creating working copy for https://github.com/ml-explore/mlx-swift-lm
Working copy of https://github.com/ml-explore/mlx-swift-lm resolved at 3.31.4
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/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-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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.2
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.5
Creating working copy for https://github.com/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/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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/hummingbird-project/hummingbird-websocket.git
Working copy of https://github.com/hummingbird-project/hummingbird-websocket.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-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/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-nio-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/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/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-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
[7685/2112822] Downloading https://github.com/soniqo/speech-core/releases/download/v0.0.14/SpeechCore.xcframework.zip
Downloaded https://github.com/soniqo/speech-core/releases/download/v0.0.14/SpeechCore.xcframework.zip (0.30s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/839] Write sources
[4/839] Copying t5_tokenizer_config.json
[5/839] Write sources
[6/839] Copying gpt2_tokenizer_config.json
[7/839] Write sources
[11/839] Compiling _CWASI _CWASI.c
[12/839] Compiling _NumericsShims _NumericsShims.c
[13/839] Compiling _AtomicsShims.c
[14/839] Compiling CXGrammarBridge CXGrammarBridge.cpp
[15/839] Write swift-version-24593BA9C3E375BF.txt
[16/839] Compiling LocalVQEAECFrontend LocalVQEAECFrontend.cpp
[17/843] Compiling recursion_guard.cc
[18/845] Compiling logging.cc
[20/845] Emitting module _NIOBase64
[20/845] Compiling testing.cc
[21/845] Compiling tokenizer_info.cc
[22/845] Compiling suffix_automata.cc
[23/845] Compiling regex_converter.cc
[25/845] Compiling _NIODataStructures PriorityQueue.swift
[26/845] Compiling _NIOBase64 Base64.swift
[28/846] Compiling _NIODataStructures _TinyArray.swift
[29/846] Compiling _NIODataStructures Heap.swift
[30/846] Emitting module _NIODataStructures
[31/847] Wrapping AST for _NIOBase64 for debugging
[32/847] Wrapping AST for _NIODataStructures for debugging
[33/847] Compiling grammar_printer.cc
[34/847] Compiling json_schema_converter_ext.cc
[35/847] Compiling lark_converter.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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
In file included from /host/spi-builder-workspace/.build/checkouts/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-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/unique_copy.h:102:1: note: 'unique_copy' declared here
102 | unique_copy(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _BinaryPredicate __pred) {
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[36/847] Compiling grammar_matcher.cc
[36/847] Compiling grammar_builder.cc
[36/847] Compiling grammar_compiler.cc
[36/847] Compiling grammar_functor.cc
[36/847] Compiling grammar_parser.cc
[36/847] Compiling yyjson.c
[36/847] Compiling structural_tag.cc
[36/847] Compiling json_schema_converter.cc
BUILD FAILURE 6.2 wasm