Skip to content

Include <iomanip> for setw and setfill#526

Closed
sloretz wants to merge 1 commit intomasterfrom
fix_missing_iomanip_include
Closed

Include <iomanip> for setw and setfill#526
sloretz wants to merge 1 commit intomasterfrom
fix_missing_iomanip_include

Conversation

@sloretz
Copy link
Copy Markdown
Contributor

@sloretz sloretz commented Sep 10, 2020

@dabonnie FYI this might be an alternative to reverting #523

Alternative to #525

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
@sloretz sloretz added the bug Something isn't working label Sep 10, 2020
@sloretz sloretz requested a review from dirk-thomas September 10, 2020 23:27
@sloretz sloretz self-assigned this Sep 10, 2020
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Sep 10, 2020

CI (build: --packages-up-to rmw_dds_common rosidl_runtime_cpp test: --packages-select rmw_dds_common rosidl_runtime_cpp)

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@dabonnie
Copy link
Copy Markdown
Contributor

Hey @sloretz I tried that locally and had a few more issues. Could have been some leftover items in my local environment, so we will see. If this passes happy to close out my revert, but if this fails could we proceed with the revert approach? Thanks for the quick response.

@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Sep 10, 2020

but if this fails could we proceed with the revert approach? Thanks for the quick response.

Yup. If this fails lets revert.

@dabonnie dabonnie mentioned this pull request Sep 10, 2020
@sloretz
Copy link
Copy Markdown
Contributor Author

sloretz commented Sep 10, 2020

My Local build failed too (clean build up to tf2_ros). Let's go ahead with the revert.

