Build Information
Failed to build mlx-swift-lm, reference main (fd0f13), with Swift 6.3 for Linux on 16 Oct 2026 02:50:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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.3
Building package at path: $PWD
https://github.com/drewster99/mlx-swift-lm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:1b75f3338690e1611bd07d393b988f1cb6c72bd2655b61306c710afc67bb9c44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-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 from cache (1.28s)
[808/80777] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.56s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (3.76s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
[6757/25870] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (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.77s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.12s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
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
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/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.19s)
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/11] Emitting module ArgumentParserToolInfo
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Compiling ArgumentParser ParentCommand.swift
[10/59] Compiling ArgumentParser AsyncParsableCommand.swift
[11/59] Compiling ArgumentParser CommandConfiguration.swift
[12/59] Compiling ArgumentParser CommandGroup.swift
[13/59] Compiling ArgumentParser EnumerableFlag.swift
[14/59] Compiling ArgumentParser ExpressibleByArgument.swift
[15/59] Compiling ArgumentParser ParsableArguments.swift
[16/65] Emitting module ArgumentParser
[17/65] Compiling ArgumentParser ArgumentVisibility.swift
[18/65] Compiling ArgumentParser CompletionKind.swift
[19/65] Compiling ArgumentParser Errors.swift
[20/65] Compiling ArgumentParser Flag.swift
[21/65] Compiling ArgumentParser NameSpecification.swift
[22/65] Compiling ArgumentParser Option.swift
[23/65] Compiling ArgumentParser OptionGroup.swift
[24/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[25/65] Compiling ArgumentParser CodingKeyValidator.swift
[26/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[27/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[28/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[29/65] Compiling ArgumentParser UniqueNamesValidator.swift
[30/65] Compiling ArgumentParser Name.swift
[31/65] Compiling ArgumentParser Parsed.swift
[32/65] Compiling ArgumentParser ParsedValues.swift
[33/65] Compiling ArgumentParser ParserError.swift
[34/65] Compiling ArgumentParser SplitArguments.swift
[35/65] Compiling ArgumentParser DumpHelpGenerator.swift
[36/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[37/65] Compiling ArgumentParser CompletionsGenerator.swift
[38/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[40/65] Compiling ArgumentParser Argument.swift
[41/65] Compiling ArgumentParser ArgumentDiscussion.swift
[42/65] Compiling ArgumentParser ArgumentHelp.swift
[43/65] Compiling ArgumentParser Mutex.swift
[44/65] Compiling ArgumentParser Platform.swift
[45/65] Compiling ArgumentParser SequenceExtensions.swift
[46/65] Compiling ArgumentParser StringExtensions.swift
[47/65] Compiling ArgumentParser SwiftExtensions.swift
[48/65] Compiling ArgumentParser Tree.swift
[49/65] Compiling ArgumentParser HelpCommand.swift
[50/65] Compiling ArgumentParser HelpGenerator.swift
[51/65] Compiling ArgumentParser MessageInfo.swift
[52/65] Compiling ArgumentParser UsageGenerator.swift
[53/65] Compiling ArgumentParser CollectionExtensions.swift
[54/65] Compiling ArgumentParser Foundation.swift
[55/65] Compiling ArgumentParser ParsableCommand.swift
[56/65] Compiling ArgumentParser ArgumentDecoder.swift
[57/65] Compiling ArgumentParser ArgumentDefinition.swift
[58/65] Compiling ArgumentParser ArgumentSet.swift
[59/65] Compiling ArgumentParser CommandParser.swift
[60/65] Compiling ArgumentParser InputKey.swift
[61/65] Compiling ArgumentParser InputOrigin.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Compiling encuda encuda.swift
[65/72] Compiling encuda encuda-utils.swift
[66/72] Compiling encuda encuda-compile.swift
[67/72] Compiling encuda encuda-link.swift
[68/72] Compiling encuda encuda-error.swift
[69/72] Emitting module encuda
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
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
[1/1] Compiling plugin CudaBuild
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/805] Write sources
[6/805] Compiling _NumericsShims _NumericsShims.c
[7/805] Write sources
[8/805] Compiling _NumericsShims _NumericsShims.c
[9/805] Write sources
[28/805] Write swift-version-24593BA9C3E375BF.txt
[29/805] Compiling recursion_guard.cc
[31/816] Compiling RealModule ElementaryFunctions.swift
[32/816] Compiling RealModule Float+Real.swift
[33/817] Emitting module RealModule
[34/817] Compiling RealModule Float80+Real.swift
[35/817] Compiling RealModule RealFunctions.swift
[36/817] Compiling RealModule Real.swift
[37/817] Compiling RealModule Float16+Real.swift
[38/817] Compiling RealModule AlgebraicField.swift
[39/817] Compiling RealModule ApproximateEquality.swift
[40/817] Compiling RealModule AugmentedArithmetic.swift
[41/817] Compiling RealModule Double+Real.swift
[42/817] Compiling RealModule RelaxedArithmetic.swift
[43/829] Compiling config.cc
[45/831] Compiling RealModule AugmentedArithmetic.swift
[46/831] Compiling RealModule Double+Real.swift
[47/832] Compiling RealModule ElementaryFunctions.swift
[48/832] Compiling RealModule Float+Real.swift
[49/832] Compiling RealModule RealFunctions.swift
[50/832] Compiling RealModule Float80+Real.swift
[51/832] Compiling RealModule Real.swift
[52/832] Compiling RealModule Float16+Real.swift
[53/832] Compiling RealModule RelaxedArithmetic.swift
[54/832] Emitting module RealModule
[55/832] Compiling RealModule AlgebraicField.swift
[56/832] Compiling RealModule ApproximateEquality.swift
[57/833] Emitting module MLXHuggingFaceMacros
[58/833] Compiling MLXHuggingFaceMacros HuggingFaceIntegrationMacros.swift
[60/834] Compiling testing.cc
[61/834] Wrapping AST for MLXHuggingFaceMacros for debugging
[62/834] Compiling logging.cc
[63/834] Write Objects.LinkFileList
[64/834] Compiling earley_parser.cc
[65/834] Compiling fsm_builder.cc
[66/834] Compiling tokenizer_info.cc
[67/834] Linking MLXHuggingFaceMacros-tool
[68/834] Compiling regex_converter.cc
[69/834] Compiling compiled_grammar.cc
[70/834] Compiling fsm.cc
[71/834] Compiling grammar_printer.cc
[72/834] Compiling MLXCXGrammar shim.cc
[73/834] Compiling json_schema_converter.cc
[74/834] Compiling grammar_parser.cc
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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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); });
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:1010:29) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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); });
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:1010:29) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
4 warnings generated.
[75/834] Compiling grammar_matcher.cc
[76/834] Compiling recursion_guard.cc
[77/834] Compiling structural_tag.cc
[78/834] Compiling logging.cc
[79/834] Compiling grammar.cc
[80/834] Compiling tokenizer_info.cc
[81/834] Compiling testing.cc
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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
4 warnings generated.
[82/834] Compiling grammar_compiler.cc
[83/834] Compiling regex_converter.cc
[84/834] Compiling grammar_printer.cc
[85/834] Compiling MLXCXGrammar grammar_functor_wrapper.cc
[86/834] Compiling json_schema_converter.cc
[87/834] Compiling grammar_parser.cc
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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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); });
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:1010:29) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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); });
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_matcher.cc:1010:29) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
4 warnings generated.
[88/834] Compiling grammar_matcher.cc
[89/834] Compiling grammar.cc
[90/834] Compiling structural_tag.cc
[91/834] Compiling fsm_builder.cc
[92/834] Write sources
[97/845] Compiling config.cc
[99/856] Compiling ComplexModule Complex+Numeric.swift
[100/857] Compiling ComplexModule Polar.swift
[101/857] Compiling ComplexModule Complex+Numeric.swift
[102/858] Compiling ComplexModule Complex+StringConvertible.swift
[103/858] Compiling ComplexModule Complex.swift
[104/858] Compiling ComplexModule Scale.swift
[105/858] Compiling ComplexModule Complex+Hashable.swift
[106/858] Compiling ComplexModule Complex+IntegerLiteral.swift
[108/858] Compiling MLXCXGrammar shim.cc
[110/858] Compiling ComplexModule Polar.swift
[111/858] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[112/858] Compiling ComplexModule Complex+AlgebraicField.swift
[113/858] Emitting module ComplexModule
[113/858] Compiling version.cpp
[115/858] Compiling ComplexModule Scale.swift
[116/858] Compiling ComplexModule Complex+Codable.swift
[117/858] Compiling ComplexModule Complex+ElementaryFunctions.swift
[118/859] Compiling ComplexModule Complex.swift
[119/859] Compiling ComplexModule Complex+StringConvertible.swift
[121/859] Emitting module ComplexModule
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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/support/thread_pool.h:192:18) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
In file included from /host/spi-builder-workspace/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:
/usr/bin/../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
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:2: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:586:28: note: in instantiation of template type alias '_Res_type' requested here
586 | typename _Result = _Res_type<tuple<_Args...>>>
| ^
/host/spi-builder-workspace/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]() {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<(lambda at /host/spi-builder-workspace/Libraries/MLXCXGrammar/xgrammar/cpp/grammar_compiler.cc:1053:28) &()>' has been explicitly marked deprecated here
2590 | { } _GLIBCXX17_DEPRECATED_SUGGEST("std::invoke_result");
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:122:45: note: expanded from macro '_GLIBCXX17_DEPRECATED_SUGGEST'
122 | # define _GLIBCXX17_DEPRECATED_SUGGEST(ALT) _GLIBCXX_DEPRECATED_SUGGEST(ALT)
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/x86_64-linux-gnu/c++/13/bits/c++config.h:98:19: note: expanded from macro '_GLIBCXX_DEPRECATED_SUGGEST'
98 | __attribute__ ((__deprecated__ ("use '" ALT "' instead")))
| ^
4 warnings generated.
[121/861] Compiling grammar_compiler.cc
[123/861] Compiling Numerics Numerics.swift
[124/861] Emitting module Numerics
[130/863] Compiling earley_parser.cc
[132/865] Emitting module Numerics
[133/865] Compiling Numerics Numerics.swift
[134/866] Compiling fsm.cc
[135/866] Compiling utils.cpp
[136/866] Compiling scheduler.cpp
[137/866] Compiling compiled_grammar.cc
[138/866] Compiling random.cpp
[139/866] Compiling MLXCXGrammar grammar_functor_wrapper.cc
[140/866] Compiling transforms.cpp
[141/866] Compiling linalg.cpp
[141/866] Compiling no_gguf.cpp
[143/866] Compiling primitives.cpp
[144/866] Compiling graph_utils.cpp
[145/866] Compiling load.cpp
[146/866] Compiling fft.cpp
[147/866] Compiling dtype.cpp
[148/866] Compiling safetensors.cpp
[149/866] Compiling dtype_utils.cpp
[150/866] Compiling fast.cpp
[151/866] Compiling utils.cpp
[152/866] Compiling einsum.cpp
[153/866] Compiling no_ring.cpp
[154/866] Compiling no_nccl.cpp
[155/866] Compiling no_mpi.cpp
[156/866] Compiling ops.cpp
[157/866] Compiling no_jaccl.cpp
[158/866] Compiling device.cpp
[159/866] Compiling primitives.cpp
[160/866] Compiling ops.cpp
[161/866] Compiling distributed.cpp
[162/866] Compiling no_metal.cpp
[163/866] Compiling slicing.cpp
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.
[164/866] Compiling worker.cpp
[164/866] Compiling scaled_dot_product_attention.cpp
[164/866] Compiling slicing.cpp
[164/866] Compiling primitives.cpp
[164/866] Compiling copy.cpp
[164/866] Compiling utils.cpp
[164/866] Compiling compile.cpp
[164/866] Compiling export.cpp
BUILD FAILURE 6.3 linux