The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewster99/mlx-swift-lm.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/drewster99/mlx-swift-lm
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fd0f13b add TurboQuant KV cache compression (#232)
Cloned https://github.com/drewster99/mlx-swift-lm.git
Revision (git rev-parse @):
fd0f13bcab1f8af78a57f91fbf250a7dfde74c9b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/drewster99/mlx-swift-lm.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/drewster99/mlx-swift-lm.git
https://github.com/drewster99/mlx-swift-lm.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2ccba1a98249c90438a7c8a4888192d345af17f27af8250de02cec002ad06687
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-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 (3.49s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.50s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.4 (0.27s)
Fetching https://github.com/apple/swift-numerics
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.51s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (1.49s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.21s)
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] Write swift-version-24593BA9C3E375BF.txt
[1/405] Compiling _SwiftSyntaxCShims PlatformMutex.c
[2/405] Compiling _NumericsShims _NumericsShims.c
[4/405] Write sources
[8/407] Compiling config.cc
[9/407] Write sources
[45/407] Compiling fsm_builder.cc
[47/407] Emitting module SwiftSyntax603
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/407] Compiling SwiftSyntax603 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/410] Compiling SwiftSyntax602 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/410] Emitting module SwiftSyntax602
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/415] Compiling SwiftSyntax600 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/415] Emitting module SwiftSyntax600
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[55/415] Emitting module SwiftSyntax601
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[56/415] Compiling SwiftSyntax601 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/417] Compiling grammar.cc
[60/421] Compiling SwiftSyntax509 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[61/429] Compiling SwiftSyntax510 Empty.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[62/429] Emitting module SwiftSyntax510
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[63/433] Emitting module SwiftSyntax509
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[64/434] Compiling compiled_grammar.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.
[66/434] Wrapping AST for SwiftSyntax603 for debugging
[66/434] Compiling grammar_matcher.cc
[69/434] Compiling RealModule RealFunctions.swift
[69/446] Wrapping AST for SwiftSyntax602 for debugging
[71/446] Compiling RealModule Real.swift
[71/446] Wrapping AST for SwiftSyntax601 for debugging
[73/446] Compiling RealModule AlgebraicField.swift
[74/446] Compiling RealModule ApproximateEquality.swift
[75/446] Compiling RealModule RelaxedArithmetic.swift
[76/482] Compiling RealModule Float80+Real.swift
[76/501] Wrapping AST for SwiftSyntax600 for debugging
[77/509] Compiling fsm.cc
[79/509] Compiling RealModule Float16+Real.swift
[80/509] Emitting module RealModule
[81/509] Compiling SwiftSyntax Syntax.swift
[82/509] Compiling SwiftSyntax SyntaxChildren.swift
[83/509] Compiling RealModule RealFunctions.swift
[83/510] Wrapping AST for SwiftSyntax510 for debugging
[85/510] Compiling RealModule Real.swift
[86/510] Compiling RealModule Float80+Real.swift
[87/510] Compiling SwiftSyntax SourcePresence.swift
[88/510] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[89/511] Compiling RealModule RelaxedArithmetic.swift
[91/511] Compiling SwiftSyntax SourceLength.swift
[92/511] Compiling SwiftSyntax SourceLocation.swift
[92/511] Wrapping AST for SwiftSyntax509 for debugging
[93/511] Compiling tokenizer_info.cc
[95/511] Emitting module RealModule
[100/511] Compiling RealModule Float16+Real.swift
[101/512] Compiling logging.cc
[102/512] Compiling recursion_guard.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.
[103/512] Compiling grammar_compiler.cc
[104/512] Compiling regex_converter.cc
[105/512] Compiling MLXCXGrammar shim.cc
[106/512] Compiling testing.cc
[108/512] Compiling SwiftSyntax Identifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[109/512] Compiling SwiftSyntax MemoryLayout.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[110/512] Compiling SwiftSyntax MissingNodeInitializers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[111/512] Compiling SwiftSyntax RawSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[112/512] Compiling SwiftSyntax RawSyntaxArena.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[113/512] Compiling SwiftSyntax RawSyntaxLayoutView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[114/512] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[115/512] Compiling SwiftSyntax RawSyntaxTokenView.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[116/512] Compiling SwiftSyntax SourceEdit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[116/520] Compiling grammar_printer.cc
[117/520] Compiling earley_parser.cc
[118/520] Compiling json_schema_converter.cc
[119/520] Compiling recursion_guard.cc
[120/520] Compiling logging.cc
[121/520] Compiling grammar_parser.cc
[122/520] Compiling tokenizer_info.cc
[123/520] Compiling structural_tag.cc
[124/520] Compiling testing.cc
[125/520] Compiling regex_converter.cc
[126/520] Compiling grammar_printer.cc
[127/520] Compiling MLXCXGrammar grammar_functor_wrapper.cc
[128/520] Compiling grammar_parser.cc
[129/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.
[130/520] Compiling grammar_matcher.cc
[132/520] Emitting module SwiftSyntax
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[132/520] Compiling structural_tag.cc
[133/520] Compiling fsm_builder.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.
[134/520] Compiling grammar_compiler.cc
[135/520] Compiling config.cc
[136/520] Write sources
[140/520] Compiling grammar.cc
[140/520] Write sources
[142/520] Compiling version.cpp
[144/542] Compiling ComplexModule Polar.swift
[144/542] Compiling MLXCXGrammar shim.cc
[146/543] Compiling ComplexModule Complex+Hashable.swift
[147/543] Compiling ComplexModule Complex+IntegerLiteral.swift
[148/543] Compiling ComplexModule Complex.swift
[149/543] Compiling ComplexModule Complex+StringConvertible.swift
[150/543] Compiling ComplexModule Scale.swift
[151/543] Compiling ComplexModule Complex+Numeric.swift
[152/543] Compiling ComplexModule Polar.swift
[153/544] Compiling ComplexModule Complex.swift
[154/544] Compiling ComplexModule Complex+StringConvertible.swift
[157/544] Compiling ComplexModule Complex+Numeric.swift
[158/544] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[159/544] Compiling ComplexModule Complex+AlgebraicField.swift
[160/544] Compiling ComplexModule Scale.swift
[161/544] Emitting module ComplexModule
[161/544] Compiling fsm.cc
[162/544] Compiling earley_parser.cc
[164/544] Compiling ComplexModule Complex+Codable.swift
[165/544] Compiling ComplexModule Complex+ElementaryFunctions.swift
[171/545] Emitting module ComplexModule
[173/548] Compiling Numerics Numerics.swift
[174/548] Emitting module Numerics
[175/551] Compiling utils.cpp
[177/551] Emitting module Numerics
[178/551] Compiling Numerics Numerics.swift
[179/552] Compiling scheduler.cpp
[180/552] Compiling compiled_grammar.cc
[181/552] Compiling MLXCXGrammar grammar_functor_wrapper.cc
[182/552] Compiling transforms.cpp
[183/552] Compiling random.cpp
[184/552] Compiling linalg.cpp
[185/552] Compiling no_gguf.cpp
[187/552] Compiling SwiftSyntax SyntaxRewriter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[188/552] Compiling SwiftSyntax SyntaxTraits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[189/552] Compiling SwiftSyntax SyntaxVisitor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[190/552] Compiling SwiftSyntax TokenKind.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[191/552] Compiling SwiftSyntax Tokens.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[192/552] Compiling SwiftSyntax TriviaPieces.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[193/552] Compiling SwiftSyntax RawSyntaxNodesAB.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[194/552] Compiling SwiftSyntax RawSyntaxNodesC.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[195/552] Compiling SwiftSyntax RawSyntaxNodesD.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[195/552] Compiling primitives.cpp
[196/552] Compiling graph_utils.cpp
[197/552] Compiling load.cpp
[198/552] Compiling safetensors.cpp
[199/552] Compiling fft.cpp
[201/552] Compiling SwiftSyntax SyntaxNodeStructure.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[202/552] Compiling SwiftSyntax SyntaxProtocol.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[203/552] Compiling SwiftSyntax SyntaxText.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[204/552] Compiling SwiftSyntax SyntaxTreeViewMode.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[205/552] Compiling SwiftSyntax TokenDiagnostic.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[206/552] Compiling SwiftSyntax TokenSequence.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[207/552] Compiling SwiftSyntax TokenSyntax.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[208/552] Compiling SwiftSyntax Trivia.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[209/552] Compiling SwiftSyntax Utils.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[210/552] Compiling SwiftSyntax RawSyntaxNodesEF.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[211/552] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[212/552] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[213/552] Compiling SwiftSyntax RawSyntaxNodesOP.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[214/552] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[215/552] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[216/552] Compiling SwiftSyntax RawSyntaxValidation.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[217/552] Compiling SwiftSyntax SyntaxNodesAB.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[217/552] Compiling dtype_utils.cpp
[218/552] Compiling dtype.cpp
[219/552] Compiling fast.cpp
[220/552] Compiling utils.cpp
[221/552] Compiling einsum.cpp
[222/552] Compiling no_ring.cpp
[223/552] Compiling no_nccl.cpp
[224/552] Compiling ops.cpp
[225/552] Compiling no_mpi.cpp
[226/552] Compiling no_jaccl.cpp
[227/552] Compiling primitives.cpp
[228/552] Compiling device.cpp
[229/552] Compiling ops.cpp
[230/552] Compiling distributed.cpp
[231/552] Compiling device_info.cpp
[232/552] Compiling event.cpp
[233/552] Compiling fence.cpp
[234/552] Compiling eval.cpp
[235/552] Compiling allocator.cpp
[236/552] Compiling threefry.cpp
[237/552] Compiling primitives.cpp
[238/552] Compiling no_metal.cpp
[239/552] Compiling no_cuda.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.
[240/552] Compiling svd.cpp
[240/552] Compiling sort.cpp
[240/552] Compiling softmax.cpp
[240/552] Compiling select.cpp
[240/552] Compiling unary.cpp
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[240/552] Compiling compile.cpp
[240/552] Compiling export.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:2ccba1a98249c90438a7c8a4888192d345af17f27af8250de02cec002ad06687
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
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
[0/1] Planning build
Building for debugging...
[0/284] Compiling version.cpp
[1/284] Write swift-version-24593BA9C3E375BF.txt
[2/284] Compiling utils.cpp
[4/286] Compiling SwiftSyntax603 Empty.swift
[5/286] Emitting module SwiftSyntax603
[6/287] Compiling scheduler.cpp
[8/290] Emitting module SwiftSyntax602
[9/290] Compiling SwiftSyntax602 Empty.swift
[10/291] Compiling SwiftSyntax601 Empty.swift
[11/291] Emitting module SwiftSyntax601
[14/294] Compiling SwiftSyntax600 Empty.swift
[15/294] Emitting module SwiftSyntax600
[16/295] Emitting module SwiftSyntax510
[17/295] Compiling SwiftSyntax510 Empty.swift
[20/307] Compiling SwiftSyntax509 Empty.swift
[21/307] Emitting module SwiftSyntax509
[21/308] Compiling linalg.cpp
[24/307] Compiling RealModule ElementaryFunctions.swift
[25/307] Compiling RealModule Float+Real.swift
[26/308] Compiling RealModule RealFunctions.swift
[27/316] Compiling RealModule AugmentedArithmetic.swift
[28/316] Compiling RealModule Double+Real.swift
[29/319] Compiling RealModule ElementaryFunctions.swift
[30/319] Compiling RealModule Float+Real.swift
[31/319] Compiling RealModule Real.swift
[32/319] Compiling RealModule RelaxedArithmetic.swift
[32/319] Compiling random.cpp
[34/319] Compiling RealModule Float16+Real.swift
[35/319] Compiling RealModule Float80+Real.swift
[36/319] Compiling RealModule Real.swift
[37/320] Compiling RealModule RealFunctions.swift
[40/320] Emitting module RealModule
[41/321] Compiling RealModule RelaxedArithmetic.swift
[42/321] Compiling RealModule Float80+Real.swift
[43/321] Compiling RealModule Float16+Real.swift
[47/384] Compiling SwiftSyntax TokenDiagnostic.swift
[48/384] Compiling SwiftSyntax TokenSequence.swift
[49/384] Emitting module RealModule
[51/396] Compiling ComplexModule Polar.swift
[52/397] Compiling ComplexModule Complex+Numeric.swift
[53/397] Compiling ComplexModule Complex.swift
[54/397] Compiling ComplexModule Complex+StringConvertible.swift
[55/397] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[56/397] Compiling ComplexModule Complex+AlgebraicField.swift
[57/397] Compiling ComplexModule Scale.swift
[58/397] Emitting module ComplexModule
[59/397] Compiling ComplexModule Complex+Hashable.swift
[60/397] Compiling ComplexModule Complex+IntegerLiteral.swift
[61/397] Compiling ComplexModule Complex+Codable.swift
[62/397] Compiling ComplexModule Complex+ElementaryFunctions.swift
[63/398] Compiling transforms.cpp
[65/411] Compiling ComplexModule Polar.swift
[66/412] Compiling ComplexModule Complex.swift
[67/412] Compiling Numerics Numerics.swift
[68/412] Compiling ComplexModule Complex+StringConvertible.swift
[69/412] Emitting module Numerics
[70/413] Compiling ComplexModule Complex+Hashable.swift
[71/413] Compiling ComplexModule Complex+IntegerLiteral.swift
[72/413] Compiling ComplexModule Complex+Numeric.swift
[74/413] Compiling ComplexModule Scale.swift
[75/413] Compiling ComplexModule Complex+Codable.swift
[76/413] Compiling ComplexModule Complex+ElementaryFunctions.swift
[77/413] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[78/413] Compiling ComplexModule Complex+AlgebraicField.swift
[79/413] Emitting module ComplexModule
[79/414] Compiling primitives.cpp
[88/416] Compiling SwiftSyntax TokenSyntax.swift
[89/416] Compiling SwiftSyntax Trivia.swift
[90/416] Compiling SwiftSyntax Utils.swift
[91/424] Emitting module Numerics
[92/424] Compiling Numerics Numerics.swift
[93/425] Compiling compile.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.
[94/425] Compiling svd.cpp
[94/425] Compiling select.cpp
[94/425] Compiling softmax.cpp
[94/425] Compiling sort.cpp
[94/425] Compiling unary.cpp
[94/425] Compiling ops.cpp
[94/425] Compiling export.cpp
BUILD FAILURE 6.1 linux