Build Information
Failed to build coreai-kit, reference 0.7.3 (f32626), with Swift 6.3 for Linux on 29 Sep 2026 21:48:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:basic-6.3-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.3
Building package at path: $PWD
https://github.com/john-rocky/coreai-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c577f8f8f4df4f423827bf5e7d96027716bb7030ef75b2fd4a15f7fb0043ce6d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.3-latest
Fetching https://github.com/huggingface/swift-transformers
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/john-rocky/coreai-models
[1/7056] Fetching swift-transformers
[7057/10084] Fetching swift-transformers, coreai-models
Fetched https://github.com/huggingface/swift-transformers from cache (0.87s)
[61/3028] Fetching coreai-models
[1152/5801] Fetching coreai-models, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git from cache (1.09s)
Fetched https://github.com/john-rocky/coreai-models from cache (1.09s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (1.27s)
Fetching https://github.com/mattt/EventSource.git
Fetching https://github.com/apple/swift-crypto.git
[1/303] Fetching eventsource
[304/18875] Fetching eventsource, swift-crypto
Fetched https://github.com/mattt/EventSource.git from cache (1.23s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.24s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (1.40s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (0.17s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/huggingface/swift-jinja.git
[1/1376] Fetching swift-jinja
[1377/6362] Fetching swift-jinja, yyjson
[1378/34207] Fetching swift-jinja, yyjson, swift-collections
Fetched https://github.com/huggingface/swift-jinja.git from cache (0.95s)
Fetched https://github.com/ibireme/yyjson.git from cache (0.96s)
[17543/27845] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.23s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.12s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.94s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.47s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.66s)
Computing version for https://github.com/john-rocky/coreai-models
Computed https://github.com/john-rocky/coreai-models at 0.2.8-zoo (0.17s)
Fetching https://github.com/mlc-ai/xgrammar
[1/30488] Fetching xgrammar
Fetched https://github.com/mlc-ai/xgrammar from cache (2.26s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.2 (2.42s)
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/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.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/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/mlc-ai/xgrammar
Working copy of https://github.com/mlc-ai/xgrammar resolved at 0.2.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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.11.0
Building for debugging...
[0/445] Copying t5_tokenizer_config.json
[0/445] Copying gpt2_tokenizer_config.json
[2/445] Copying parakeet_mel_filters_128x257.f32
[2/445] Copying mel_filters.f32
[4/445] Copying g4msl
[5/445] Write sources
[7/445] Compiling logging.cc
[8/445] Compiling recursion_guard.cc
[9/445] Compiling regex_converter.cc
[10/445] Compiling yyjson.c
[11/445] Write swift-version-24593BA9C3E375BF.txt
[12/445] Compiling testing.cc
[13/445] Compiling json_schema_converter_ext.cc
[14/445] Compiling tokenizer_info.cc
[15/445] Compiling grammar_printer.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_functor.cc
[21/445] Compiling config.cc
[22/445] Write sources
[27/473] Compiling grammar.cc
[28/473] Write sources
[33/473] Compiling fsm_builder.cc
[34/473] Write sources
[37/493] Compiling earley_parser.cc
[38/493] Write sources
[44/493] Compiling structural_tag.cc
[45/493] Compiling CXKCPShims shims.c
[46/493] Compiling SimpleFIPS202.c
[47/493] Compiling KeccakSponge.c
[49/493] Emitting module InternalCollectionsUtilities
[49/496] Compiling KeccakHash.c
[50/496] Compiling grammar_compiler.cc
[51/496] Compiling KeccakP-1600-opt64.c
[52/496] Compiling fiat_p256_adx_sqr.S
[53/496] Compiling fiat_p256_adx_mul.S
[54/496] Compiling fiat_curve25519_adx_square.S
[55/496] Compiling fiat_curve25519_adx_mul.S
[56/496] Compiling CCryptoBoringSSLShims shims.c
[57/496] Compiling md5-x86_64-apple.S
[58/496] Compiling md5-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.
[59/496] Compiling CXGrammar xgrammar_c_bridge.cpp
[59/496] Compiling md5-586-linux.S
[59/496] Compiling md5-586-apple.S
[59/496] Compiling compiled_grammar.cc
[59/496] Compiling fsm.cc
BUILD FAILURE 6.3 linux