[0.045s] Invoking command in '/home/firmament/codes/24navigation/build/plc_bringup': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/plc_bringup -- -j8 -l8 [0.175s] Consolidate compiler generated dependencies of target decision_move_node [0.188s] [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o [3.172s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/subscription_base.hpp:32, [3.172s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:29, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [3.173s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [3.173s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1: [3.173s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp: In instantiation of ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = std_msgs::msg::Int8_ >; AllocatorT = std::allocator]’: [3.173s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = std_msgs::msg::Int8_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.173s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = std_msgs::msg::Int8_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.173s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.173s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.173s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:65: required from here [3.174s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp:394:25: error: no match for ‘operator=’ (operand types are ‘rclcpp::detail::AnySubscriptionCallbackHelper >, std::allocator, false>::variant_type’ {aka ‘std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >’} and ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’}) [3.174s] 394 | callback_variant_ = static_cast(callback); [3.174s] | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [3.174s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [3.174s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [3.174s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1: [3.174s] /usr/include/c++/11/variant:1461:9: note: candidate: ‘template std::enable_if_t<((__exactly_once::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.174s] 1461 | operator=(_Tp&& __rhs) [3.174s] | ^~~~~~~~ [3.174s] /usr/include/c++/11/variant:1461:9: note:  template argument deduction/substitution failed: [3.175s] /usr/include/c++/11/variant: In substitution of ‘template template using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::function > >&)>&&; = void; _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’: [3.175s] /usr/include/c++/11/variant:1457:14: required by substitution of ‘template std::enable_if_t<((__exactly_once >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&> std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::function > >&)>]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp:394:25: required from ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = std_msgs::msg::Int8_ >; AllocatorT = std::allocator]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = std_msgs::msg::Int8_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = std_msgs::msg::Int8_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:65: required from here [3.175s] /usr/include/c++/11/variant:1375:15: error: no type named ‘type’ in ‘struct std::enable_if’ [3.175s] 1375 | using __accepted_type = __to_type<__accepted_index<_Tp>>; [3.175s] | ^~~~~~~~~~~~~~~ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp: In instantiation of ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = std_msgs::msg::Int8_ >; AllocatorT = std::allocator]’: [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = std_msgs::msg::Int8_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = std_msgs::msg::Int8_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int8_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.175s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:121:65: required from here [3.176s] /usr/include/c++/11/variant:1398:16: note: candidate: ‘std::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.176s] 1398 | variant& operator=(const variant&) = default; [3.176s] | ^~~~~~~~ [3.176s] /usr/include/c++/11/variant:1398:26: note:  no known conversion for argument 1 from ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’} to ‘const std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&’ [3.176s] 1398 | variant& operator=(const variant&) = default; [3.176s] | ^~~~~~~~~~~~~~ [3.176s] /usr/include/c++/11/variant:1399:16: note: candidate: ‘std::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.176s] 1399 | variant& operator=(variant&&) = default; [3.176s] | ^~~~~~~~ [3.176s] /usr/include/c++/11/variant:1399:26: note:  no known conversion for argument 1 from ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’} to ‘std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&&’ [3.176s] 1399 | variant& operator=(variant&&) = default; [3.176s] | ^~~~~~~~~ [3.200s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/subscription_base.hpp:32, [3.200s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:29, [3.200s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [3.201s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1: [3.201s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp: In instantiation of ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = std_msgs::msg::Int16_ >; AllocatorT = std::allocator]’: [3.201s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = std_msgs::msg::Int16_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.201s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = std_msgs::msg::Int16_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.201s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.201s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.201s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:67: required from here [3.201s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp:394:25: error: no match for ‘operator=’ (operand types are ‘rclcpp::detail::AnySubscriptionCallbackHelper >, std::allocator, false>::variant_type’ {aka ‘std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >’} and ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’}) [3.201s] 394 | callback_variant_ = static_cast(callback); [3.201s] | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [3.201s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [3.201s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [3.202s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [3.202s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [3.202s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [3.202s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [3.202s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1: [3.202s] /usr/include/c++/11/variant:1461:9: note: candidate: ‘template std::enable_if_t<((__exactly_once::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.202s] 1461 | operator=(_Tp&& __rhs) [3.202s] | ^~~~~~~~ [3.202s] /usr/include/c++/11/variant:1461:9: note:  template argument deduction/substitution failed: [3.202s] /usr/include/c++/11/variant: In substitution of ‘template template using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::function > >&)>&&; = void; _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’: [3.202s] /usr/include/c++/11/variant:1457:14: required by substitution of ‘template std::enable_if_t<((__exactly_once >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&> std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::function > >&)>]’ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp:394:25: required from ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = std_msgs::msg::Int16_ >; AllocatorT = std::allocator]’ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = std_msgs::msg::Int16_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = std_msgs::msg::Int16_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.202s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:67: required from here [3.202s] /usr/include/c++/11/variant:1375:15: error: no type named ‘type’ in ‘struct std::enable_if’ [3.202s] 1375 | using __accepted_type = __to_type<__accepted_index<_Tp>>; [3.202s] | ^~~~~~~~~~~~~~~ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp: In instantiation of ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = std_msgs::msg::Int16_ >; AllocatorT = std::allocator]’: [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = std_msgs::msg::Int16_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.202s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = std_msgs::msg::Int16_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.203s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.203s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = std_msgs::msg::Int16_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.203s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:124:67: required from here [3.203s] /usr/include/c++/11/variant:1398:16: note: candidate: ‘std::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.203s] 1398 | variant& operator=(const variant&) = default; [3.203s] | ^~~~~~~~ [3.203s] /usr/include/c++/11/variant:1398:26: note:  no known conversion for argument 1 from ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’} to ‘const std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&’ [3.203s] 1398 | variant& operator=(const variant&) = default; [3.203s] | ^~~~~~~~~~~~~~ [3.203s] /usr/include/c++/11/variant:1399:16: note: candidate: ‘std::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.203s] 1399 | variant& operator=(variant&&) = default; [3.203s] | ^~~~~~~~ [3.203s] /usr/include/c++/11/variant:1399:26: note:  no known conversion for argument 1 from ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’} to ‘std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&&’ [3.203s] 1399 | variant& operator=(variant&&) = default; [3.203s] | ^~~~~~~~~ [3.254s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/subscription_base.hpp:32, [3.254s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:29, [3.254s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, [3.254s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [3.254s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [3.254s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [3.255s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [3.255s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [3.255s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [3.255s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [3.255s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1: [3.255s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp: In instantiation of ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = geometry_msgs::msg::PoseStamped_ >; AllocatorT = std::allocator]’: [3.255s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = geometry_msgs::msg::PoseStamped_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.255s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = geometry_msgs::msg::PoseStamped_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.255s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.255s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.255s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:78: required from here [3.255s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp:394:25: error: no match for ‘operator=’ (operand types are ‘rclcpp::detail::AnySubscriptionCallbackHelper >, std::allocator, false>::variant_type’ {aka ‘std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >’} and ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’}) [3.255s] 394 | callback_variant_ = static_cast(callback); [3.256s] | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [3.256s] In file included from /opt/ros/humble/include/rclcpp/rclcpp/client.hpp:28, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/callback_group.hpp:24, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/any_executable.hpp:20, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategy.hpp:25, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/memory_strategies.hpp:18, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/executor_options.hpp:20, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/executor.hpp:37, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/executors/multi_threaded_executor.hpp:25, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/executors.hpp:21, [3.256s] from /opt/ros/humble/include/rclcpp/rclcpp/rclcpp.hpp:155, [3.256s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:1: [3.256s] /usr/include/c++/11/variant:1461:9: note: candidate: ‘template std::enable_if_t<((__exactly_once::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant<_Types>&> std::variant<_Types>::operator=(_Tp&&) [with _Tp = _Tp; _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.256s] 1461 | operator=(_Tp&& __rhs) [3.256s] | ^~~~~~~~ [3.256s] /usr/include/c++/11/variant:1461:9: note:  template argument deduction/substitution failed: [3.256s] /usr/include/c++/11/variant: In substitution of ‘template template using __accepted_type = std::variant<_Types>::__to_type<__accepted_index<_Tp> > [with _Tp = std::function > >&)>&&; = void; _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’: [3.257s] /usr/include/c++/11/variant:1457:14: required by substitution of ‘template std::enable_if_t<((__exactly_once >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type> > && is_constructible_v >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>, _Tp>) && is_assignable_v >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::__accepted_type<_Tp&&, typename std::enable_if<__not_self<_Tp&&>, void>::type>&, _Tp>), std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&> std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >::operator=<_Tp>(_Tp&&) [with _Tp = std::function > >&)>]’ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp:394:25: required from ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = geometry_msgs::msg::PoseStamped_ >; AllocatorT = std::allocator]’ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = geometry_msgs::msg::PoseStamped_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = geometry_msgs::msg::PoseStamped_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.257s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:78: required from here [3.257s] /usr/include/c++/11/variant:1375:15: error: no type named ‘type’ in ‘struct std::enable_if’ [3.257s] 1375 | using __accepted_type = __to_type<__accepted_index<_Tp>>; [3.257s] | ^~~~~~~~~~~~~~~ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/any_subscription_callback.hpp: In instantiation of ‘rclcpp::AnySubscriptionCallback rclcpp::AnySubscriptionCallback::set(CallbackT) [with CallbackT = std::_Bind))(const std::shared_ptr > >&)>; MessageT = geometry_msgs::msg::PoseStamped_ >; AllocatorT = std::allocator]’: [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/subscription_factory.hpp:94:32: required from ‘rclcpp::SubscriptionFactory rclcpp::create_subscription_factory(CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr, std::shared_ptr >) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; ROSMessageType = geometry_msgs::msg::PoseStamped_ >; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.257s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:122:63: required from ‘std::shared_ptr rclcpp::detail::create_subscription(NodeParametersT&, NodeTopicsT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeParametersT = rclcpp::Node; NodeTopicsT = rclcpp::Node; ROSMessageType = geometry_msgs::msg::PoseStamped_ >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.258s] /opt/ros/humble/include/rclcpp/rclcpp/create_subscription.hpp:191:76: required from ‘std::shared_ptr rclcpp::create_subscription(NodeT&, const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; NodeT = rclcpp::Node; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.258s] /opt/ros/humble/include/rclcpp/rclcpp/node_impl.hpp:99:47: required from ‘std::shared_ptr rclcpp::Node::create_subscription(const string&, const rclcpp::QoS&, CallbackT&&, const rclcpp::SubscriptionOptionsWithAllocator&, typename MessageMemoryStrategyT::SharedPtr) [with MessageT = geometry_msgs::msg::PoseStamped_ >; CallbackT = std::_Bind))(const std::shared_ptr > >&)>; AllocatorT = std::allocator; SubscriptionT = rclcpp::Subscription > >; MessageMemoryStrategyT = rclcpp::message_memory_strategy::MessageMemoryStrategy >, std::allocator >; std::string = std::__cxx11::basic_string; typename MessageMemoryStrategyT::SharedPtr = std::shared_ptr >, std::allocator > >]’ [3.258s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:127:78: required from here [3.258s] /usr/include/c++/11/variant:1398:16: note: candidate: ‘std::variant<_Types>& std::variant<_Types>::operator=(const std::variant<_Types>&) [with _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.258s] 1398 | variant& operator=(const variant&) = default; [3.258s] | ^~~~~~~~ [3.258s] /usr/include/c++/11/variant:1398:26: note:  no known conversion for argument 1 from ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’} to ‘const std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&’ [3.258s] 1398 | variant& operator=(const variant&) = default; [3.258s] | ^~~~~~~~~~~~~~ [3.258s] /usr/include/c++/11/variant:1399:16: note: candidate: ‘std::variant<_Types>& std::variant<_Types>::operator=(std::variant<_Types>&&) [with _Types = {std::function >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>}]’ [3.258s] 1399 | variant& operator=(variant&&) = default; [3.258s] | ^~~~~~~~ [3.258s] /usr/include/c++/11/variant:1399:26: note:  no known conversion for argument 1 from ‘rclcpp::detail::SubscriptionCallbackTypeHelper >, std::_Bind))(const std::shared_ptr > >&)>, void>::callback_type’ {aka ‘std::function > >&)>’} to ‘std::variant >&)>, std::function >&, const rclcpp::MessageInfo&)>, std::function, std::function, std::function >, std::default_delete > > >)>, std::function >, std::default_delete > > >, const rclcpp::MessageInfo&)>, std::function >)>, std::function >, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)>, std::function > >&)>, std::function > >&, const rclcpp::MessageInfo&)>, std::function&)>, std::function&, const rclcpp::MessageInfo&)>, std::function > >)>, std::function > >, const rclcpp::MessageInfo&)>, std::function)>, std::function, const rclcpp::MessageInfo&)> >&&’ [3.258s] 1399 | variant& operator=(variant&&) = default; [3.258s] | ^~~~~~~~~ [5.824s] gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1 [5.824s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2 [5.824s] gmake: *** [Makefile:146: all] Error 2 [5.826s] Invoked command in '/home/firmament/codes/24navigation/build/plc_bringup' returned '2': CMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}:/opt/ros/humble /usr/bin/cmake --build /home/firmament/codes/24navigation/build/plc_bringup -- -j8 -l8