The Swift Package Index logo.Swift Package Index

Build Information

Failed to build coreai-kit, reference 0.7.3 (f32626), with Swift 6.2 for Linux on 29 Sep 2026 21:49:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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.2
Building package at path:  $PWD
https://github.com/john-rocky/coreai-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:813c8e8a77634154d7d247705cb89167ff1c866446abbe321f542129dc4cf5a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/john-rocky/coreai-models
Fetching https://github.com/huggingface/swift-transformers
[1/7056] Fetching swift-transformers
[2/9829] Fetching swift-transformers, swift-huggingface
[6232/12857] Fetching swift-transformers, swift-huggingface, coreai-models
Fetched https://github.com/huggingface/swift-transformers from cache (0.76s)
[4136/5801] Fetching swift-huggingface, coreai-models
Fetched https://github.com/huggingface/swift-huggingface.git from cache (0.92s)
Fetched https://github.com/john-rocky/coreai-models from cache (0.93s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.11.0 (1.10s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
[304/18875] Fetching eventsource, swift-crypto
Fetched https://github.com/mattt/EventSource.git from cache (0.41s)
[186/18572] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.21s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (1.36s)
Computing version for https://github.com/huggingface/swift-transformers
Computed https://github.com/huggingface/swift-transformers at 1.3.4 (0.16s)
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
[1/27845] Fetching swift-collections
[5849/32831] Fetching swift-collections, yyjson
[32832/34207] Fetching swift-collections, yyjson, swift-jinja
Fetched https://github.com/ibireme/yyjson.git from cache (1.51s)
[27859/29221] Fetching swift-collections, swift-jinja
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
[42/1376] Fetching swift-jinja
Fetched https://github.com/huggingface/swift-jinja.git from cache (1.58s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (2.55s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.24s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (1.31s)
Fetching https://github.com/apple/swift-asn1.git
[1/1986] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.73s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.92s)
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.81s)
Computing version for https://github.com/mlc-ai/xgrammar
Computed https://github.com/mlc-ai/xgrammar at 0.2.2 (2.98s)
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-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.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
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/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-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
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
Building for debugging...
[0/445] Write sources
[13/445] Copying t5_tokenizer_config.json
[14/445] Copying gpt2_tokenizer_config.json
[15/445] Copying parakeet_mel_filters_128x257.f32
[16/445] Copying mel_filters.f32
[17/445] Copying g4msl
[18/445] Compiling bn-586-linux.S
[19/445] Write swift-version-24593BA9C3E375BF.txt
[20/445] Compiling x509_obj.cc
[21/445] Compiling x509_set.cc
[22/445] Compiling x509_req.cc
[23/445] Compiling x509_trs.cc
[24/445] Compiling recursion_guard.cc
[25/445] Compiling logging.cc
[26/445] Compiling yyjson.c
[27/445] Compiling regex_converter.cc
[28/445] Compiling testing.cc
[29/445] Compiling json_schema_converter_ext.cc
[30/445] Compiling grammar_printer.cc
[31/445] Compiling tokenizer_info.cc
[32/445] Compiling grammar_parser.cc
[33/445] Compiling grammar_builder.cc
[34/445] Compiling grammar_matcher.cc
[35/445] Compiling json_schema_converter.cc
[36/445] Compiling grammar_functor.cc
[37/445] Compiling grammar.cc
[37/445] Write sources
[46/445] Compiling CXKCPShims shims.c
[47/473] Compiling fsm_builder.cc
[48/473] Compiling config.cc
[49/493] Compiling grammar_compiler.cc
[50/493] Compiling SimpleFIPS202.c
[51/493] Compiling KeccakSponge.c
[52/493] Compiling earley_parser.cc
[53/493] Compiling KeccakP-1600-opt64.c
[54/493] Compiling KeccakHash.c
[56/493] Emitting module InternalCollectionsUtilities
/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.
[56/496] Compiling CXGrammar xgrammar_c_bridge.cpp
[56/496] Compiling CCryptoBoringSSLShims shims.c
[56/496] Compiling fsm.cc
[56/496] Compiling compiled_grammar.cc
[56/496] Compiling structural_tag.cc
BUILD FAILURE 6.2 linux