Build Information
Failed to build mlx-swift-lm, reference main (fd0f13), with Swift 6.2 for Linux on 16 Oct 2026 02:40:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-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.2
Building package at path: $PWD
https://github.com/drewster99/mlx-swift-lm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:af72ee10f3ab8145e300c2afec9616a3ae441bd9d7c561ce3ed6cd39331f6017
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-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.78s)
[10502/80777] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.34s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.35s)
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.76s)
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.14s)
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.4
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
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...
[0/405] Compiling MLXCXGrammar shim.cc
[1/405] Compiling _SwiftSyntaxCShims PlatformMutex.c
[2/405] Compiling _NumericsShims _NumericsShims.c
[3/405] Write sources
[44/405] Compiling config.cc
[45/405] Compiling fsm_builder.cc
[46/405] Compiling testing.cc
[47/405] Compiling logging.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: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: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")))
| ^
2 warnings generated.
[48/405] Compiling grammar_matcher.cc
[49/405] Compiling grammar.cc
[50/405] Compiling recursion_guard.cc
[51/405] Compiling compiled_grammar.cc
[52/405] Compiling tokenizer_info.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: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: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")))
| ^
2 warnings generated.
[53/405] Compiling grammar_compiler.cc
[54/405] Write swift-version-24593BA9C3E375BF.txt
[55/405] Compiling regex_converter.cc
[56/407] Compiling grammar_printer.cc
[57/409] Compiling earley_parser.cc
[59/411] Emitting module SwiftSyntax601
[59/411] Compiling json_schema_converter.cc
[60/413] Compiling grammar_parser.cc
[62/415] Emitting module SwiftSyntax510
[63/415] Compiling SwiftSyntax510 Empty.swift
[65/416] Compiling SwiftSyntax603 Empty.swift
[66/416] Emitting module SwiftSyntax603
[67/417] Compiling SwiftSyntax602 Empty.swift
[68/417] Emitting module SwiftSyntax602
[71/423] Compiling SwiftSyntax509 Empty.swift
[72/442] Compiling SwiftSyntax600 Empty.swift
[73/442] Emitting module SwiftSyntax600
[74/443] Emitting module SwiftSyntax509
[75/444] Compiling SwiftSyntax601 Empty.swift
[77/445] Compiling RealModule RealFunctions.swift
[80/447] Wrapping AST for SwiftSyntax602 for debugging
[82/447] Compiling RealModule AlgebraicField.swift
[83/447] Compiling RealModule ApproximateEquality.swift
[83/447] Wrapping AST for SwiftSyntax603 for debugging
[84/448] Wrapping AST for SwiftSyntax601 for debugging
[85/453] Wrapping AST for SwiftSyntax600 for debugging
[86/491] Wrapping AST for SwiftSyntax510 for debugging
[88/510] Compiling RealModule RelaxedArithmetic.swift
[90/510] Compiling RealModule Real.swift
[91/510] Compiling RealModule Float80+Real.swift
[92/510] Compiling RealModule Float16+Real.swift
[92/510] Wrapping AST for SwiftSyntax509 for debugging
[94/510] Emitting module RealModule
[95/510] Compiling RealModule Real.swift
[96/510] Compiling SwiftSyntax AbsolutePosition.swift
[97/510] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[98/510] Emitting module RealModule
[99/510] Compiling RealModule Float80+Real.swift
[100/510] Compiling RealModule Float16+Real.swift
[101/510] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[102/510] Compiling SwiftSyntax Assert.swift
[103/510] Compiling SwiftSyntax BumpPtrAllocator.swift
[104/510] Compiling SwiftSyntax CommonAncestor.swift
[110/512] Compiling MLXCXGrammar grammar_functor_wrapper.cc
[111/512] Compiling logging.cc
[112/512] Compiling structural_tag.cc
[113/512] Compiling fsm.cc
[114/512] Compiling recursion_guard.cc
[115/512] Compiling tokenizer_info.cc
[117/512] Compiling SwiftSyntax SyntaxNodeStructure.swift
[118/512] Compiling SwiftSyntax SyntaxProtocol.swift
[119/512] Compiling SwiftSyntax SyntaxText.swift
[120/512] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[121/512] Compiling SwiftSyntax TokenDiagnostic.swift
[122/512] Compiling SwiftSyntax TokenSequence.swift
[123/512] Compiling SwiftSyntax TokenSyntax.swift
[124/512] Compiling SwiftSyntax Trivia.swift
[125/512] Compiling SwiftSyntax Utils.swift
[125/520] Compiling regex_converter.cc
[126/520] Compiling grammar_printer.cc
[128/520] Compiling SwiftSyntax Identifier.swift
[129/520] Compiling SwiftSyntax MemoryLayout.swift
[130/520] Compiling SwiftSyntax MissingNodeInitializers.swift
[131/520] Compiling SwiftSyntax RawSyntax.swift
[132/520] Compiling SwiftSyntax RawSyntaxArena.swift
[133/520] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[134/520] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[135/520] Compiling SwiftSyntax RawSyntaxTokenView.swift
[136/520] Compiling SwiftSyntax SourceEdit.swift
[143/520] Compiling SwiftSyntax Convenience.swift
[144/520] Compiling SwiftSyntax CustomTraits.swift
[145/520] Compiling SwiftSyntax EditorPlaceholder.swift
[145/520] Compiling testing.cc
[146/520] Compiling grammar.cc
[147/520] Compiling fsm_builder.cc
[148/520] Compiling grammar_parser.cc
[149/520] Compiling json_schema_converter.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: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: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")))
| ^
2 warnings generated.
[150/520] Compiling grammar_matcher.cc
[151/520] Compiling earley_parser.cc
[151/520] Compiling config.cc
[151/520] Write sources
[158/520] Compiling version.cpp
[160/531] Compiling ComplexModule Complex+Hashable.swift
[161/531] Compiling ComplexModule Complex+IntegerLiteral.swift
[162/532] Compiling ComplexModule Scale.swift
[163/532] Compiling ComplexModule Complex+Numeric.swift
[164/532] Compiling ComplexModule Complex+Codable.swift
[165/532] Compiling ComplexModule Complex+ElementaryFunctions.swift
[166/532] Compiling ComplexModule Polar.swift
[166/532] Compiling structural_tag.cc
[168/532] Compiling ComplexModule Complex.swift
[169/532] Compiling ComplexModule Complex+StringConvertible.swift
[171/544] Compiling ComplexModule Complex+Hashable.swift
[172/544] Compiling ComplexModule Complex+IntegerLiteral.swift
[173/544] Compiling ComplexModule Complex+Numeric.swift
[174/544] Compiling ComplexModule Polar.swift
[175/544] Compiling ComplexModule Scale.swift
[178/544] Compiling ComplexModule Complex.swift
[178/544] Compiling MLXCXGrammar shim.cc
[180/544] Emitting module ComplexModule
[182/545] Compiling ComplexModule Complex+Codable.swift
[183/545] Compiling ComplexModule Complex+ElementaryFunctions.swift
[184/545] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[185/545] Compiling ComplexModule Complex+AlgebraicField.swift
[186/545] Emitting module ComplexModule
[188/548] Emitting module Numerics
[189/548] Compiling Numerics Numerics.swift
[192/551] Emitting module Numerics
[193/552] Compiling fsm.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: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: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")))
| ^
2 warnings generated.
[194/552] Compiling grammar_compiler.cc
[195/552] Compiling utils.cpp
[196/552] Compiling scheduler.cpp
[198/552] Emitting module SwiftSyntax
[198/552] Compiling compiled_grammar.cc
[199/552] Compiling linalg.cpp
[200/552] Compiling no_gguf.cpp
[201/552] Compiling MLXCXGrammar grammar_functor_wrapper.cc
[202/552] Compiling transforms.cpp
[203/552] Compiling random.cpp
[204/552] Compiling load.cpp
[205/552] Compiling primitives.cpp
[206/552] Compiling graph_utils.cpp
[207/552] Compiling fft.cpp
[208/552] Compiling safetensors.cpp
[209/552] Compiling fast.cpp
[210/552] Compiling dtype_utils.cpp
[211/552] Compiling dtype.cpp
[213/552] Compiling SwiftSyntax SyntaxRewriter.swift
[214/552] Compiling SwiftSyntax SyntaxTraits.swift
[215/552] Compiling SwiftSyntax SyntaxVisitor.swift
[216/552] Compiling SwiftSyntax TokenKind.swift
[217/552] Compiling SwiftSyntax Tokens.swift
[218/552] Compiling SwiftSyntax TriviaPieces.swift
[219/552] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[220/552] Compiling SwiftSyntax RawSyntaxNodesC.swift
[221/552] Compiling SwiftSyntax RawSyntaxNodesD.swift
[221/552] Compiling utils.cpp
[222/552] Compiling no_ring.cpp
[223/552] Compiling einsum.cpp
[224/552] Compiling ops.cpp
[225/552] Compiling no_mpi.cpp
[226/552] Compiling device.cpp
[227/552] Compiling no_nccl.cpp
[228/552] Compiling export.cpp
[229/552] Compiling ops.cpp
[230/552] Compiling primitives.cpp
[231/552] Compiling no_jaccl.cpp
[232/552] Compiling device_info.cpp
[233/552] Compiling distributed.cpp
[234/552] Compiling allocator.cpp
[235/552] Compiling primitives.cpp
[236/552] Compiling no_cuda.cpp
[237/552] Compiling threefry.cpp
[238/552] Compiling eval.cpp
[239/552] Compiling fence.cpp
[241/552] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[242/552] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[243/552] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[244/552] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[245/552] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[246/552] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[247/552] Compiling SwiftSyntax RawSyntaxValidation.swift
[248/552] Compiling SwiftSyntax SyntaxNodesAB.swift
[248/552] Compiling event.cpp
[249/552] Compiling no_metal.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/svd.cpp:6:
/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx/mlx/backend/cpu/lapack.h:17:10: fatal error: 'cblas.h' file not found
17 | #include <cblas.h>
| ^~~~~~~~~
1 error generated.
[250/552] Compiling svd.cpp
[250/552] Compiling softmax.cpp
[250/552] Compiling select.cpp
[250/552] Compiling scan.cpp
[250/552] Compiling sort.cpp
[250/552] Compiling unary.cpp
[250/552] Compiling compile.cpp
BUILD FAILURE 6.2 linux