The Swift Package Index logo.Swift Package Index

Build Information

Successful build of xgrammar, reference v0.2.9 (8f9a12), with Swift 6.3 for Linux on 10 Nov 2026 12:33:42 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mlc-ai/xgrammar.git
Reference: v0.2.9
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/mlc-ai/xgrammar
 * tag               v0.2.9     -> FETCH_HEAD
HEAD is now at 8f9a127 fix: preserve forbidden bytes across counted repeat lowering (#949)
Submodule path '3rdparty/cpptrace': checked out '6689d14c203eed390ae7bb64f56a983cfd7dff9c'
Submodule path '3rdparty/dlpack': checked out 'bbd2f4d32427e548797929af08cfe2a9cbb3cf12'
Submodule path '3rdparty/googletest': checked out 'df1544bcee0c7ce35cd5ea0b3eb8cc81855a4140'
Submodule '3rdparty/cpptrace' (https://github.com/jeremy-rifkin/cpptrace.git) registered for path '3rdparty/cpptrace'
Submodule '3rdparty/dlpack' (https://github.com/dmlc/dlpack.git) registered for path '3rdparty/dlpack'
Submodule '3rdparty/googletest' (https://github.com/google/googletest.git) registered for path '3rdparty/googletest'
Cloning into '/host/spi-builder-workspace/3rdparty/cpptrace'...
Cloning into '/host/spi-builder-workspace/3rdparty/dlpack'...
Cloning into '/host/spi-builder-workspace/3rdparty/googletest'...
Cloned https://github.com/mlc-ai/xgrammar.git
Revision (git rev-parse @):
8f9a1279fdbed47739bd75b4099d1d059a1ce3e0
SUCCESS checkout https://github.com/mlc-ai/xgrammar.git at v0.2.9
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/mlc-ai/xgrammar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:373570f5b719b68496db1fa0ed2fb2eaf9a67dca22545afb5da6d608a6df9e3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Building for debugging...
[0/29] Compiling config.cc
[1/29] Compiling deepseek.cc
[2/29] Compiling tokenizer_info.cc
[3/29] Compiling recursion_guard.cc
[4/29] Compiling logging.cc
[5/29] Compiling grammar_parser.cc
[6/29] Compiling testing.cc
[7/29] Compiling gemma.cc
[8/29] Compiling cohere.cc
[9/29] Compiling regex_converter.cc
[10/29] Compiling suffix_automata.cc
[11/29] Compiling grammar_functor.cc
In file included from /host/spi-builder-workspace/cpp/grammar_matcher.cc:26:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |                           ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
  555 |       template<typename _CallArgs>
      |       ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:228:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18)>' requested here
  228 |     pool.Execute([f, start, end]() {
      |          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
In file included from /host/spi-builder-workspace/cpp/grammar_matcher.cc:26:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
  586 |                typename _Result = _Res_type<tuple<_Args...>>>
      |                                   ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:228:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18)>' requested here
  228 |     pool.Execute([f, start, end]() {
      |          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
In file included from /host/spi-builder-workspace/cpp/grammar_matcher.cc:26:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |                           ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
  555 |       template<typename _CallArgs>
      |       ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:21: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29)>' requested here
 2790 |       thread_pool_->Execute([fill_next_token_mask, i]() { fill_next_token_mask(i); });
      |                     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
In file included from /host/spi-builder-workspace/cpp/grammar_matcher.cc:26:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
  586 |                typename _Result = _Res_type<tuple<_Args...>>>
      |                                   ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:21: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29)>' requested here
 2790 |       thread_pool_->Execute([fill_next_token_mask, i]() { fill_next_token_mask(i); });
      |                     ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_matcher.cc:2790:29) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
4 warnings generated.
[12/29] Compiling grammar_matcher.cc
[13/29] Compiling grammar_printer.cc
[14/29] Compiling grammar_builder.cc
[15/29] Compiling lark_converter.cc
[16/29] Compiling grammar.cc
[17/29] Compiling fsm_builder.cc
[18/29] Compiling earley_parser.cc
[19/29] Compiling qwen.cc
[20/29] Compiling fsm.cc
In file included from /host/spi-builder-workspace/cpp/grammar_compiler.cc:22:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |                           ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
  555 |       template<typename _CallArgs>
      |       ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:228:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18)>' requested here
  228 |     pool.Execute([f, start, end]() {
      |          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
In file included from /host/spi-builder-workspace/cpp/grammar_compiler.cc:22:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
  586 |                typename _Result = _Res_type<tuple<_Args...>>>
      |                                   ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:228:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18)>' requested here
  228 |     pool.Execute([f, start, end]() {
      |          ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/support/thread_pool.h:228:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
In file included from /host/spi-builder-workspace/cpp/grammar_compiler.cc:22:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |                           ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
  555 |       template<typename _CallArgs>
      |       ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:20: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28)>' requested here
 1250 |       thread_pool->Execute([add_adaptive_token_mask, state, is_root_rule]() {
      |                    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
In file included from /host/spi-builder-workspace/cpp/grammar_compiler.cc:22:
In file included from /host/spi-builder-workspace/cpp/compiled_grammar_impl.h:20:
In file included from /host/spi-builder-workspace/cpp/earley_parser.h:19:
In file included from /host/spi-builder-workspace/cpp/grammar_impl.h:17:
In file included from /host/spi-builder-workspace/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/cpp/support/utils.h:11:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
  556 |         using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
  586 |                typename _Result = _Res_type<tuple<_Args...>>>
      |                                   ^
/host/spi-builder-workspace/cpp/support/thread_pool.h:117:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28) ()>' requested here
  117 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:20: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28)>' requested here
 1250 |       thread_pool->Execute([add_adaptive_token_mask, state, is_root_rule]() {
      |                    ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/cpp/grammar_compiler.cc:1250:28) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
  122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
      |                                             ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
   98 |   __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
      |                   ^
4 warnings generated.
[21/29] Compiling grammar_compiler.cc
[22/29] Compiling glm.cc
[23/29] Compiling json_schema_converter.cc
[24/29] Compiling kimi_k3.cc
[25/29] Compiling structural_tag.cc
[26/29] Compiling minimax.cc
[27/29] Compiling minimax_m3.cc
[28/29] Compiling compiled_grammar.cc
Build complete! (19.70s)
Build complete.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "xgrammar",
  "name" : "xgrammar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    }
  ],
  "products" : [
    {
      "name" : "XGrammar",
      "targets" : [
        "XGrammar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XGrammar",
      "module_type" : "ClangTarget",
      "name" : "XGrammar",
      "path" : ".",
      "product_memberships" : [
        "XGrammar"
      ],
      "sources" : [
        "cpp/compiled_grammar.cc",
        "cpp/config.cc",
        "cpp/converter_ext/cohere.cc",
        "cpp/converter_ext/deepseek.cc",
        "cpp/converter_ext/gemma.cc",
        "cpp/converter_ext/glm.cc",
        "cpp/converter_ext/kimi_k3.cc",
        "cpp/converter_ext/minimax.cc",
        "cpp/converter_ext/minimax_m3.cc",
        "cpp/converter_ext/qwen.cc",
        "cpp/earley_parser.cc",
        "cpp/fsm.cc",
        "cpp/fsm_builder.cc",
        "cpp/grammar.cc",
        "cpp/grammar_builder.cc",
        "cpp/grammar_compiler.cc",
        "cpp/grammar_functor.cc",
        "cpp/grammar_matcher.cc",
        "cpp/grammar_parser.cc",
        "cpp/grammar_printer.cc",
        "cpp/json_schema_converter.cc",
        "cpp/lark_converter.cc",
        "cpp/regex_converter.cc",
        "cpp/structural_tag.cc",
        "cpp/suffix_automata.cc",
        "cpp/support/logging.cc",
        "cpp/support/recursion_guard.cc",
        "cpp/testing.cc",
        "cpp/tokenizer_info.cc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:373570f5b719b68496db1fa0ed2fb2eaf9a67dca22545afb5da6d608a6df9e3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Done.