Build failure output in test_msgs
--- stderr: test_msgs                                                                                                                                                                                 
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/goal_status_array.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1007,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp:12:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp: In function ‘void rosidl_generator_traits::to_yaml(const GoalStatusArray&, std::ostream&, size_t)’:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:35:43: error: no matching function for call to ‘to_yaml(action_msgs::msg::GoalStatus_<std::allocator<void> >&, std::ostream&, size_t)’
   35 |         to_yaml(item, out, indentation + 2);
      |                                           ^
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp:12:
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const UUID&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:18:45: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const UUID&’ {aka ‘const unique_identifier_msgs::msg::UUID_<std::allocator<void> >&’}
   18 |   const unique_identifier_msgs::msg::UUID & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:42:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const UUID&)’
   42 | inline std::string to_yaml(const unique_identifier_msgs::msg::UUID & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:42:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:18,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp:12:
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const Time&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:18:41: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const Time&’ {aka ‘const builtin_interfaces::msg::Time_<std::allocator<void> >&’}
   18 |   const builtin_interfaces::msg::Time & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:42:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const Time&)’
   42 | inline std::string to_yaml(const builtin_interfaces::msg::Time & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:42:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp:12:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:23:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const GoalInfo&, std::ostream&, size_t)’
   23 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:24:38: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const GoalInfo&’ {aka ‘const action_msgs::msg::GoalInfo_<std::allocator<void> >&’}
   24 |   const action_msgs::msg::GoalInfo & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:46:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const GoalInfo&)’
   46 | inline std::string to_yaml(const action_msgs::msg::GoalInfo & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:46:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp:12:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:21:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const CancelGoal_Request&, std::ostream&, size_t)’
   21 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:22:48: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const CancelGoal_Request&’ {aka ‘const action_msgs::srv::CancelGoal_Request_<std::allocator<void> >&’}
   22 |   const action_msgs::srv::CancelGoal_Request & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:35:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const CancelGoal_Request&)’
   35 | inline std::string to_yaml(const action_msgs::srv::CancelGoal_Request & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:35:20: note:   candidate expects 1 argument, 3 provided
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:71:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const CancelGoal_Response&, std::ostream&, size_t)’
   71 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:72:49: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const CancelGoal_Response&’ {aka ‘const action_msgs::srv::CancelGoal_Response_<std::allocator<void> >&’}
   72 |   const action_msgs::srv::CancelGoal_Response & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:105:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const CancelGoal_Response&)’
  105 | inline std::string to_yaml(const action_msgs::srv::CancelGoal_Response & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:105:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/goal_status_array.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1007,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp:12:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const GoalStatusArray&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:18:45: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const GoalStatusArray&’ {aka ‘const action_msgs::msg::GoalStatusArray_<std::allocator<void> >&’}
   18 |   const action_msgs::msg::GoalStatusArray & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[2]: *** [CMakeFiles/test_msgs__rosidl_typesupport_introspection_cpp.dir/build.make:379: CMakeFiles/test_msgs__rosidl_typesupport_introspection_cpp.dir/rosidl_typesupport_introspection_cpp/test_msgs/action/detail/fibonacci__type_support.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:557: CMakeFiles/test_msgs__rosidl_typesupport_introspection_cpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/goal_status_array.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1007,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/fibonacci__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp: In function ‘void rosidl_generator_traits::to_yaml(const GoalStatusArray&, std::ostream&, size_t)’:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:35:43: error: no matching function for call to ‘to_yaml(action_msgs::msg::GoalStatus_<std::allocator<void> >&, std::ostream&, size_t)’
   35 |         to_yaml(item, out, indentation + 2);
      |                                           ^
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/fibonacci__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp:4:
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const UUID&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:18:45: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const UUID&’ {aka ‘const unique_identifier_msgs::msg::UUID_<std::allocator<void> >&’}
   18 |   const unique_identifier_msgs::msg::UUID & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:42:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const UUID&)’
   42 | inline std::string to_yaml(const unique_identifier_msgs::msg::UUID & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:42:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:18,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/fibonacci__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp:4:
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const Time&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:18:41: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const Time&’ {aka ‘const builtin_interfaces::msg::Time_<std::allocator<void> >&’}
   18 |   const builtin_interfaces::msg::Time & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:42:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const Time&)’
   42 | inline std::string to_yaml(const builtin_interfaces::msg::Time & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:42:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/fibonacci__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:23:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const GoalInfo&, std::ostream&, size_t)’
   23 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:24:38: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const GoalInfo&’ {aka ‘const action_msgs::msg::GoalInfo_<std::allocator<void> >&’}
   24 |   const action_msgs::msg::GoalInfo & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:46:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const GoalInfo&)’
   46 | inline std::string to_yaml(const action_msgs::msg::GoalInfo & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:46:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1005,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/fibonacci__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:21:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const CancelGoal_Request&, std::ostream&, size_t)’
   21 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:22:48: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const CancelGoal_Request&’ {aka ‘const action_msgs::srv::CancelGoal_Request_<std::allocator<void> >&’}
   22 |   const action_msgs::srv::CancelGoal_Request & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:35:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const CancelGoal_Request&)’
   35 | inline std::string to_yaml(const action_msgs::srv::CancelGoal_Request & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:35:20: note:   candidate expects 1 argument, 3 provided
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:71:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const CancelGoal_Response&, std::ostream&, size_t)’
   71 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:72:49: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const CancelGoal_Response&’ {aka ‘const action_msgs::srv::CancelGoal_Response_<std::allocator<void> >&’}
   72 |   const action_msgs::srv::CancelGoal_Response & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:105:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const CancelGoal_Response&)’
  105 | inline std::string to_yaml(const action_msgs::srv::CancelGoal_Response & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:105:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/goal_status_array.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/fibonacci__struct.hpp:1007,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/fibonacci__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const GoalStatusArray&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:18:45: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const GoalStatusArray&’ {aka ‘const action_msgs::msg::GoalStatusArray_<std::allocator<void> >&’}
   18 |   const action_msgs::msg::GoalStatusArray & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[2]: *** [CMakeFiles/test_msgs__rosidl_typesupport_fastrtps_cpp.dir/build.make:379: CMakeFiles/test_msgs__rosidl_typesupport_fastrtps_cpp.dir/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/fibonacci__type_support.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/goal_status_array.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/nested_message__struct.hpp:1117,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/nested_message__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp: In function ‘void rosidl_generator_traits::to_yaml(const GoalStatusArray&, std::ostream&, size_t)’:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:35:43: error: no matching function for call to ‘to_yaml(action_msgs::msg::GoalStatus_<std::allocator<void> >&, std::ostream&, size_t)’
   35 |         to_yaml(item, out, indentation + 2);
      |                                           ^
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/nested_message__struct.hpp:1115,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/nested_message__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp:4:
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const UUID&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:18:45: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const UUID&’ {aka ‘const unique_identifier_msgs::msg::UUID_<std::allocator<void> >&’}
   18 |   const unique_identifier_msgs::msg::UUID & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:42:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const UUID&)’
   42 | inline std::string to_yaml(const unique_identifier_msgs::msg::UUID & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/unique_identifier_msgs/include/unique_identifier_msgs/msg/detail/uuid__traits.hpp:42:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:18,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/nested_message__struct.hpp:1115,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/nested_message__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp:4:
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const Time&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:18:41: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const Time&’ {aka ‘const builtin_interfaces::msg::Time_<std::allocator<void> >&’}
   18 |   const builtin_interfaces::msg::Time & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:42:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const Time&)’
   42 | inline std::string to_yaml(const builtin_interfaces::msg::Time & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/builtin_interfaces/include/builtin_interfaces/msg/detail/time__traits.hpp:42:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:16,
                 from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/nested_message__struct.hpp:1115,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/nested_message__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:23:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const GoalInfo&, std::ostream&, size_t)’
   23 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:24:38: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const GoalInfo&’ {aka ‘const action_msgs::msg::GoalInfo_<std::allocator<void> >&’}
   24 |   const action_msgs::msg::GoalInfo & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:46:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const GoalInfo&)’
   46 | inline std::string to_yaml(const action_msgs::msg::GoalInfo & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_info__traits.hpp:46:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/cancel_goal.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/nested_message__struct.hpp:1115,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/nested_message__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:21:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const CancelGoal_Request&, std::ostream&, size_t)’
   21 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:22:48: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const CancelGoal_Request&’ {aka ‘const action_msgs::srv::CancelGoal_Request_<std::allocator<void> >&’}
   22 |   const action_msgs::srv::CancelGoal_Request & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:35:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const CancelGoal_Request&)’
   35 | inline std::string to_yaml(const action_msgs::srv::CancelGoal_Request & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:35:20: note:   candidate expects 1 argument, 3 provided
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:71:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const CancelGoal_Response&, std::ostream&, size_t)’
   71 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:72:49: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const CancelGoal_Response&’ {aka ‘const action_msgs::srv::CancelGoal_Response_<std::allocator<void> >&’}
   72 |   const action_msgs::srv::CancelGoal_Response & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:105:20: note: candidate: ‘std::string rosidl_generator_traits::to_yaml(const CancelGoal_Response&)’
  105 | inline std::string to_yaml(const action_msgs::srv::CancelGoal_Response & msg)
      |                    ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/srv/detail/cancel_goal__traits.hpp:105:20: note:   candidate expects 1 argument, 3 provided
