[0.040s] 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.140s] -- Found ament_cmake: 1.3.8 (/opt/ros/humble/share/ament_cmake/cmake) [0.285s] -- Override CMake install command with custom implementation using symlinks instead of copying resources [0.303s] -- Found nav2_common: 1.1.13 (/opt/ros/humble/share/nav2_common/cmake) [0.304s] -- Found navigation2: 1.1.13 (/opt/ros/humble/share/navigation2/cmake) [0.304s] -- Found ament_cmake_auto: 1.3.8 (/opt/ros/humble/share/ament_cmake_auto/cmake) [0.309s] -- Found rclcpp: 16.0.8 (/opt/ros/humble/share/rclcpp/cmake) [0.358s] -- Found rosidl_generator_c: 3.1.5 (/opt/ros/humble/share/rosidl_generator_c/cmake) [0.361s] -- Found rosidl_adapter: 3.1.5 (/opt/ros/humble/share/rosidl_adapter/cmake) [0.373s] -- Found rosidl_generator_cpp: 3.1.5 (/opt/ros/humble/share/rosidl_generator_cpp/cmake) [0.402s] -- Using all available rosidl_typesupport_c: rosidl_typesupport_fastrtps_c;rosidl_typesupport_introspection_c [0.433s] -- Using all available rosidl_typesupport_cpp: rosidl_typesupport_fastrtps_cpp;rosidl_typesupport_introspection_cpp [0.534s] -- Found rmw_implementation_cmake: 6.1.1 (/opt/ros/humble/share/rmw_implementation_cmake/cmake) [0.539s] -- Found rmw_fastrtps_cpp: 6.2.6 (/opt/ros/humble/share/rmw_fastrtps_cpp/cmake) [0.718s] -- Using RMW implementation 'rmw_fastrtps_cpp' as default [0.887s] -- Found geometry_msgs: 4.2.3 (/opt/ros/humble/share/geometry_msgs/cmake) [0.949s] -- Found ament_lint_auto: 0.12.10 (/opt/ros/humble/share/ament_lint_auto/cmake) [1.062s] -- Added test 'copyright' to check source files copyright and LICENSE [1.065s] -- Added test 'cppcheck' to perform static code analysis on C / C++ code [1.066s] -- Configured cppcheck include dirs: [1.066s] -- Configured cppcheck exclude dirs and/or files: [1.068s] -- Added test 'cpplint' to check C / C++ code against the Google style [1.068s] -- Configured cpplint exclude dirs and/or files: [1.069s] -- Added test 'flake8' to check Python code syntax and style conventions [1.071s] -- Added test 'lint_cmake' to check CMake code style [1.071s] -- Added test 'pep257' to check Python code against some of the docstring style conventions in PEP 257 [1.074s] -- Added test 'uncrustify' to check C / C++ code style [1.074s] -- Configured uncrustify additional arguments: [1.074s] -- Added test 'xmllint' to check XML markup files [1.075s] -- Configuring done [1.083s] -- Generating done [1.085s] -- Build files have been written to: /home/firmament/codes/24navigation/build/plc_bringup [1.123s] Consolidate compiler generated dependencies of target decision_move_node [1.147s] [ 50%] Building CXX object CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o [2.945s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:34:74: error: ‘std_msgs::msg::Int8_ >::ConstPtr’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;] [2.945s] 34 | d game_progress_callback(const std_msgs::msg::Int8::ConstPtr& game_pro) [2.945s] | ^ [2.945s] [2.945s] In file included from /opt/ros/humble/include/std_msgs/std_msgs/msg/int8.hpp:7, [2.945s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:5: [2.945s] /opt/ros/humble/include/std_msgs/std_msgs/msg/detail/int8__struct.hpp:105:5: note: declared here [2.945s] 105 | ConstPtr; [2.946s] | ^~~~~~~~ [2.947s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:46:73: error: ‘std_msgs::msg::Int16_ >::ConstPtr’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;] [2.947s] 46 | id outposthp_callback(const std_msgs::msg::Int16::ConstPtr& outpost_hp) [2.947s] | ^ [2.947s] [2.947s] In file included from /opt/ros/humble/include/std_msgs/std_msgs/msg/int16.hpp:7, [2.947s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:6: [2.947s] /opt/ros/humble/include/std_msgs/std_msgs/msg/detail/int16__struct.hpp:105:5: note: declared here [2.947s] 105 | ConstPtr; [2.947s] | ^~~~~~~~ [2.948s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:57:83: error: ‘geometry_msgs::msg::PoseStamped_ >::ConstPtr’ is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Werror=deprecated-declarations]8;;] [2.948s] 57 | md_callback(const geometry_msgs::msg::PoseStamped::ConstPtr& arial_cmd) [2.948s] | ^ [2.948s] [2.948s] In file included from /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/pose_stamped.hpp:7, [2.948s] from /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:8: [2.948s] /opt/ros/humble/include/geometry_msgs/geometry_msgs/msg/detail/pose_stamped__struct.hpp:115:5: note: declared here [2.948s] 115 | ConstPtr; [2.949s] | ^~~~~~~~ [3.054s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp: In function ‘int main(int, char**)’: [3.054s] /home/firmament/codes/24navigation/src/sentry_plan_control/plc_bringup/src/decision_move_node.cpp:132:9: error: variable ‘choice’ set but not used []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-but-set-variable-Werror=unused-but-set-variable]8;;] [3.054s] 132 | char choice = 'q'; [3.054s] | ^~~~~~ [13.791s] cc1plus: all warnings being treated as errors [13.825s] gmake[2]: *** [CMakeFiles/decision_move_node.dir/build.make:76: CMakeFiles/decision_move_node.dir/src/decision_move_node.cpp.o] Error 1 [13.825s] gmake[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/decision_move_node.dir/all] Error 2 [13.825s] gmake: *** [Makefile:146: all] Error 2 [13.827s] 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