Stdout: scons: Entering directory `/home/runner/.ufbt/current/scripts/ufbt' CPP /tmp/tmp0bkls5rv/code/tracking/sensors/gyroscope_bias_estimator.cc CPP /tmp/tmp0bkls5rv/code/tracking/sensors/lowpass_filter.cc CPP /tmp/tmp0bkls5rv/code/tracking/sensors/mean_filter.cc CPP /tmp/tmp0bkls5rv/code/tracking/sensors/median_filter.cc CPP /tmp/tmp0bkls5rv/code/tracking/sensors/pose_prediction.cc CPP /tmp/tmp0bkls5rv/code/tracking/sensors/sensor_fusion_ekf.cc CPP /tmp/tmp0bkls5rv/code/tracking/util/matrix_3x3.cc CPP /tmp/tmp0bkls5rv/code/tracking/util/matrix_4x4.cc CPP /tmp/tmp0bkls5rv/code/tracking/util/matrixutils.cc CPP /tmp/tmp0bkls5rv/code/tracking/util/rotation.cc CPP /tmp/tmp0bkls5rv/code/tracking/util/vectorutils.cc CPP /tmp/tmp0bkls5rv/code/tracking/calibration_data.cc CPP /tmp/tmp0bkls5rv/code/tracking/main_loop.cc CPP /tmp/tmp0bkls5rv/code/tracking/orientation_tracker.cc CC /tmp/tmp0bkls5rv/code/tracking/imu/bmi160.c CC /tmp/tmp0bkls5rv/code/tracking/imu/imu.c CC /tmp/tmp0bkls5rv/code/tracking/imu/lsm6ds3trc.c Stderr: In file included from /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:60, from /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/algorithm:61, from /tmp/tmp0bkls5rv/code/tracking/calibration_data.cc:9: /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_heap.h: In function 'constexpr void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Distance = int; _Tp = double; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_heap.h:224:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 224 | __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex, | ^~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h: In function 'constexpr void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Val_less_iter]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1782:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1782 | __unguarded_linear_insert(_RandomAccessIterator __last, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h: In function 'constexpr void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1802 | __insertion_sort(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1802:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /tmp/tmp0bkls5rv/code/tracking/imu/lsm6ds3trc.c: In function 'lsm6ds3trc_begin': /tmp/tmp0bkls5rv/code/tracking/imu/lsm6ds3trc.c:32:27: error: assignment discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers] 32 | lsm6ds3trc_ctx.handle = &furi_hal_i2c_handle_external; | ^ In file included from /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/vector:70, from /tmp/tmp0bkls5rv/code/tracking/calibration_data.h:5, from /tmp/tmp0bkls5rv/code/tracking/calibration_data.cc:6: /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/vector.tcc: In member function 'constexpr void std::vector<_Tp, _Alloc>::_M_realloc_insert(iterator, _Args&& ...) [with _Args = {const double&}; _Tp = double; _Alloc = std::allocator]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/vector.tcc:439:7: note: parameter passing for argument of type 'std::vector::iterator' changed in GCC 7.1 439 | vector<_Tp, _Alloc>:: | ^~~~~~~~~~~~~~~~~~~ In file included from /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/vector:64: /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h: In member function 'constexpr void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = double; _Alloc = std::allocator]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_vector.h:1287:28: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1287 | _M_realloc_insert(end(), __x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ cc1: all warnings being treated as errors /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h: In function 'constexpr void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1625:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1625 | __heap_select(_RandomAccessIterator __first, | ^~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1625:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1625:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h: In function 'constexpr void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1908 | __introsort_loop(_RandomAccessIterator __first, | ^~~~~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1908:5: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 In function 'constexpr void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'constexpr void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1916:27: /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1900:25: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1900 | std::__heap_select(__first, __middle, __last, __comp); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h: In function 'constexpr void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Size = int; _Compare = __gnu_cxx::__ops::_Iter_less_iter]': /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1922:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1922 | std::__introsort_loop(__cut, __last, __depth_limit, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'constexpr void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:4820:18, inlined from 'double medianOf(std::vector&)' at /tmp/tmp0bkls5rv/code/tracking/calibration_data.cc:56:14: /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1937:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1937 | std::__introsort_loop(__first, __last, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ 1938 | std::__lg(__last - __first) * 2, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1939 | __comp); | ~~~~~~~ In function 'constexpr void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]', inlined from 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator >; _Compare = __gnu_cxx::__ops::_Iter_less_iter]' at /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1940:31, inlined from 'constexpr void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator >]' at /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:4820:18, inlined from 'double medianOf(std::vector&)' at /tmp/tmp0bkls5rv/code/tracking/calibration_data.cc:56:14: /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1849:32: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1849 | std::__insertion_sort(__first, __first + int(_S_threshold), __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/runner/.ufbt/toolchain/x86_64-linux/arm-none-eabi/include/c++/12.3.1/bits/stl_algo.h:1854:30: note: parameter passing for argument of type '__gnu_cxx::__normal_iterator >' changed in GCC 7.1 1854 | std::__insertion_sort(__first, __last, __comp); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ scons: *** [/home/runner/.ufbt/build/air_mouse/tracking/imu/lsm6ds3trc.o] Error 1