The Swift Package Index logo.Swift Package Index

Build Information

Failed to build coreai-models, reference 0.2.0 (938d0b), with Swift 6.1 for Wasm on 10 Aug 2026 22:00:11 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/coreai-models.git
Reference: 0.2.0
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/john-rocky/coreai-models
 * tag               0.2.0      -> FETCH_HEAD
HEAD is now at 938d0b8 fix llm runner main (#90)
Cloned https://github.com/john-rocky/coreai-models.git
Revision (git rev-parse @):
938d0b8943b942ce66438b94ab017c5631d1aef4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/john-rocky/coreai-models.git at 0.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/john-rocky/coreai-models.git
https://github.com/john-rocky/coreai-models.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/mlc-ai/xgrammar
[1/25697] Fetching xgrammar
Fetched https://github.com/mlc-ai/xgrammar from cache (2.22s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/huggingface/swift-transformers
[1/6872] Fetching swift-transformers
[2269/25147] Fetching swift-transformers, swift-argument-parser
Fetched https://github.com/huggingface/swift-transformers from cache (0.69s)
[16082/18275] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.3 (1.10s)
Fetching https://github.com/huggingface/swift-xet.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/ibireme/yyjson.git
[1/2453] Fetching swift-huggingface
[100/3734] Fetching swift-huggingface, swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.60s)
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.60s)
[1/4712] Fetching yyjson
[2/22978] Fetching yyjson, swift-crypto
[4715/23255] Fetching yyjson, swift-crypto, swift-xet
Fetched https://github.com/huggingface/swift-xet.git from cache (0.97s)
Fetching https://github.com/apple/swift-collections.git
[6539/22978] Fetching yyjson, swift-crypto
Fetched https://github.com/ibireme/yyjson.git from cache (1.04s)
[2375/18266] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.49s)
[1/26580] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (3.13s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.9.0 (0.26s)
Fetching https://github.com/mattt/EventSource.git
[1/281] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git from cache (0.47s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.2.3 (0.70s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2860] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.54s)
[1/16109] Fetching async-http-client
[16110/101374] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client from cache (0.93s)
[4264/85265] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.43s)
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 (4.85s)
Fetching https://github.com/apple/swift-atomics.git
[1/1876] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.05s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.4.2 (0.46s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.36.0 (0.43s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/5938] Fetching swift-distributed-tracing
[3624/12031] Fetching swift-distributed-tracing, swift-algorithms
[3625/19984] Fetching swift-distributed-tracing, swift-algorithms, swift-log
[17815/32196] Fetching swift-distributed-tracing, swift-algorithms, swift-log, swift-nio-http2
[21939/48023] Fetching swift-distributed-tracing, swift-algorithms, swift-log, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-log.git from cache (0.82s)
[16337/40070] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-nio-ssl
[39280/46716] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.64s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.58s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.58s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.58s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.59s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (1.82s)
Fetching https://github.com/apple/swift-service-context.git
[1/1311] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.95s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.30s)
Fetching https://github.com/apple/swift-numerics.git
[1/6553] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.77s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (1.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.101.3 (0.75s)
Fetching https://github.com/apple/swift-system.git
[1/6677] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.13s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.67s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.45.0 (0.66s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.2 (0.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (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.34s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.3 (1.02s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
[1/1914] Fetching swift-asn1
[1188/4725] Fetching swift-asn1, swift-service-lifecycle
[4726/5954] Fetching swift-asn1, swift-service-lifecycle, swift-http-types
[5906/12609] Fetching swift-asn1, swift-service-lifecycle, swift-http-types, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.62s)
[8718/11380] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.62s)
[6871/9466] Fetching swift-service-lifecycle, swift-async-algorithms
[9467/16917] Fetching swift-service-lifecycle, swift-async-algorithms, swift-certificates
[16918/18170] Fetching swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.93s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.93s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.93s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.93s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (1.17s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.27s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.6.0 (0.23s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.1 (0.25s)
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.23s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.4 (0.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.1 (0.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.0 (0.26s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.4.2 (0.21s)
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/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.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.5
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.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.45.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.2.3
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.4
Creating working copy for https://github.com/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at main (ba00e8b)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.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.6.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.6.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.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.4.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.101.3
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.2
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-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.4.1
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.34.3
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.3
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.4.2
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.0
Creating working copy for https://github.com/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.36.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 0.9.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/489] Write sources
[19/489] Compiling forkunsafe.cc
[19/489] Copying t5_tokenizer_config.json
[19/489] Compiling getentropy.cc
[19/489] Copying gpt2_tokenizer_config.json
[19/489] Write sources
[19/489] Compiling blake2.cc
[20/489] Compiling printf.cc
[27/489] Compiling pair.cc
[28/489] Compiling _AtomicsShims.c
[29/489] Compiling CXGrammar xgrammar_c_bridge.cpp
[30/489] Write swift-version-24593BA9C3E375BF.txt
[31/489] Compiling recursion_guard.cc
[32/493] Compiling logging.cc
[34/495] 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
[34/495] Compiling suffix_automata.cc
[35/503] Compiling regex_converter.cc
[36/503] Compiling testing.cc
[37/503] Compiling tokenizer_info.cc
[39/503] 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
[40/504] 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
[41/504] 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
[43/504] 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
[44/504] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/505] Compiling CoreAIShared FunctionMap.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[47/505] Compiling CoreAIShared BundleKind.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[48/505] Emitting module CoreAIShared
<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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[49/505] Compiling CoreAIShared ModelBundle.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[50/506] Compiling CoreAIShared CGImageUtils.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[50/506] Wrapping AST for _NIOBase64 for debugging
[52/506] Compiling CoreAIShared NDArray+Helpers.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[52/506] Wrapping AST for _NIODataStructures for debugging
[54/506] Compiling CoreAIShared ImagePreprocessor.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[55/506] Compiling CoreAIShared ModelStructure.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[56/506] Compiling CoreAIShared Logger.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
/host/spi-builder-workspace/swift/Sources/CoreAIShared/Image/CGImageUtils.swift:6:8: error: no such module 'Accelerate'
 4 | // be found in the LICENSE file or at https://opensource.org/licenses/BSD-3-Clause
 5 |
 6 | import Accelerate
   |        `- error: no such module 'Accelerate'
 7 | import CoreGraphics
 8 | import Foundation
[56/506] Compiling json_schema_converter.cc
[56/506] Compiling grammar_printer.cc
[56/506] Compiling grammar_parser.cc
[56/506] Compiling lark_converter.cc
[56/506] Compiling yyjson.c
[56/506] Compiling json_schema_converter_ext.cc
[56/506] Compiling structural_tag.cc
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
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/455] 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:71:46: error: no template named 'shared_future' in namespace 'std'; did you mean 'shared_ptr'?
   71 |   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:160:20: error: no member named 'thread' in namespace 'std'; did you mean 'fread'?
  160 |   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:160:15: error: template argument for template type parameter must be a type
  160 |   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:164:8: error: no type named 'mutex' in namespace 'std'
  164 |   std::mutex queue_mutex_;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:166:8: error: no type named 'condition_variable' in namespace 'std'
  166 |   std::condition_variable queue_condition_;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:168:8: error: no type named 'condition_variable' in namespace 'std'
  168 |   std::condition_variable tasks_done_condition_;
      |   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:36:40: error: no member named 'thread' in namespace 'std'
   36 |   ThreadPool(size_t num_threads = std::thread::hardware_concurrency()) {
      |                                   ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:44:18: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
   44 |             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:44:35: error: no member named 'mutex' in namespace 'std'
   44 |             std::unique_lock<std::mutex> lock(queue_mutex_);
      |                              ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:45:35: error: use of undeclared identifier 'lock'; did you mean 'clock'?
   45 |             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:75:39: error: no member named 'packaged_task' in namespace 'std'
   75 |     auto task = std::make_shared<std::packaged_task<return_type()>>(
      |                                  ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:79:10: error: no template named 'shared_future' in namespace 'std'; did you mean 'shared_ptr'?
   79 |     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:82:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
   82 |       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:82:29: error: no member named 'mutex' in namespace 'std'
   82 |       std::unique_lock<std::mutex> lock(queue_mutex_);
      |                        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:104:12: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  104 |       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:104:29: error: no member named 'mutex' in namespace 'std'
  104 |       std::unique_lock<std::mutex> lock(queue_mutex_);
      |                        ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:115:10: error: no template named 'unique_lock' in namespace 'std'; did you mean 'unique_copy'?
  115 |     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:115:27: error: no member named 'mutex' in namespace 'std'
  115 |     std::unique_lock<std::mutex> lock(queue_mutex_);
      |                      ~~~~~^
/host/spi-builder-workspace/.build/checkouts/xgrammar/cpp/support/thread_pool.h:116:32: error: use of undeclared identifier 'lock'; did you mean 'clock'?
  116 |     tasks_done_condition_.wait(lock, [this] { return unfinished_task_count_ == 0; });
      |                                ^~~~
      |                                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);
      |         ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[3/455] Compiling grammar_matcher.cc
[3/455] Compiling grammar_parser.cc
[3/455] Compiling structural_tag.cc
[3/455] Compiling lark_converter.cc
[3/455] Compiling json_schema_converter.cc
[3/455] Compiling json_schema_converter_ext.cc
[3/455] Compiling yyjson.c
[3/455] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm