The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Qwen3Speech, reference v0.0.29 (7f382b), with Swift 6.3 for Wasm on 27 Oct 2026 21:34:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build 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.3
Building package at path:  $PWD
https://github.com/soniqo/speech-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/hummingbird-project/hummingbird-websocket.git
Fetching https://github.com/hummingbird-project/swift-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/huggingface/swift-transformers
[1/1156] Fetching swift-websocket
[1157/4599] Fetching swift-websocket, hummingbird-websocket
[4600/11968] Fetching swift-websocket, hummingbird-websocket, swift-transformers
[5411/21416] Fetching swift-websocket, hummingbird-websocket, swift-transformers, whisperkit
[5486/50408] Fetching swift-websocket, hummingbird-websocket, swift-transformers, whisperkit, hummingbird
Fetched https://github.com/huggingface/swift-transformers from cache (0.77s)
Fetching https://github.com/apple/swift-system.git
[12112/43039] Fetching swift-websocket, hummingbird-websocket, whisperkit, hummingbird
[39639/74793] Fetching swift-websocket, hummingbird-websocket, whisperkit, hummingbird, xgrammar
[42301/82174] Fetching swift-websocket, hummingbird-websocket, whisperkit, hummingbird, xgrammar, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
[61457/74793] Fetching swift-websocket, hummingbird-websocket, whisperkit, hummingbird, xgrammar
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetched https://github.com/hummingbird-project/hummingbird.git from cache (1.84s)
[45801/45801] Fetching swift-websocket, hummingbird-websocket, whisperkit, xgrammar
Fetching https://github.com/ml-explore/mlx-swift-lm
[45802/50262] Fetching swift-websocket, hummingbird-websocket, whisperkit, xgrammar, swift-sdk
[50130/74990] Fetching swift-websocket, hummingbird-websocket, whisperkit, xgrammar, swift-sdk, mlx-swift-lm
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.95s)
Fetching https://github.com/ml-explore/mlx-swift
[47780/70529] Fetching swift-websocket, hummingbird-websocket, whisperkit, xgrammar, mlx-swift-lm
Fetched https://github.com/hummingbird-project/swift-websocket.git from cache (2.72s)
Fetched https://github.com/hummingbird-project/hummingbird-websocket.git from cache (2.73s)
Fetching https://github.com/apple/swift-argument-parser
[50846/65930] Fetching whisperkit, xgrammar, mlx-swift-lm
Fetched https://github.com/mlc-ai/xgrammar from cache (2.75s)
Fetched https://github.com/argmaxinc/WhisperKit from cache (2.75s)
[10139/24728] Fetching mlx-swift-lm
[21762/44041] Fetching mlx-swift-lm, swift-argument-parser
[30523/61594] Fetching mlx-swift-lm, swift-argument-parser, mlx-swift
Fetched https://github.com/apple/swift-argument-parser from cache (1.05s)
[40351/42281] Fetching mlx-swift-lm, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift-lm from cache (2.21s)
Fetched https://github.com/ml-explore/mlx-swift from cache (1.52s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.7 (4.29s)
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.16s)
Fetching https://github.com/adam-fowler/compress-nio.git
Fetching https://github.com/apple/swift-nio-ssl.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-http-types.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1961] Fetching swift-http-types
[41/2661] Fetching swift-http-types, compress-nio
[268/5528] Fetching swift-http-types, compress-nio, swift-nio-transport-services
[2336/8414] Fetching swift-http-types, compress-nio, swift-nio-transport-services, swift-service-lifecycle
[3829/15124] Fetching swift-http-types, compress-nio, swift-nio-transport-services, swift-service-lifecycle, swift-nio-extras
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[5693/13163] Fetching compress-nio, swift-nio-transport-services, swift-service-lifecycle, swift-nio-extras
Fetching https://github.com/apple/swift-log.git
[5962/30057] Fetching compress-nio, swift-nio-transport-services, swift-service-lifecycle, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.44s)
Fetching https://github.com/apple/swift-nio.git
[5466/27190] Fetching compress-nio, swift-service-lifecycle, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.54s)
[5107/20480] Fetching compress-nio, swift-service-lifecycle, swift-nio-ssl
[10514/28861] Fetching compress-nio, swift-service-lifecycle, swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Fetched https://github.com/adam-fowler/compress-nio.git from cache (1.29s)
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (1.29s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.30s)
[1/86691] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.37s)
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.99s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.17s)
Fetching https://github.com/mattt/eventsource.git
[1/325] Fetching eventsource
Fetched https://github.com/mattt/eventsource.git from cache (0.38s)
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.58s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81259] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.66s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (3.85s)
Computing version for https://github.com/argmaxinc/WhisperKit
Computed https://github.com/argmaxinc/WhisperKit at 1.1.1 (0.96s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (0.21s)
Fetching https://github.com/apple/swift-numerics
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.54s)
Computing version for https://github.com/hummingbird-project/hummingbird.git
Computed https://github.com/hummingbird-project/hummingbird.git at 2.16.0 (0.72s)
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-metrics.git
[1/3609] Fetching swift-metrics
[1156/10434] Fetching swift-metrics, swift-async-algorithms
[1157/17131] Fetching swift-metrics, swift-async-algorithms, swift-distributed-tracing
Fetched https://github.com/apple/swift-metrics.git from cache (0.49s)
[5829/13522] Fetching swift-async-algorithms, swift-distributed-tracing
Fetching https://github.com/apple/swift-atomics.git
[13523/25841] Fetching swift-async-algorithms, swift-distributed-tracing, swift-nio-http2
[14016/55203] Fetching swift-async-algorithms, swift-distributed-tracing, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
[7438/48378] Fetching swift-distributed-tracing, swift-nio-http2, swift-collections
[15774/64895] Fetching swift-distributed-tracing, swift-nio-http2, swift-collections, async-http-client
[52564/66788] Fetching swift-distributed-tracing, swift-nio-http2, swift-collections, async-http-client, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[62547/64895] Fetching swift-distributed-tracing, swift-nio-http2, swift-collections, async-http-client
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.07s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.08s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.29s)
Fetched https://github.com/apple/swift-collections.git from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (2.38s)
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.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
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.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.15s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.16s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.2 (0.27s)
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/1284] Fetching swift-http-structured-headers
[40/3335] Fetching swift-http-structured-headers, swift-asn1
[3336/9494] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms
[3583/17101] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.54s)
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.76s)
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.17s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.15s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/swift-server/swift-service-lifecycle at 2.13.0 (0.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.25s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.21s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.5 (0.16s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-crypto.git
[1/3055] Fetching swift-huggingface
[2/21914] Fetching swift-huggingface, swift-crypto
[4942/27135] Fetching swift-huggingface, swift-crypto, yyjson
[7063/29151] Fetching swift-huggingface, swift-crypto, yyjson, swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.72s)
[12048/27135] Fetching swift-huggingface, swift-crypto, yyjson
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.30s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.30s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.31s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.49s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.2 (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.16s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.12.0 (0.15s)
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.19s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.1 (0.25s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (0.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.26s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.17s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
[574/5691] Fetching swift-service-context, swift-configuration
Fetched https://github.com/apple/swift-configuration.git from cache (0.46s)
Fetched https://github.com/apple/swift-service-context.git from cache (0.46s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.61s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.3.0 (0.20s)
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.6
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-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-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-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/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/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/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/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.3.0
Creating working copy for https://github.com/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-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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.2
Creating working copy for https://github.com/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/argmaxinc/WhisperKit
Working copy of https://github.com/argmaxinc/WhisperKit resolved at 1.1.1
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio-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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-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/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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
Creating working copy for https://github.com/apple/swift-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-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.2
Creating working copy for https://github.com/apple/swift-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.12.0
Creating working copy for https://github.com/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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.13.0
Creating working copy for https://github.com/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-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/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
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.38s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.26s)
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Emitting module ArgumentParserToolInfo
[6/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Emitting module ArgumentParser
[10/65] Compiling ArgumentParser Name.swift
[11/65] Compiling ArgumentParser Parsed.swift
[12/65] Compiling ArgumentParser ParsedValues.swift
[13/65] Compiling ArgumentParser ParserError.swift
[14/65] Compiling ArgumentParser SplitArguments.swift
[15/65] Compiling ArgumentParser DumpHelpGenerator.swift
[16/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[17/65] Compiling ArgumentParser CodingKeyValidator.swift
[18/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[19/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[20/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[21/65] Compiling ArgumentParser UniqueNamesValidator.swift
[22/65] Compiling ArgumentParser ArgumentVisibility.swift
[23/65] Compiling ArgumentParser CompletionKind.swift
[24/65] Compiling ArgumentParser Errors.swift
[25/65] Compiling ArgumentParser Flag.swift
[26/65] Compiling ArgumentParser NameSpecification.swift
[27/65] Compiling ArgumentParser Option.swift
[28/65] Compiling ArgumentParser OptionGroup.swift
[29/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/65] Compiling ArgumentParser CompletionsGenerator.swift
[31/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/65] Compiling ArgumentParser Argument.swift
[34/65] Compiling ArgumentParser ArgumentDiscussion.swift
[35/65] Compiling ArgumentParser ArgumentHelp.swift
[36/65] Compiling ArgumentParser Mutex.swift
[37/65] Compiling ArgumentParser Platform.swift
[38/65] Compiling ArgumentParser SequenceExtensions.swift
[39/65] Compiling ArgumentParser StringExtensions.swift
[40/65] Compiling ArgumentParser SwiftExtensions.swift
[41/65] Compiling ArgumentParser Tree.swift
[42/65] Compiling ArgumentParser HelpCommand.swift
[43/65] Compiling ArgumentParser HelpGenerator.swift
[44/65] Compiling ArgumentParser MessageInfo.swift
[45/65] Compiling ArgumentParser UsageGenerator.swift
[46/65] Compiling ArgumentParser CollectionExtensions.swift
[47/65] Compiling ArgumentParser Foundation.swift
[48/65] Compiling ArgumentParser ParentCommand.swift
[49/65] Compiling ArgumentParser AsyncParsableCommand.swift
[50/65] Compiling ArgumentParser CommandConfiguration.swift
[51/65] Compiling ArgumentParser CommandGroup.swift
[52/65] Compiling ArgumentParser EnumerableFlag.swift
[53/65] Compiling ArgumentParser ExpressibleByArgument.swift
[54/65] Compiling ArgumentParser ParsableArguments.swift
[55/65] Compiling ArgumentParser ParsableCommand.swift
[56/65] Compiling ArgumentParser ArgumentDecoder.swift
[57/65] Compiling ArgumentParser ArgumentDefinition.swift
[58/65] Compiling ArgumentParser ArgumentSet.swift
[59/65] Compiling ArgumentParser CommandParser.swift
[60/65] Compiling ArgumentParser InputKey.swift
[61/65] Compiling ArgumentParser InputOrigin.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Compiling encuda encuda.swift
[65/72] Compiling encuda encuda-utils.swift
[66/72] Compiling encuda encuda-link.swift
[67/72] Compiling encuda encuda-compile.swift
[68/72] Compiling encuda encuda-error.swift
[69/72] Emitting module encuda
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin CudaBuild
Building for debugging...
[3/1081] Write sources
[7/1081] Copying t5_tokenizer_config.json
[8/1081] Copying gpt2_tokenizer_config.json
[9/1081] Write sources
[16/1081] Compiling _CWASI _CWASI.c
[17/1081] Compiling _NumericsShims _NumericsShims.c
[18/1081] Compiling _AtomicsShims.c
[19/1081] Compiling recursion_guard.cc
[20/1081] Compiling logging.cc
[21/1081] Compiling suffix_automata.cc
[22/1081] Compiling regex_converter.cc
[23/1081] Compiling testing.cc
[24/1081] Compiling tokenizer_info.cc
[25/1081] Compiling grammar_printer.cc
[26/1081] Compiling json_schema_converter_ext.cc
[27/1081] Compiling lark_converter.cc
[28/1081] 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-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:307:38: note: 'shared_ptr' declared here
  307 | class _LIBCPP_SHARED_PTR_TRIVIAL_ABI 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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cstdio:144:9: note: 'fread' declared here
  144 | 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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__vector/vector.h:87:17: note: template parameter is declared here
   87 | 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: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: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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__memory/shared_ptr.h:307:38: note: 'shared_ptr' declared here
  307 | class _LIBCPP_SHARED_PTR_TRIVIAL_ABI 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: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: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:29: error: no member named 'mutex' in namespace 'std'
  129 |       std::unique_lock<std::mutex> lock(queue_mutex_);
      |                             ^~~~~
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:163:29: error: no member named 'mutex' in namespace 'std'
  163 |       std::unique_lock<std::mutex> lock(queue_mutex_);
      |                             ^~~~~
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:169:15: error: no type named 'thread' in namespace 'std'
  169 |     for (std::thread& worker : workers_) {
      |          ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:177:29: error: no member named 'mutex' in namespace 'std'
  177 |       std::unique_lock<std::mutex> lock(queue_mutex_);
      |                             ^~~~~
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:186:27: error: no member named 'mutex' in namespace 'std'
  186 |     std::unique_lock<std::mutex> lock(queue_mutex_);
      |                           ^~~~~
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/grammar_matcher.cc:767:53: error: no member named 'thread' in namespace 'std'
  767 |         if (num_threads > static_cast<int32_t>(std::thread::hardware_concurrency())) {
      |                                                ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[29/1081] Compiling grammar_matcher.cc
[29/1081] Compiling grammar_builder.cc
[29/1081] Compiling grammar_compiler.cc
[29/1081] Compiling grammar_functor.cc
[29/1081] Compiling yyjson.c
[29/1081] Compiling json_schema_converter.cc
[29/1081] Compiling structural_tag.cc
[29/1081] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm