Skip to content

fix: compile error when using RCLCPP_*_STREAM_FUNCTION - #3462

Open
Nisarg236 wants to merge 2 commits into
ros2:rollingfrom
Nisarg236:fix-stream-function-arg
Open

Nisarg236 wants to merge 2 commits into
ros2:rollingfrom
Nisarg236:fix-stream-function-arg

Conversation

@Nisarg236

@Nisarg236 Nisarg236 commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

RCLCPP_INFO_STREAM_FUNCTION(logger, &func, "hello " << 1); fails to compile because the RCLCPP_*_STREAM_FUNCTION macros pass stream_args instead of stream_arg.

Is this user-facing behavior change?

No

Did you use Generative AI?

For review if any missed any macro

Signed-off-by: Nisarg <nisargnileshpanchal@gmail.com>
@Nisarg236
Nisarg236 marked this pull request as ready for review December 1, 2026 14:41
@Nisarg236 Nisarg236 changed the title Fix stream_arg typo in RCLCPP_*_STREAM_FUNCTION macros fix: typo in variable name in RCLCPP_*_STREAM_FUNCTION macros Dec 1, 2026
@Nisarg236 Nisarg236 changed the title fix: typo in variable name in RCLCPP_*_STREAM_FUNCTION macros fix: compile error when using RCLCPP_*_STREAM_FUNCTION Dec 1, 2026
@jmachowinski

Copy link
Copy Markdown
Collaborator

Hu ? Is there no test using these macros ?

@Nisarg236 Can you add some tests so we catch these compile errors in the future ?

Signed-off-by: Nisarg <nisargnileshpanchal@gmail.com>
@Nisarg236

Nisarg236 commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor Author

Hu ? Is there no test using these macros ?

unfortunately this one was missing tests so it was never compiled till now ☹️

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

ABI Compliance Check

❌ Verdict: incompatible

Library Verdict Summary
libcomponent_manager.so ❌ incompatible ABI changed: 0 removed, 3 changed, 0 added declaration(s); removed or changed declarations break backward compatibility.
librclcpp.so ❌ incompatible ABI changed: 0 removed, 16 changed, 0 added declaration(s); removed or changed declarations break backward compatibility.
librclcpp_action.so ✅ compatible No ABI changes detected.
librclcpp_lifecycle.so ❌ incompatible ABI changed: 0 removed, 4 changed, 0 added declaration(s); removed or changed declarations break backward compatibility.
❌ libcomponent_manager.so — full abidiff report

Compared:

  • Base: lib-base/libcomponent_manager.so
  • Head: lib-pr/libcomponent_manager.so @ 64d8c46
Functions changes summary: 0 Removed, 3 Changed (177 filtered out), 0 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