In file included from /home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/goal_status_array.hpp:9,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_generator_cpp/test_msgs/action/detail/nested_message__struct.hpp:1117,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/nested_message__rosidl_typesupport_fastrtps_cpp.hpp:11,
                 from /home/sloretz/ws/foxy/build/test_msgs/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp:4:
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:17:13: note: candidate: ‘void rosidl_generator_traits::to_yaml(const GoalStatusArray&, std::ostream&, size_t)’
   17 | inline void to_yaml(
      |             ^~~~~~~
/home/sloretz/ws/foxy/install/action_msgs/include/action_msgs/msg/detail/goal_status_array__traits.hpp:18:45: note:   no known conversion for argument 1 from ‘action_msgs::msg::GoalStatus_<std::allocator<void> >’ to ‘const GoalStatusArray&’ {aka ‘const action_msgs::msg::GoalStatusArray_<std::allocator<void> >&’}
   18 |   const action_msgs::msg::GoalStatusArray & msg,
      |   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
make[2]: *** [CMakeFiles/test_msgs__rosidl_typesupport_fastrtps_cpp.dir/build.make:405: CMakeFiles/test_msgs__rosidl_typesupport_fastrtps_cpp.dir/rosidl_typesupport_fastrtps_cpp/test_msgs/action/detail/dds_fastrtps/nested_message__type_support.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:476: CMakeFiles/test_msgs__rosidl_typesupport_fastrtps_cpp.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed   <<< test_msgs [1min 15s, exited with code 2]
Details

@sloretz sloretz closed this Sep 10, 2020
@sloretz sloretz deleted the fix_missing_iomanip_include branch September 10, 2020 23:34
@dabonnie
Copy link
Copy Markdown
Contributor

@sloretz FWIW that's what I saw as well.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants