Build Information
Failed to build mlx-swift, reference main (00afc1), with Swift 6.3 for Linux on 20 Nov 2026 11:43:47 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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-explore/mlx-swift.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/ml-explore/mlx-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 00afc1d Fix asMTLBuffer crash on zero-size arrays (#522)
Submodule path 'Source/Cmlx/mlx': checked out '36969c094354086e15d2a327a9c50feb20b9cf11'
Submodule path 'Source/Cmlx/mlx-c': checked out 'a26f2d584a14ec619ae8db9a09be03becd47598a'
Submodule 'submodules/mlx' (https://github.com/ml-explore/mlx) registered for path 'Source/Cmlx/mlx'
Submodule 'submodules/mlx-c' (https://github.com/ml-explore/mlx-c) registered for path 'Source/Cmlx/mlx-c'
Cloning into '/host/spi-builder-workspace/Source/Cmlx/mlx'...
Cloning into '/host/spi-builder-workspace/Source/Cmlx/mlx-c'...
Cloned https://github.com/ml-explore/mlx-swift.git
Revision (git rev-parse @):
00afc1ddefbd31b5440d6423ae7ad34941e13108
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ml-explore/mlx-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.3
Building package at path: $PWD
https://github.com/ml-explore/mlx-swift.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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:2d5b74478f792f87932467cb1c47b1b25df4173cb6dae554d34910d5911b073a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.3-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/apple/swift-argument-parser
[1/6862] Fetching swift-numerics
[6863/26300] Fetching swift-numerics, swift-argument-parser
Fetched https://github.com/apple/swift-numerics from cache (0.86s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.86s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (1.01s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Source/Cmlx/mlx/CODE_OF_CONDUCT.md': File not found.
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Source/Cmlx/mlx/build': File not found.
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/11] Emitting module ArgumentParserToolInfo
[7/12] Wrapping AST for ArgumentParserToolInfo for debugging
[9/59] Emitting module ArgumentParser
[10/65] Compiling ArgumentParser ArgumentVisibility.swift
[11/65] Compiling ArgumentParser CompletionKind.swift
[12/65] Compiling ArgumentParser Errors.swift
[13/65] Compiling ArgumentParser Flag.swift
[14/65] Compiling ArgumentParser NameSpecification.swift
[15/65] Compiling ArgumentParser Option.swift
[16/65] Compiling ArgumentParser OptionGroup.swift
[17/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/65] Compiling ArgumentParser CompletionsGenerator.swift
[19/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/65] Compiling ArgumentParser Argument.swift
[22/65] Compiling ArgumentParser ArgumentDiscussion.swift
[23/65] Compiling ArgumentParser ArgumentHelp.swift
[24/65] Compiling ArgumentParser AsyncCompletionsValidator.swift
[25/65] Compiling ArgumentParser CodingKeyValidator.swift
[26/65] Compiling ArgumentParser NonsenseFlagsValidator.swift
[27/65] Compiling ArgumentParser ParsableArgumentsValidation.swift
[28/65] Compiling ArgumentParser PositionalArgumentsValidator.swift
[29/65] Compiling ArgumentParser UniqueNamesValidator.swift
[30/65] Compiling ArgumentParser ParentCommand.swift
[31/65] Compiling ArgumentParser AsyncParsableCommand.swift
[32/65] Compiling ArgumentParser CommandConfiguration.swift
[33/65] Compiling ArgumentParser CommandGroup.swift
[34/65] Compiling ArgumentParser EnumerableFlag.swift
[35/65] Compiling ArgumentParser ExpressibleByArgument.swift
[36/65] Compiling ArgumentParser ParsableArguments.swift
[37/65] Compiling ArgumentParser HelpCommand.swift
[38/65] Compiling ArgumentParser HelpGenerator.swift
[39/65] Compiling ArgumentParser MessageInfo.swift
[40/65] Compiling ArgumentParser UsageGenerator.swift
[41/65] Compiling ArgumentParser CollectionExtensions.swift
[42/65] Compiling ArgumentParser Foundation.swift
[43/65] Compiling ArgumentParser Mutex.swift
[44/65] Compiling ArgumentParser Platform.swift
[45/65] Compiling ArgumentParser SequenceExtensions.swift
[46/65] Compiling ArgumentParser StringExtensions.swift
[47/65] Compiling ArgumentParser SwiftExtensions.swift
[48/65] Compiling ArgumentParser Tree.swift
[49/65] Compiling ArgumentParser ParsableCommand.swift
[50/65] Compiling ArgumentParser ArgumentDecoder.swift
[51/65] Compiling ArgumentParser ArgumentDefinition.swift
[52/65] Compiling ArgumentParser ArgumentSet.swift
[53/65] Compiling ArgumentParser CommandParser.swift
[54/65] Compiling ArgumentParser InputKey.swift
[55/65] Compiling ArgumentParser InputOrigin.swift
[56/65] Compiling ArgumentParser Name.swift
[57/65] Compiling ArgumentParser Parsed.swift
[58/65] Compiling ArgumentParser ParsedValues.swift
[59/65] Compiling ArgumentParser ParserError.swift
[60/65] Compiling ArgumentParser SplitArguments.swift
[61/65] Compiling ArgumentParser DumpHelpGenerator.swift
[62/66] Wrapping AST for ArgumentParser for debugging
[64/72] Compiling encuda encuda.swift
[65/72] Compiling encuda encuda-utils.swift
[66/72] Compiling encuda encuda-link.swift
[67/72] Compiling encuda encuda-error.swift
[68/72] Emitting module encuda
[69/72] Compiling encuda encuda-compile.swift
[70/73] Wrapping AST for encuda for debugging
[71/73] Write Objects.LinkFileList
[72/73] Linking encuda-tool
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/host/spi-builder-workspace/Source/Examples/Example1.swift
/host/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
/host/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/Example1.swift
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
/host/spi-builder-workspace/Source/Examples/CustomFunctionExample.swift
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Source/Examples/Example1.swift
/host/spi-builder-workspace/Source/Examples/Tutorial.swift
/host/spi-builder-workspace/Source/Examples/CustomFunctionExampleSimple.swift
[1/1] Compiling plugin CudaBuild
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/439] Write sources
[7/439] Compiling _NumericsShims _NumericsShims.c
[7/439] Compiling sort.cpp
[9/439] Write sources
[22/439] Compiling reduce_utils.cpp
[22/439] Write swift-version-24593BA9C3E375BF.txt
[24/439] Compiling version.cpp
[26/450] Compiling RealModule RealFunctions.swift
[27/451] Compiling RealModule RelaxedArithmetic.swift
[28/451] Compiling RealModule AlgebraicField.swift
[29/451] Compiling RealModule ApproximateEquality.swift
[30/451] Compiling RealModule Real.swift
[31/451] Compiling RealModule Float80+Real.swift
[32/451] Compiling RealModule AugmentedArithmetic.swift
[33/451] Compiling RealModule Double+Real.swift
[34/451] Compiling RealModule Float16+Real.swift
[35/451] Compiling RealModule ElementaryFunctions.swift
[36/451] Compiling RealModule Float+Real.swift
[37/451] Emitting module RealModule
[39/463] Compiling ComplexModule Complex+StringConvertible.swift
[40/464] Compiling ComplexModule Scale.swift
[41/464] Compiling ComplexModule Polar.swift
[42/464] Compiling ComplexModule Complex+Hashable.swift
[43/464] Compiling ComplexModule Complex+IntegerLiteral.swift
[44/464] Compiling ComplexModule Complex+Numeric.swift
[45/464] Compiling ComplexModule Complex.swift
[46/464] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[47/464] Compiling ComplexModule Complex+AlgebraicField.swift
[48/464] Compiling ComplexModule Complex+Codable.swift
[49/464] Compiling ComplexModule Complex+ElementaryFunctions.swift
[50/464] Emitting module ComplexModule
[52/467] Compiling Numerics Numerics.swift
[53/467] Emitting module Numerics
[54/468] Wrapping AST for RealModule for debugging
[55/468] Wrapping AST for Numerics for debugging
[56/468] Wrapping AST for ComplexModule for debugging
[57/468] Compiling utils.cpp
[58/468] Compiling stream.cpp
[59/468] Compiling scheduler.cpp
[60/468] Compiling distributed.cpp
[61/468] Compiling cuda.cpp
[62/468] Compiling device.cpp
[63/468] Compiling memory.cpp
[64/468] Compiling transforms.cpp
[65/468] Compiling random.cpp
[66/468] Compiling no_gguf.cpp
[67/468] Compiling linalg.cpp
[68/468] Compiling graph_utils.cpp
[69/468] Compiling load.cpp
[70/468] Compiling primitives.cpp
[71/468] Compiling fft.cpp
[72/468] Compiling dtype.cpp
[73/468] Compiling dtype_utils.cpp
[74/468] Compiling safetensors.cpp
[75/468] Compiling fast.cpp
[76/468] Compiling utils.cpp
[77/468] Compiling einsum.cpp
[78/468] Compiling no_nccl.cpp
[79/468] Compiling no_mpi.cpp
[80/468] Compiling primitives.cpp
[81/468] Compiling ops.cpp
[82/468] Compiling no_jaccl.cpp
[83/468] Compiling device.cpp
[84/468] Compiling ops.cpp
[85/468] Compiling no_metal.cpp
[86/468] Compiling distributed.cpp
[87/468] Compiling slicing.cpp
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/worker.cpp:3:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/worker.h:5:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/event.h:6:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/utils.h:8:
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/allocator.h:7:
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:5:10: error: 'cuda.h' file not found with <angled> include; use "quotes" instead
5 | #include <cuda.h>
| ^~~~~~~~
| "cuda.h"
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cuda/cuda_utils.h:6:10: fatal error: 'cuda_runtime.h' file not found
6 | #include <cuda_runtime.h>
| ^~~~~~~~~~~~~~~~
2 errors generated.
[88/468] Compiling worker.cpp
[88/468] Compiling slicing.cpp
[88/468] Compiling utils.cpp
[88/468] Compiling copy.cpp
[88/468] Compiling primitives.cpp
[88/468] Compiling compile.cpp
In file included from /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)> &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<bool, mlx::core::distributed::detail::SumOp<bool>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)> &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<bool, mlx::core::distributed::detail::SumOp<bool>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>))(bool *, bool *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<bool>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:46:22: note: in instantiation of function template specialization 'std::bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
46 | auto task = std::bind(std::forward<F>(f), std::forward<Args>(args)...);
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:13: note: in instantiation of function template specialization 'mlx::core::cpu::CommandEncoder::dispatch<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
565 | encoder.dispatch([in_ptr, out_ptr, size = input.size(), this, reduce_op]() {
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<bool, mlx::core::distributed::detail::SumOp<bool>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:46:22: note: in instantiation of function template specialization 'std::bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
46 | auto task = std::bind(std::forward<F>(f), std::forward<Args>(args)...);
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:13: note: in instantiation of function template specialization 'mlx::core::cpu::CommandEncoder::dispatch<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
565 | encoder.dispatch([in_ptr, out_ptr, size = input.size(), this, reduce_op]() {
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<bool, mlx::core::distributed::detail::SumOp<bool>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)> &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<signed char, mlx::core::distributed::detail::SumOp<signed char>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)> &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<signed char, mlx::core::distributed::detail::SumOp<signed char>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>))(signed char *, signed char *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<signed char>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:46:22: note: in instantiation of function template specialization 'std::bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
46 | auto task = std::bind(std::forward<F>(f), std::forward<Args>(args)...);
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:13: note: in instantiation of function template specialization 'mlx::core::cpu::CommandEncoder::dispatch<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
565 | encoder.dispatch([in_ptr, out_ptr, size = input.size(), this, reduce_op]() {
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<signed char, mlx::core::distributed::detail::SumOp<signed char>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:46:22: note: in instantiation of function template specialization 'std::bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
46 | auto task = std::bind(std::forward<F>(f), std::forward<Args>(args)...);
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:13: note: in instantiation of function template specialization 'mlx::core::cpu::CommandEncoder::dispatch<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
565 | encoder.dispatch([in_ptr, out_ptr, size = input.size(), this, reduce_op]() {
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<signed char, mlx::core::distributed::detail::SumOp<signed char>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)> &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<short, mlx::core::distributed::detail::SumOp<short>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)> &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<short, mlx::core::distributed::detail::SumOp<short>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>))(short *, short *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<short>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:46:22: note: in instantiation of function template specialization 'std::bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
46 | auto task = std::bind(std::forward<F>(f), std::forward<Args>(args)...);
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:13: note: in instantiation of function template specialization 'mlx::core::cpu::CommandEncoder::dispatch<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
565 | encoder.dispatch([in_ptr, out_ptr, size = input.size(), this, reduce_op]() {
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<short, mlx::core::distributed::detail::SumOp<short>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/backend/cpu/encoder.h:46:22: note: in instantiation of function template specialization 'std::bind<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
46 | auto task = std::bind(std::forward<F>(f), std::forward<Args>(args)...);
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:13: note: in instantiation of function template specialization 'mlx::core::cpu::CommandEncoder::dispatch<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22)>' requested here
565 | encoder.dispatch([in_ptr, out_ptr, size = input.size(), this, reduce_op]() {
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<short, mlx::core::distributed::detail::SumOp<short>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:565:22) &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)> &()>' is deprecated: use 'std::invoke_result' instead [-Wdeprecated-declarations]
552 | using _Res_type_impl
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:556:20: note: in instantiation of template type alias '_Res_type_impl' requested here
556 | using _Res_type = _Res_type_impl<_Functor, _CallArgs, _Bound_args...>;
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:555:7: note: in instantiation of template type alias '_Res_type' requested here
555 | template<typename _CallArgs>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<int, mlx::core::distributed::detail::SumOp<int>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)> &()>' 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/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:19:
In file included from /host/spi-builder-workspace/Source/Cmlx/json/single_include/nlohmann/json.hpp:23:
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:552:2: warning: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)> &()>' 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...>>>
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/functional:881:5: note: in instantiation of template class 'std::_Bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)> ()>' requested here
881 | bind(_Func&& __f, _BoundArgs&&... __args)
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/threadpool.h:65:12: note: in instantiation of function template specialization 'std::bind<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)>>' requested here
65 | std::bind(std::forward<F>(f), std::forward<Args>(args)...));
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:611:37: note: in instantiation of function template specialization 'ThreadPool::enqueue<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)>>' requested here
611 | all_sums.emplace_back(pool_.enqueue(
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:446:7: note: in instantiation of function template specialization 'mlx::core::distributed::ring::RingGroup::all_reduce<int, mlx::core::distributed::detail::SumOp<int>>' requested here
446 | all_reduce<T>(input, output, stream, detail::SumOp<T>());
| ^
/host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:5: note: in instantiation of function template specialization 'mlx::core::dispatch_all_types<(lambda at /host/spi-builder-workspace/Source/Cmlx/mlx/mlx/distributed/ring/ring.cpp:444:40)>' requested here
444 | dispatch_all_types(output.dtype(), [&](auto type_tag) {
| ^
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/type_traits:2590:9: note: 'result_of<std::_Bind<void (RingGroup::*(mlx::core::distributed::ring::RingGroup *, int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>))(int *, int *, unsigned long, int, int, int, mlx::core::distributed::detail::SumOp<int>)> &()>' 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")))
| ^
[88/468] Compiling ring.cpp
[88/468] Compiling export.cpp
BUILD FAILURE 6.3 linux