3 functions with some indirect sub-type change:

  [C] 'method void rclcpp::Service<composition_interfaces::srv::ListNodes>::Service(std::shared_ptr<rcl_node_s>, const std::string&, rclcpp::AnyServiceCallback<composition_interfaces::srv::ListNodes>, rcl_service_options_t&)' at service.hpp:265:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN22composition_interfaces3srv9ListNodesEEC2ESt10shared_ptrI10rcl_node_sERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18AnyServiceCallbackIS3_EER21rcl_service_options_s
     and it aliases symbol: _ZN6rclcpp7ServiceIN22composition_interfaces3srv9ListNodesEEC1ESt10shared_ptrI10rcl_node_sERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18AnyServiceCallbackIS3_EER21rcl_service_options_s
    implicit parameter 0 of type 'rclcpp::Service<composition_interfaces::srv::ListNodes>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<composition_interfaces::srv::ListNodes>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        1 base class changes (1 filtered):
          'class rclcpp::ServiceBase' at service.hpp:48:1 changed:
            type size changed from 1408 to 1280 (in bits)
            no member function changes (6 filtered);
            1 data member deletion:
              'rclcpp::Clock::SharedPtr introspection_clock_', at offset 192 (in bits) at service.hpp:218:1
            6 data member changes:
              'std::recursive_mutex callback_mutex_' offset changed from 320 to 192 (in bits) (by -128 bits)
              'std::function<void(longunsignedint)> on_new_request_callback_' offset changed from 640 to 512 (in bits) (by -128 bits)
              'std::shared_ptr<rcl_service_s> service_handle_' offset changed from 896 to 768 (in bits) (by -128 bits)
              'bool owns_rcl_handle_' offset changed from 1024 to 896 (in bits) (by -128 bits)
              'rclcpp::Logger node_logger_' offset changed from 1088 to 960 (in bits) (by -128 bits)
              'std::atomic<bool> in_use_by_wait_set_' offset changed from 1344 to 1216 (in bits) (by -128 bits)
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<composition_interfaces::srv::ListNodes> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Service<composition_interfaces::srv::LoadNode>::Service(std::shared_ptr<rcl_node_s>, const std::string&, rclcpp::AnyServiceCallback<composition_interfaces::srv::LoadNode>, rcl_service_options_t&)' at service.hpp:265:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN22composition_interfaces3srv8LoadNodeEEC2ESt10shared_ptrI10rcl_node_sERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18AnyServiceCallbackIS3_EER21rcl_service_options_s
     and it aliases symbol: _ZN6rclcpp7ServiceIN22composition_interfaces3srv8LoadNodeEEC1ESt10shared_ptrI10rcl_node_sERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18AnyServiceCallbackIS3_EER21rcl_service_options_s
    implicit parameter 0 of type 'rclcpp::Service<composition_interfaces::srv::LoadNode>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<composition_interfaces::srv::LoadNode>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        no base class changes (2 filtered);
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<composition_interfaces::srv::LoadNode> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Service<composition_interfaces::srv::UnloadNode>::Service(std::shared_ptr<rcl_node_s>, const std::string&, rclcpp::AnyServiceCallback<composition_interfaces::srv::UnloadNode>, rcl_service_options_t&)' at service.hpp:265:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN22composition_interfaces3srv10UnloadNodeEEC2ESt10shared_ptrI10rcl_node_sERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18AnyServiceCallbackIS3_EER21rcl_service_options_s
     and it aliases symbol: _ZN6rclcpp7ServiceIN22composition_interfaces3srv10UnloadNodeEEC1ESt10shared_ptrI10rcl_node_sERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_18AnyServiceCallbackIS3_EER21rcl_service_options_s
    implicit parameter 0 of type 'rclcpp::Service<composition_interfaces::srv::UnloadNode>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<composition_interfaces::srv::UnloadNode>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        no base class changes (2 filtered);
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<composition_interfaces::srv::UnloadNode> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)


❌ librclcpp.so — full abidiff report

Compared:

  • Base: lib-base/librclcpp.so
  • Head: lib-pr/librclcpp.so @ 64d8c46
Functions changes summary: 0 Removed, 16 Changed (2176 filtered out), 0 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

