Build Information
Failed to build coreai-kit, reference 0.7.3 (f32626), with Swift 6.1 for Linux on 29 Sep 2026 21:49:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-rocky/coreai-kit.git
Reference: 0.7.3
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-kit
* tag 0.7.3 -> FETCH_HEAD
HEAD is now at f326260 0.7.3: deploys to macOS 26 / iOS 26; Apple's foundation model as a decision backend; measured catalog sizes
Cloned https://github.com/john-rocky/coreai-kit.git
Revision (git rev-parse @):
f32626037741222c17042cd1bc0301185c077e8e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/john-rocky/coreai-kit.git at 0.7.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/john-rocky/coreai-kit.git
https://github.com/john-rocky/coreai-kit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/john-rocky/coreai-models
[1/7056] Fetching swift-transformers
[848/9829] Fetching swift-transformers, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.59s)
[2258/7056] Fetching swift-transformers
[7057/10084] Fetching swift-transformers, coreai-models
Fetched https://github.com/huggingface/swift-transformers from cache (0.71s)
[31/3028] Fetching coreai-models
Fetched https://github.com/john-rocky/coreai-models from cache (0.99s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (1.24s)
Fetching https://github.com/huggingface/swift-xet.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
[271/629] Fetching eventsource, swift-xet
Fetched https://github.com/mattt/EventSource.git from cache (0.39s)
[134/326] Fetching swift-xet
[327/18898] Fetching swift-xet, swift-crypto
Fetched https://github.com/huggingface/swift-xet.git from cache (1.37s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.39s)
Computing version for https://github.com/huggingface/swift-xet.git
Computed https://github.com/huggingface/swift-xet.git at 0.3.1 (1.63s)
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/2867] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.57s)
[1/16398] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client from cache (0.99s)
[1/86206] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.45s)
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 (3.69s)
Fetching https://github.com/apple/swift-atomics.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.72s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.22s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (0.23s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
[1/4986] Fetching yyjson
[2/32831] Fetching yyjson, swift-collections
[4557/34207] Fetching yyjson, swift-collections, swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.48s)
Fetched https://github.com/ibireme/yyjson.git from cache (1.49s)
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.57s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.21s)
Computing version for https://github.com/swift-server/async-http-client
Computed https://github.com/swift-server/async-http-client at 1.36.2 (0.25s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6426] Fetching swift-distributed-tracing
[66/14591] Fetching swift-distributed-tracing, swift-log
[6022/20750] Fetching swift-distributed-tracing, swift-log, swift-algorithms
[15393/33005] Fetching swift-distributed-tracing, swift-log, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
[14546/24840] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.61s)
[9123/18681] Fetching swift-distributed-tracing, swift-nio-http2
[9246/25374] Fetching swift-distributed-tracing, swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.77s)
[1/16863] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.82s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.82s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.83s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.17s)
Fetching https://github.com/apple/swift-numerics.git
[1/6651] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.67s)
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.91s)
Fetching https://github.com/apple/swift-service-context.git
[1/1405] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (1.00s)
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.28s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.45s)
Fetching https://github.com/apple/swift-system.git
[1/6986] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.73s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.36s)
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.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.59s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (1.71s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[20/1986] Fetching swift-asn1
[1034/4835] Fetching swift-asn1, swift-service-lifecycle
[4466/6774] Fetching swift-asn1, swift-service-lifecycle, swift-http-types
[6233/8027] Fetching swift-asn1, swift-service-lifecycle, swift-http-types, swift-http-structured-headers
[7615/15625] Fetching swift-asn1, swift-service-lifecycle, swift-http-types, swift-http-structured-headers, swift-certificates
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.67s)
[5710/12776] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.70s)
[5215/10837] Fetching swift-asn1, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.86s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.87s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.87s)
[1/6791] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.67s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (1.79s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.6 (0.51s)
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.45s)
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.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.45s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.42s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.46s)
Computing version for https://github.com/john-rocky/coreai-models
Computed https://github.com/john-rocky/coreai-models at 0.2.8-zoo (0.54s)
Fetching https://github.com/mlc-ai/xgrammar
[1/30488] Fetching xgrammar
Fetched https://github.com/mlc-ai/xgrammar from cache (3.04s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.2 (3.53s)
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/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-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-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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.1
Creating working copy for https://github.com/apple/swift-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-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/john-rocky/coreai-models
Working copy of https://github.com/john-rocky/coreai-models resolved at 0.2.8-zoo
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/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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.6
Creating working copy for https://github.com/huggingface/swift-transformers
Working copy of https://github.com/huggingface/swift-transformers resolved at 1.3.4
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.11.0
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/swift-server/async-http-client
Working copy of https://github.com/swift-server/async-http-client resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.0
Creating working copy for https://github.com/huggingface/swift-xet.git
Working copy of https://github.com/huggingface/swift-xet.git resolved at 0.3.1
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at 0.2.2
Building for debugging...
[0/445] Write sources
[2/445] Copying gpt2_tokenizer_config.json
[2/445] Copying t5_tokenizer_config.json
[4/445] Copying mel_filters.f32
[4/445] Copying parakeet_mel_filters_128x257.f32
[6/445] Copying g4msl
[7/445] Compiling logging.cc
[8/445] Compiling recursion_guard.cc
[9/445] Compiling regex_converter.cc
[10/445] Compiling yyjson.c
[10/445] Write swift-version-24593BA9C3E375BF.txt
[12/445] Compiling testing.cc
[13/445] Compiling grammar_printer.cc
[14/445] Compiling json_schema_converter_ext.cc
[15/445] Compiling tokenizer_info.cc
[16/445] Compiling grammar_parser.cc
[17/445] Compiling grammar_builder.cc
[18/445] Compiling grammar_matcher.cc
[19/445] Compiling json_schema_converter.cc
[20/445] Compiling grammar.cc
[21/445] Compiling grammar_functor.cc
[22/445] Write sources
[41/445] Compiling CXKCPShims shims.c
[42/445] Compiling config.cc
[43/468] Compiling grammar_compiler.cc
[44/483] Compiling fsm_builder.cc
[45/483] Compiling SimpleFIPS202.c
[46/483] Compiling KeccakSponge.c
[48/483] Emitting module InternalCollectionsUtilities
<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
[48/485] Compiling earley_parser.cc
[49/485] Compiling KeccakP-1600-opt64.c
[50/485] Compiling KeccakHash.c
[51/485] Compiling CCryptoBoringSSLShims shims.c
[52/485] Compiling structural_tag.cc
[53/485] Compiling fiat_p256_adx_sqr.S
/host/spi-builder-workspace/.build/checkouts/coreai-models/swift/Sources/lib/CXGrammar/xgrammar_c_bridge.cpp:242:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
242 | memcpy(buf, result.c_str(), result.size() + 1);
| ^~~~~~
| wmemcpy
/usr/include/wchar.h:263:17: note: 'wmemcpy' declared here
263 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
| ^
/host/spi-builder-workspace/.build/checkouts/coreai-models/swift/Sources/lib/CXGrammar/xgrammar_c_bridge.cpp:242:16: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *'
242 | memcpy(buf, result.c_str(), result.size() + 1);
| ^~~
/usr/include/wchar.h:263:46: note: passing argument to parameter '__s1' here
263 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
| ^
2 errors generated.
[54/485] Compiling CXGrammar xgrammar_c_bridge.cpp
<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
<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
<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
[54/485] Compiling fiat_curve25519_adx_square.S
[54/485] Compiling fiat_p256_adx_mul.S
[54/485] Compiling compiled_grammar.cc
[54/485] Compiling fsm.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-3":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:bebe373f64586285d153a73cebf57004d534988a7110464fd581e50dd24c756b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/393] Compiling fiat_p256_adx_mul.S
[1/393] Compiling fiat_curve25519_adx_mul.S
[1/393] Compiling fiat_curve25519_adx_square.S
[3/393] Compiling md5-x86_64-linux.S
[3/393] Compiling md5-x86_64-apple.S
[5/393] Compiling md5-586-linux.S
[6/393] Compiling md5-586-apple.S
[7/393] Compiling chacha20_poly1305_x86_64-apple.S
[8/393] Compiling chacha20_poly1305_x86_64-linux.S
[8/393] Compiling chacha20_poly1305_armv8-win.S
[10/393] Compiling chacha20_poly1305_armv8-apple.S
[11/393] Compiling chacha20_poly1305_armv8-linux.S
[12/393] Compiling chacha-x86_64-linux.S
[13/393] Compiling chacha-x86_64-apple.S
[14/393] Compiling chacha-x86-linux.S
[15/393] Compiling chacha-x86-apple.S
[16/393] Compiling chacha-armv8-win.S
[17/393] Compiling chacha-armv8-linux.S
[18/393] Compiling err_data.cc
[19/393] Write swift-version-24593BA9C3E375BF.txt
[20/393] Compiling chacha-armv8-apple.S
[21/393] Compiling chacha-armv4-linux.S
[22/393] Compiling aes128gcmsiv-x86_64-linux.S
[23/393] Compiling aes128gcmsiv-x86_64-apple.S
[24/393] Compiling x86_64-mont5-apple.S
[25/393] Compiling x86_64-mont5-linux.S
[26/393] Compiling x86_64-mont-linux.S
[27/393] Compiling x86_64-mont-apple.S
[28/401] Compiling x86-mont-linux.S
[29/416] Compiling x86-mont-apple.S
[30/431] Compiling vpaes-x86_64-linux.S
/host/spi-builder-workspace/.build/checkouts/coreai-models/swift/Sources/lib/CXGrammar/xgrammar_c_bridge.cpp:242:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
242 | memcpy(buf, result.c_str(), result.size() + 1);
| ^~~~~~
| wmemcpy
/usr/include/wchar.h:263:17: note: 'wmemcpy' declared here
263 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
| ^
/host/spi-builder-workspace/.build/checkouts/coreai-models/swift/Sources/lib/CXGrammar/xgrammar_c_bridge.cpp:242:16: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *'
242 | memcpy(buf, result.c_str(), result.size() + 1);
| ^~~
/usr/include/wchar.h:263:46: note: passing argument to parameter '__s1' here
263 | extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
| ^
2 errors generated.
[31/431] Compiling CXGrammar xgrammar_c_bridge.cpp
[31/431] Compiling vpaes-x86_64-apple.S
[31/431] Compiling fsm.cc
[31/431] Compiling vpaes-x86-linux.S
[31/431] Compiling compiled_grammar.cc
BUILD FAILURE 6.1 linux