The Swift Package Index logo.Swift Package Index

Build Information

Successful build of XGrammar, reference 0.1.1 (8b2a4c), with Swift 6.4 for Linux on 26 Nov 2026 05:46:24 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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:linux-6.4-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/mattt/swift-xgrammar.git
Reference: 0.1.1
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/mattt/swift-xgrammar
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 8b2a4c6 Apply matching token masks to each Core ML batch row (#3)
Cloned https://github.com/mattt/swift-xgrammar.git
Revision (git rev-parse @):
8b2a4c69a695079bc3850f4d914fbf25b00cdfe5
SUCCESS checkout https://github.com/mattt/swift-xgrammar.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/mattt/swift-xgrammar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:24b3a70409a49491a0b3da00df2e0ea9248eeb65e7d70f4700c30d1c09457b82
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[29 / 48] Cxgrammar
[30 / 48] Cxgrammar
[31 / 48] Cxgrammar
[32 / 48] Cxgrammar
[34 / 48] Cxgrammar
[35 / 48] Cxgrammar
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |                           ^
/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>
      |       ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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/Sources/Cxgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |         ^
/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...>>>
      |                                   ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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/Sources/Cxgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |                           ^
/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>
      |       ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:21: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29)>' requested here
 1010 |       thread_pool_->Execute([fill_next_token_mask, i]() { fill_next_token_mask(i); });
      |                     ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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/Sources/Cxgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |         ^
/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...>>>
      |                                   ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:21: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29)>' requested here
 1010 |       thread_pool_->Execute([fill_next_token_mask, i]() { fill_next_token_mask(i); });
      |                     ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:1010:29) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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.
[37 / 48] Cxgrammar
[38 / 48] Cxgrammar
[39 / 48] Cxgrammar
[42 / 58] XGrammar
[44 / 58] Cxgrammar
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |                           ^
/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>
      |       ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:26:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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/Sources/Cxgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |         ^
/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...>>>
      |                                   ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:26:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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/Sources/Cxgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |                           ^
/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>
      |       ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:26:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:20: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28)>' requested here
  704 |       thread_pool->Execute([add_adaptive_token_mask, state, is_root_rule]() {
      |                    ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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/Sources/Cxgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/fsm.h:17:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
  552 |         using _Res_type_impl
      |         ^
/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...>;
      |         ^
/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...>>>
      |                                   ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:26:
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:20: note: in instantiation of function template specialization 'xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28)>' requested here
  704 |       thread_pool->Execute([add_adaptive_token_mask, state, is_root_rule]() {
      |                    ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:65:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/allocator.h:46:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++allocator.h:33:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/new_allocator.h:36:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/move.h:37:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:704:28) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Sources/Cxgrammar/include/xgrammar/object.h:10:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/memory:63:
In file included from /lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/memoryfwd.h:48:
/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)
      |                                             ^
/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.
[46 / 58] XGrammar
[47 / 58] XGrammar
[48 / 58] XGrammar
[50 / 58] XGrammar
[54 / 58] XGrammar
[55 / 58] XGrammar-product
[55 / 58] XGrammar
[58 / 59] XGrammar
Build complete! (12.92 secs)
Build complete.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "XGrammar",
  "name" : "XGrammar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "XGrammar",
      "targets" : [
        "XGrammar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XGrammarTests",
      "module_type" : "SwiftTarget",
      "name" : "XGrammarTests",
      "path" : "Tests/XGrammarTests",
      "sources" : [
        "CompilerTests.swift",
        "ConfigurationTests.swift",
        "ErrorTests.swift",
        "GrammarCompositionTests.swift",
        "GrammarTests.swift",
        "Helpers.swift",
        "JSONSchemaTests.swift",
        "MatcherTests.swift",
        "RegexGrammarTests.swift",
        "StructuralTagTests.swift",
        "TokenBitmaskTests.swift",
        "TokenizerInfoTests.swift"
      ],
      "target_dependencies" : [
        "XGrammar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XGrammar",
      "module_type" : "SwiftTarget",
      "name" : "XGrammar",
      "path" : "Sources/XGrammar",
      "product_memberships" : [
        "XGrammar"
      ],
      "sources" : [
        "Bridging.swift",
        "Compiler.swift",
        "Configuration.swift",
        "Errors.swift",
        "Formatting.swift",
        "Grammar.swift",
        "Matcher.swift",
        "TokenizerInfo.swift"
      ],
      "target_dependencies" : [
        "Cxgrammar"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cxgrammar",
      "module_type" : "ClangTarget",
      "name" : "Cxgrammar",
      "path" : "Sources/Cxgrammar",
      "product_memberships" : [
        "XGrammar"
      ],
      "sources" : [
        "bridging.cc",
        "cpp/compiled_grammar.cc",
        "cpp/config.cc",
        "cpp/earley_parser.cc",
        "cpp/fsm.cc",
        "cpp/fsm_builder.cc",
        "cpp/grammar.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/regex_converter.cc",
        "cpp/structural_tag.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.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:24b3a70409a49491a0b3da00df2e0ea9248eeb65e7d70f4700c30d1c09457b82
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.