16 functions with some indirect sub-type change:

  [C] 'method void rclcpp::Client<rcl_interfaces::srv::DescribeParameters>::Client(rclcpp::node_interfaces::NodeBaseInterface*, const rclcpp::node_interfaces::NodeGraphInterface::SharedPtr&, const std::string&, rcl_client_options_t&)' at client.hpp:429:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp6ClientIN14rcl_interfaces3srv18DescribeParametersEEC2EPNS_15node_interfaces17NodeBaseInterfaceERKSt10shared_ptrINS5_18NodeGraphInterfaceEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER20rcl_client_options_s
     and it aliases symbol: _ZN6rclcpp6ClientIN14rcl_interfaces3srv18DescribeParametersEEC1EPNS_15node_interfaces17NodeBaseInterfaceERKSt10shared_ptrINS5_18NodeGraphInterfaceEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER20rcl_client_options_s
    implicit parameter 0 of type 'rclcpp::Client<rcl_interfaces::srv::DescribeParameters>*' has sub-type changes:
      in pointed to type 'class rclcpp::Client<rcl_interfaces::srv::DescribeParameters>' at client.hpp:341:1:
        type size changed from 2432 to 2304 (in bits)
        1 base class change:
          'class rclcpp::ClientBase' at client.hpp:136:1 changed:
            type size changed from 1600 to 1472 (in bits)
            no member function changes (6 filtered);
            1 data member deletion:
              'rclcpp::Clock::SharedPtr introspection_clock_', at offset 704 (in bits) at client.hpp:330:1
            4 data member changes:
              'std::recursive_mutex callback_mutex_' offset changed from 832 to 704 (in bits) (by -128 bits)
              'std::function<void(longunsignedint)> on_new_response_callback_' offset changed from 1152 to 1024 (in bits) (by -128 bits)
              'std::shared_ptr<rcl_client_s> client_handle_' offset changed from 1408 to 1280 (in bits) (by -128 bits)
              'std::atomic<bool> in_use_by_wait_set_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
        no member function changes (6 filtered);
        3 data member changes:
          'std::unordered_map<longint,std::pair<std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<longint,std::ratio<1,1000000000>>>,std::variant<std::promise<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>,std::tuple<std::function<void(std::shared_future<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>)>,std::shared_future<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>,std::promise<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>,std::tuple<std::function<void(std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>)>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>,std::promise<std::pair<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>>>>,std::hash<longint>,std::equal_to<longint>,std::allocator<std::pair<longintconst,std::pair<std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<longint,std::ratio<1,1000000000>>>,std::variant<std::promise<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>,std::tuple<std::function<void(std::shared_future<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>)>,std::shared_future<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>,std::promise<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>,std::tuple<std::function<void(std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>)>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>,std::promise<std::pair<std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::DescribeParameters_Response_<std::allocator<void>>>>>>>>>>> pending_requests_' offset changed from 1600 to 1472 (in bits) (by -128 bits)
          'std::mutex pending_requests_mutex_' offset changed from 2048 to 1920 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 2368 to 2240 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Client<rcl_interfaces::srv::GetParameterTypes>::Client(rclcpp::node_interfaces::NodeBaseInterface*, const rclcpp::node_interfaces::NodeGraphInterface::SharedPtr&, const std::string&, rcl_client_options_t&)' at client.hpp:429:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp6ClientIN14rcl_interfaces3srv17GetParameterTypesEEC2EPNS_15node_interfaces17NodeBaseInterfaceERKSt10shared_ptrINS5_18NodeGraphInterfaceEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER20rcl_client_options_s
     and it aliases symbol: _ZN6rclcpp6ClientIN14rcl_interfaces3srv17GetParameterTypesEEC1EPNS_15node_interfaces17NodeBaseInterfaceERKSt10shared_ptrINS5_18NodeGraphInterfaceEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER20rcl_client_options_s
    implicit parameter 0 of type 'rclcpp::Client<rcl_interfaces::srv::GetParameterTypes>*' has sub-type changes:
      in pointed to type 'class rclcpp::Client<rcl_interfaces::srv::GetParameterTypes>' at client.hpp:341:1:
        type size changed from 2432 to 2304 (in bits)
        no base class change (1 filtered);
        no member function changes (6 filtered);
        3 data member changes:
          'std::unordered_map<longint,std::pair<std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<longint,std::ratio<1,1000000000>>>,std::variant<std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>,std::tuple<std::function<void(std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>)>,std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>,std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>,std::tuple<std::function<void(std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>)>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>,std::promise<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>>>>,std::hash<longint>,std::equal_to<longint>,std::allocator<std::pair<longintconst,std::pair<std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<longint,std::ratio<1,1000000000>>>,std::variant<std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>,std::tuple<std::function<void(std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>)>,std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>,std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>,std::tuple<std::function<void(std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>)>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>,std::promise<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameterTypes_Response_<std::allocator<void>>>>>>>>>>> pending_requests_' offset changed from 1600 to 1472 (in bits) (by -128 bits)
          'std::mutex pending_requests_mutex_' offset changed from 2048 to 1920 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 2368 to 2240 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Client<rcl_interfaces::srv::GetParameters>::Client(rclcpp::node_interfaces::NodeBaseInterface*, const rclcpp::node_interfaces::NodeGraphInterface::SharedPtr&, const std::string&, rcl_client_options_t&)' at client.hpp:429:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp6ClientIN14rcl_interfaces3srv13GetParametersEEC2EPNS_15node_interfaces17NodeBaseInterfaceERKSt10shared_ptrINS5_18NodeGraphInterfaceEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER20rcl_client_options_s
     and it aliases symbol: _ZN6rclcpp6ClientIN14rcl_interfaces3srv13GetParametersEEC1EPNS_15node_interfaces17NodeBaseInterfaceERKSt10shared_ptrINS5_18NodeGraphInterfaceEERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEER20rcl_client_options_s
    implicit parameter 0 of type 'rclcpp::Client<rcl_interfaces::srv::GetParameters>*' has sub-type changes:
      in pointed to type 'class rclcpp::Client<rcl_interfaces::srv::GetParameters>' at client.hpp:341:1:
        type size changed from 2432 to 2304 (in bits)
        no base class change (1 filtered);
        no member function changes (6 filtered);
        3 data member changes:
          'std::unordered_map<longint,std::pair<std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<longint,std::ratio<1,1000000000>>>,std::variant<std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>,std::tuple<std::function<void(std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>)>,std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>,std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>,std::tuple<std::function<void(std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>)>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>,std::promise<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>>>>,std::hash<longint>,std::equal_to<longint>,std::allocator<std::pair<longintconst,std::pair<std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<longint,std::ratio<1,1000000000>>>,std::variant<std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>,std::tuple<std::function<void(std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>)>,std::shared_future<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>,std::promise<std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>,std::tuple<std::function<void(std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>)>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_future<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>,std::promise<std::pair<std::shared_ptr<rcl_interfaces::srv::GetParameters_Request_<std::allocator<void>>>,std::shared_ptr<rcl_interfaces::srv::GetParameters_Response_<std::allocator<void>>>>>>>>>>> pending_requests_' offset changed from 1600 to 1472 (in bits) (by -128 bits)
          'std::mutex pending_requests_mutex_' offset changed from 2048 to 1920 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 2368 to 2240 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Client<rcl_interfaces::srv::ListParameters>::Client(rclcpp::node_interfaces::NodeBaseInterface*, const rclcpp::node_interfaces::NodeGr
... (report truncated; the full report is in the check run artifacts: https://github.com/ros2/rclcpp/actions/runs/46856684392)
✅ librclcpp_action.so — full abidiff report

Compared:

  • Base: lib-base/librclcpp_action.so
  • Head: lib-pr/librclcpp_action.so @ 64d8c46
(empty report — no differences printed by abidiff)
❌ librclcpp_lifecycle.so — full abidiff report

Compared:

  • Base: lib-base/librclcpp_lifecycle.so
  • Head: lib-pr/librclcpp_lifecycle.so @ 64d8c46
Functions changes summary: 0 Removed, 4 Changed (300 filtered out), 0 Added functions
Variables changes summary: 0 Removed, 0 Changed, 0 Added variable

4 functions with some indirect sub-type change:

  [C] 'method void rclcpp::Service<lifecycle_msgs::srv::ChangeState>::Service(const std::shared_ptr<rcl_node_s>&, rcl_service_t*, rclcpp::AnyServiceCallback<lifecycle_msgs::srv::ChangeState>)' at service.hpp:362:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv11ChangeStateEEC2ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
     and it aliases symbol: _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv11ChangeStateEEC1ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
    implicit parameter 0 of type 'rclcpp::Service<lifecycle_msgs::srv::ChangeState>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<lifecycle_msgs::srv::ChangeState>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        1 base class changes (1 filtered):
          'class rclcpp::ServiceBase' at service.hpp:48:1 changed:
            type size changed from 1408 to 1280 (in bits)
            no member function changes (6 filtered);
            1 data member deletion:
              'rclcpp::Clock::SharedPtr introspection_clock_', at offset 192 (in bits) at service.hpp:218:1
            6 data member changes:
              'std::recursive_mutex callback_mutex_' offset changed from 320 to 192 (in bits) (by -128 bits)
              'std::function<void(longunsignedint)> on_new_request_callback_' offset changed from 640 to 512 (in bits) (by -128 bits)
              'std::shared_ptr<rcl_service_s> service_handle_' offset changed from 896 to 768 (in bits) (by -128 bits)
              'bool owns_rcl_handle_' offset changed from 1024 to 896 (in bits) (by -128 bits)
              'rclcpp::Logger node_logger_' offset changed from 1088 to 960 (in bits) (by -128 bits)
              'std::atomic<bool> in_use_by_wait_set_' offset changed from 1344 to 1216 (in bits) (by -128 bits)
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<lifecycle_msgs::srv::ChangeState> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Service<lifecycle_msgs::srv::GetAvailableStates>::Service(const std::shared_ptr<rcl_node_s>&, rcl_service_t*, rclcpp::AnyServiceCallback<lifecycle_msgs::srv::GetAvailableStates>)' at service.hpp:362:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv18GetAvailableStatesEEC2ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
     and it aliases symbol: _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv18GetAvailableStatesEEC1ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
    implicit parameter 0 of type 'rclcpp::Service<lifecycle_msgs::srv::GetAvailableStates>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<lifecycle_msgs::srv::GetAvailableStates>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        no base class changes (2 filtered);
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<lifecycle_msgs::srv::GetAvailableStates> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Service<lifecycle_msgs::srv::GetAvailableTransitions>::Service(const std::shared_ptr<rcl_node_s>&, rcl_service_t*, rclcpp::AnyServiceCallback<lifecycle_msgs::srv::GetAvailableTransitions>)' at service.hpp:362:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv23GetAvailableTransitionsEEC2ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
     and it aliases symbol: _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv23GetAvailableTransitionsEEC1ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
    implicit parameter 0 of type 'rclcpp::Service<lifecycle_msgs::srv::GetAvailableTransitions>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<lifecycle_msgs::srv::GetAvailableTransitions>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        no base class changes (2 filtered);
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<lifecycle_msgs::srv::GetAvailableTransitions> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)

  [C] 'method void rclcpp::Service<lifecycle_msgs::srv::GetState>::Service(const std::shared_ptr<rcl_node_s>&, rcl_service_t*, rclcpp::AnyServiceCallback<lifecycle_msgs::srv::GetState>)' at service.hpp:362:1 has some indirect sub-type changes:
    Please note that the symbol of this function is _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv8GetStateEEC2ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
     and it aliases symbol: _ZN6rclcpp7ServiceIN14lifecycle_msgs3srv8GetStateEEC1ERKSt10shared_ptrI10rcl_node_sEP13rcl_service_sNS_18AnyServiceCallbackIS3_EE
    implicit parameter 0 of type 'rclcpp::Service<lifecycle_msgs::srv::GetState>*' has sub-type changes:
      in pointed to type 'class rclcpp::Service<lifecycle_msgs::srv::GetState>' at service.hpp:231:1:
        type size changed from 1920 to 1792 (in bits)
        no base class changes (2 filtered);
        no member function changes (6 filtered);
        2 data member changes:
          'rclcpp::AnyServiceCallback<lifecycle_msgs::srv::GetState> any_callback_' offset changed from 1536 to 1408 (in bits) (by -128 bits)
          'const rosidl_service_type_support_t* srv_type_support_handle_' offset changed from 1856 to 1728 (in bits) (by -128 bits)


Updated for commit 64d8c46 · check run · suppressions: /home/runner/work/_temp/ros2-abi-suppressions.txt

@jmachowinski

Copy link
Copy Markdown
Collaborator

Pulls: #3462
Gist: https://gist.githubusercontent.com/jmachowinski/c06a384e24ad6d4161713ca084333555/raw/79045a29c557324b9970fe113eee45fdf0df623e/ros2.repos
BUILD args:
TEST args:
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/21445

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya

Copy link
Copy Markdown
Collaborator

(Note for ABI compliance checker) The PR head was 9 commits behind rolling, that results in the ABI incompatible label because action always checks the ABI compliance against rolling head. i will try to address this situation on the ros2-abi github action side.

i think that CI is supposed to be run after the rebase, that confirms there is no regression in this PR basically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants