The Swift Package Index logo.Swift Package Index

Build Information

Failed to build mlx-swift-lm, reference main (fd0f13), with Swift 6.4 for Linux on 16 Oct 2026 02:50:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewster99/mlx-swift-lm.git
Reference: main
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/drewster99/mlx-swift-lm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fd0f13b add TurboQuant KV cache compression (#232)
Cloned https://github.com/drewster99/mlx-swift-lm.git
Revision (git rev-parse @):
fd0f13bcab1f8af78a57f91fbf250a7dfde74c9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/drewster99/mlx-swift-lm.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/drewster99/mlx-swift-lm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/ml-explore/mlx-swift
Fetching https://github.com/swiftlang/swift-syntax.git
[1/17176] Fetching mlx-swift
[17177/97953] Fetching mlx-swift, swift-syntax
Fetched https://github.com/ml-explore/mlx-swift (3.33s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.34s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (3.56s)
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6756] Fetching swift-numerics
[3177/25870] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics (0.81s)
Fetched https://github.com/apple/swift-argument-parser (0.81s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.79s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Libraries/MLXFoundationModels/README.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Libraries/MLXGuidedGeneration/README.md
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1001]
[Planning deferred tasks]
[Starting]
[10 / 666]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gemv.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal' of type 'sourcecode.metal' for architecture 'x86_64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal' of type 'sourcecode.metal' for architecture 'x86_64'
[156 / 682] _NumericsShims
[159 / 682] MLXCXGrammar
[164 / 682] ArgumentParserToolInfo
[174 / 682] MLXCXGrammar
[175 / 682] MLXCXGrammar
[176 / 682] MLXCXGrammar
[177 / 682] MLXCXGrammar
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:1010:21: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:20:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:1010:21: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/matcher.h:11:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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)
      |                                             ^
[0[180 / 682] MLXCXGrammar
m/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.
[181 / 682] MLXCXGrammar
[181 / 682] _NumericsShims
[182 / 682] RealModule
[183 / 682] MLXCXGrammar
[186 / 682] RealModule
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:10: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18)>' requested here
  192 |     pool.Execute([f, start, end]() {
      |          ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053: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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:20: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28)>' requested here
 1053 |       thread_pool->Execute([add_adaptive_token_mask, state, is_root_rule]() {
      |                    ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:19:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/compiled_grammar_impl.h:18:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/earley_parser.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_impl.h:16:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/fsm.h:25:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/utils.h:11:
/lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053: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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:27:
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:109:27: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) ()>' requested here
  109 |       task_queue_.emplace(std::bind(std::forward<F>(f), std::forward<Args>(args)...));
      |                           ^
/host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:20: note: in instantiation of function template specialization 'mlx_xgrammar::ThreadPool::Execute<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28)>' requested here
 1053 |       thread_pool->Execute([add_adaptive_token_mask, state, is_root_rule]() {
      |                    ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) &()>' has been explicitly marked deprecated here
 2590 |     { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
      |         ^
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:6:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/compiler.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/include/xgrammar/grammar.h:10:
In file included from /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/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.
[187 / 682] RealModule
[188 / 682] RealModule
[189 / 682] RealModule
[194 / 684] ComplexModule
[199 / 693] ComplexModule
[203 / 693] ComplexModule
[215 / 696] Numerics
[230 / 708] Numerics-product
[238 / 710] ArgumentParserToolInfo
[240 / 710] ArgumentParser
[241 / 710]
[249 / 717] encuda-product
[251 / 717] encuda-product
[253 / 717] encuda-product
[255 / 717]
[255 / 717] ArgumentParser
[255 / 717] encuda-product
[258 / 718] ArgumentParser
[262 / 719] encuda-product
[274 / 729] MLX
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp:3:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.h:5:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/event.h:6:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/utils.h:8:
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/allocator.h:7:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:5:10: fatal error: 'cublasLt.h' file not found
    5 | #include <cublasLt.h>
      |          ^~~~~~~~~~~~
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.o /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp

    /usr/bin/clang -x c++ -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -w -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Wno-infinite-recursion -Wno-move -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-range-loop-analysis -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/11b881b950eb02e21769317df93e9b41d1d7f0348e4e0901ae810dce93ca1a57-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.dia -c /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/mlx-swift.build/Debug-linux-x86_64/Cmlx-t.build/Objects-normal/x86_64/worker.o
error: Build failed
BUILD FAILURE 6.4 linux