Advertisement
ArshiaAghaei

Untitled

Jan 15th, 2024 (edited)
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 119.46 KB | None | 0 0
  1. ====================[ Build | Reactaio | Debug ]================================
  2. cmake --build /home/arshia/CLionProjects/ReactAIO/cmake-build-debug --target Reactaio -j 6
  3. [1/12] Building CXX object CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o
  4. FAILED: CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o
  5. clang++ -DDPP_CORO  -std=c++20  -fexperimental-library -v -g -std=gnu++20 -fcolor-diagnostics -MD -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o -MF CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o.d -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o -c /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp
  6. clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2a06757a200cc8dd4c3aeca98509d50d75bb4a27)
  7. Target: x86_64-unknown-linux-gnu
  8. Thread model: posix
  9. InstalledDir: /usr/local/bin
  10. Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1
  11. Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  12. Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  13. Candidate multilib: .;@m64
  14. Candidate multilib: 32;@m32
  15. Selected multilib: .;@m64
  16.  (in-process)
  17.  "/usr/local/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -main-file-name unban_wrapper.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -resource-dir /usr/local/lib/clang/17 -dependency-file CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o.d -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o -sys-header-deps -D DPP_CORO -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1 -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward -internal-isystem /usr/local/lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++20 -fdeprecated-macro -fdebug-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -fexperimental-library -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp.o -x c++ /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp
  18. clang -cc1 version 17.0.0 based upon LLVM 17.0.0git default target x86_64-unknown-linux-gnu
  19. ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
  20. ignoring nonexistent directory "/include"
  21. #include "..." search starts here:
  22. #include <...> search starts here:
  23.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
  24.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
  25.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
  26.  /usr/local/lib/clang/17/include
  27.  /usr/local/include
  28.  /usr/include
  29. End of search list.
  30. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp:12:
  31. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../mod_action.h:7:
  32. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../../core/datatypes/fixed_map.h:50:13: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  33.                                         return map.at(key);
  34.                                                ^~~
  35. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../../core/datatypes/fixed_map.h:74:11: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::lookup' requested here
  36.                         return lookup(key, false);
  37.                                ^
  38. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp:114:45: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::operator[]' requested here
  39.                                                           reactaio::internal::mod_action_name["unban"], std::to_string(command.author.user_id), std::to_string(user->id),
  40.                                                                                              ^
  41. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp:12:
  42. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../mod_action.h:7:
  43. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../../core/datatypes/fixed_map.h:51:12: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  44.                                 return map[key];
  45.                                        ^~~
  46. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp:5:
  47. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/unordered_set:41:
  48. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_set.h:33:
  49. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:35:
  50. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:39:
  51. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ext/alloc_traits.h:34:
  52. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:4: error: no matching function for call to 'construct_at'
  53.           std::construct_at(__p, std::forward<_Args>(__args)...);
  54.           ^~~~~~~~~~~~~~~~~
  55. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  56.             __node_alloc_traits::construct(_M_node_allocator(),
  57.                                  ^
  58. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:248:16: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  59.         { return _M_h._M_allocate_node(std::forward<_Args>(__args)...); }
  60.                       ^
  61. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:161:11: note: in instantiation of function template specialization 'std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::operator()<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  62.           return __node_gen(std::forward<_Kt>(__k),
  63.                  ^
  64. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:2257:22: note: in instantiation of function template specialization 'std::__detail::_NodeBuilder<std::__detail::_Select1st>::_S_build<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  65.           __node_builder_t::_S_build(std::forward<_Kt>(__k),
  66.                             ^
  67. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:904:11: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_M_insert_unique<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  68.           return _M_insert_unique(
  69.                  ^
  70. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:916:11: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  71.           return _M_insert_unique_aux(
  72.                  ^
  73. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:1200:15: note: in instantiation of function template specialization 'std::__detail::_Insert_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::insert<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  74.       { this->insert(__f, __l); }
  75.               ^
  76. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:567:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  77.         : _Hashtable(__f, __l, __bkt_count_hint, __hf, __eql, __a,
  78.           ^
  79. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:184:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  80.         : _M_h(__first, __last, __n, __hf, __eql, __a)
  81.           ^
  82. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../../core/datatypes/fixed_map.h:31:70: note: in instantiation of function template specialization 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::unordered_map<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  83.                         static std::unordered_map<Key, Value&, Hash, KeyEqual, Allocator> map {m_array.begin(), m_array.end()};
  84.                                                                                           ^
  85. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../../core/datatypes/fixed_map.h:48:16: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::get_map' requested here
  86.                                 auto map = get_map();
  87.                                            ^
  88. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = std::pair<const std::basic_string<char>, std::basic_string<char> &>, _Args = <const std::basic_string<char> &, const std::basic_string<char> &>]: no matching constructor for initialization of 'std::pair<const std::basic_string<char>, std::basic_string<char> &>'
  89.     construct_at(_Tp* __location, _Args&&... __args)
  90.     ^
  91. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/unban_wrapper.cpp:5:
  92. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/unordered_set:41:
  93. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_set.h:33:
  94. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:35:
  95. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:34:
  96. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2254:2: error: reference to type 'std::basic_string<char>' requires an initializer
  97.         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  98.         ^
  99. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2241:9: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &, 0UL>' requested here
  100.       : pair(__first, __second,
  101.         ^
  102. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:97:39: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &>' requested here
  103.     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
  104.                                       ^
  105. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:9: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  106.           std::construct_at(__p, std::forward<_Args>(__args)...);
  107.                ^
  108. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  109.             __node_alloc_traits::construct(_M_node_allocator(),
  110.                                  ^
  111. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:307:19: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  112.             _M_node(__h->_M_allocate_node(std::forward<_Args>(__args)...))
  113.                          ^
  114. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:814:42: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Scoped_node::_Scoped_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  115.       typename __hashtable::_Scoped_node __node {
  116.                                          ^
  117. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:987:16: note: in instantiation of member function 'std::__detail::_Map_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::operator[]' requested here
  118.       { return _M_h[__k]; }
  119.                ^
  120. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/unban/../../../core/datatypes/fixed_map.h:51:12: note: in instantiation of member function 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::operator[]' requested here
  121.                                 return map[key];
  122.                                        ^
  123. 2 warnings and 2 errors generated.
  124. [2/12] Building CXX object CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o
  125. FAILED: CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o
  126. clang++ -DDPP_CORO  -std=c++20  -fexperimental-library -v -g -std=gnu++20 -fcolor-diagnostics -MD -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o -MF CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o.d -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o -c /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp
  127. clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2a06757a200cc8dd4c3aeca98509d50d75bb4a27)
  128. Target: x86_64-unknown-linux-gnu
  129. Thread model: posix
  130. InstalledDir: /usr/local/bin
  131. Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1
  132. Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  133. Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  134. Candidate multilib: .;@m64
  135. Candidate multilib: 32;@m32
  136. Selected multilib: .;@m64
  137.  (in-process)
  138.  "/usr/local/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -main-file-name ban_wrapper.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -resource-dir /usr/local/lib/clang/17 -dependency-file CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o.d -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o -sys-header-deps -D DPP_CORO -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1 -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward -internal-isystem /usr/local/lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++20 -fdeprecated-macro -fdebug-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -fexperimental-library -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp.o -x c++ /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp
  139. clang -cc1 version 17.0.0 based upon LLVM 17.0.0git default target x86_64-unknown-linux-gnu
  140. ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
  141. ignoring nonexistent directory "/include"
  142. #include "..." search starts here:
  143. #include <...> search starts here:
  144.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
  145.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
  146.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
  147.  /usr/local/lib/clang/17/include
  148.  /usr/local/include
  149.  /usr/include
  150. End of search list.
  151. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp:9:
  152. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../mod_action.h:7:
  153. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/fixed_map.h:50:13: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  154.                                         return map.at(key);
  155.                                                ^~~
  156. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/fixed_map.h:74:11: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::lookup' requested here
  157.                         return lookup(key, false);
  158.                                ^
  159. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp:107:47: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::operator[]' requested here
  160.                                                                           reactaio::internal::mod_action_name["ban"], duration->to_string(),
  161.                                                                                                              ^
  162. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp:9:
  163. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../mod_action.h:7:
  164. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/fixed_map.h:51:12: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  165.                                 return map[key];
  166.                                        ^~~
  167. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp:5:
  168. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.h:7:
  169. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../hybrid_wrapper.h:7:
  170. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../command_wrapper.h:7:
  171. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/duration.h:8:
  172. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  173. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  174. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  175. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  176. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  177. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  178. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:54:
  179. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/basic_string.h:39:
  180. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ext/alloc_traits.h:34:
  181. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:4: error: no matching function for call to 'construct_at'
  182.           std::construct_at(__p, std::forward<_Args>(__args)...);
  183.           ^~~~~~~~~~~~~~~~~
  184. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  185.             __node_alloc_traits::construct(_M_node_allocator(),
  186.                                  ^
  187. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:248:16: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  188.         { return _M_h._M_allocate_node(std::forward<_Args>(__args)...); }
  189.                       ^
  190. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:161:11: note: in instantiation of function template specialization 'std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::operator()<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  191.           return __node_gen(std::forward<_Kt>(__k),
  192.                  ^
  193. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:2257:22: note: in instantiation of function template specialization 'std::__detail::_NodeBuilder<std::__detail::_Select1st>::_S_build<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  194.           __node_builder_t::_S_build(std::forward<_Kt>(__k),
  195.                             ^
  196. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:904:11: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_M_insert_unique<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  197.           return _M_insert_unique(
  198.                  ^
  199. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:916:11: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  200.           return _M_insert_unique_aux(
  201.                  ^
  202. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:1200:15: note: in instantiation of function template specialization 'std::__detail::_Insert_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::insert<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  203.       { this->insert(__f, __l); }
  204.               ^
  205. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:567:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  206.         : _Hashtable(__f, __l, __bkt_count_hint, __hf, __eql, __a,
  207.           ^
  208. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:184:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  209.         : _M_h(__first, __last, __n, __hf, __eql, __a)
  210.           ^
  211. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/fixed_map.h:31:70: note: in instantiation of function template specialization 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::unordered_map<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  212.                         static std::unordered_map<Key, Value&, Hash, KeyEqual, Allocator> map {m_array.begin(), m_array.end()};
  213.                                                                                           ^
  214. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/fixed_map.h:48:16: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::get_map' requested here
  215.                                 auto map = get_map();
  216.                                            ^
  217. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = std::pair<const std::basic_string<char>, std::basic_string<char> &>, _Args = <const std::basic_string<char> &, const std::basic_string<char> &>]: no matching constructor for initialization of 'std::pair<const std::basic_string<char>, std::basic_string<char> &>'
  218.     construct_at(_Tp* __location, _Args&&... __args)
  219.     ^
  220. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.cpp:5:
  221. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/ban_wrapper.h:7:
  222. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../hybrid_wrapper.h:7:
  223. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../command_wrapper.h:7:
  224. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/duration.h:8:
  225. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  226. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  227. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  228. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  229. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  230. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  231. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:58:
  232. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/memory_resource.h:41:
  233. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/uses_allocator_args.h:38:
  234. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2254:2: error: reference to type 'std::basic_string<char>' requires an initializer
  235.         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  236.         ^
  237. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2241:9: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &, 0UL>' requested here
  238.       : pair(__first, __second,
  239.         ^
  240. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:97:39: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &>' requested here
  241.     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
  242.                                       ^
  243. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:9: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  244.           std::construct_at(__p, std::forward<_Args>(__args)...);
  245.                ^
  246. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  247.             __node_alloc_traits::construct(_M_node_allocator(),
  248.                                  ^
  249. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:307:19: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  250.             _M_node(__h->_M_allocate_node(std::forward<_Args>(__args)...))
  251.                          ^
  252. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:814:42: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Scoped_node::_Scoped_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  253.       typename __hashtable::_Scoped_node __node {
  254.                                          ^
  255. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:987:16: note: in instantiation of member function 'std::__detail::_Map_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::operator[]' requested here
  256.       { return _M_h[__k]; }
  257.                ^
  258. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/ban/../../../core/datatypes/fixed_map.h:51:12: note: in instantiation of member function 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::operator[]' requested here
  259.                                 return map[key];
  260.                                        ^
  261. 2 warnings and 2 errors generated.
  262. [3/12] Building CXX object CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o
  263. FAILED: CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o
  264. clang++ -DDPP_CORO  -std=c++20  -fexperimental-library -v -g -std=gnu++20 -fcolor-diagnostics -MD -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o -MF CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o.d -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o -c /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp
  265. clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2a06757a200cc8dd4c3aeca98509d50d75bb4a27)
  266. Target: x86_64-unknown-linux-gnu
  267. Thread model: posix
  268. InstalledDir: /usr/local/bin
  269. Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1
  270. Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  271. Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  272. Candidate multilib: .;@m64
  273. Candidate multilib: 32;@m32
  274. Selected multilib: .;@m64
  275.  (in-process)
  276.  "/usr/local/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -main-file-name softban_wrapper.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -resource-dir /usr/local/lib/clang/17 -dependency-file CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o.d -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o -sys-header-deps -D DPP_CORO -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1 -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward -internal-isystem /usr/local/lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++20 -fdeprecated-macro -fdebug-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -fexperimental-library -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp.o -x c++ /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp
  277. clang -cc1 version 17.0.0 based upon LLVM 17.0.0git default target x86_64-unknown-linux-gnu
  278. ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
  279. ignoring nonexistent directory "/include"
  280. #include "..." search starts here:
  281. #include <...> search starts here:
  282.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
  283.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
  284.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
  285.  /usr/local/lib/clang/17/include
  286.  /usr/local/include
  287.  /usr/include
  288. End of search list.
  289. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp:10:
  290. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../mod_action.h:7:
  291. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/fixed_map.h:50:13: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  292.                                         return map.at(key);
  293.                                                ^~~
  294. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/fixed_map.h:74:11: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::lookup' requested here
  295.                         return lookup(key, false);
  296.                                ^
  297. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp:233:46: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::operator[]' requested here
  298.                                                                   reactaio::internal::mod_action_name["softban"], std::to_string(command.author.user_id),
  299.                                                                                                      ^
  300. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp:10:
  301. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../mod_action.h:7:
  302. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/fixed_map.h:51:12: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  303.                                 return map[key];
  304.                                        ^~~
  305. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp:5:
  306. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.h:7:
  307. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../hybrid_wrapper.h:7:
  308. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../command_wrapper.h:7:
  309. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/duration.h:8:
  310. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  311. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  312. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  313. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  314. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  315. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  316. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:54:
  317. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/basic_string.h:39:
  318. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ext/alloc_traits.h:34:
  319. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:4: error: no matching function for call to 'construct_at'
  320.           std::construct_at(__p, std::forward<_Args>(__args)...);
  321.           ^~~~~~~~~~~~~~~~~
  322. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  323.             __node_alloc_traits::construct(_M_node_allocator(),
  324.                                  ^
  325. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:248:16: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  326.         { return _M_h._M_allocate_node(std::forward<_Args>(__args)...); }
  327.                       ^
  328. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:161:11: note: in instantiation of function template specialization 'std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::operator()<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  329.           return __node_gen(std::forward<_Kt>(__k),
  330.                  ^
  331. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:2257:22: note: in instantiation of function template specialization 'std::__detail::_NodeBuilder<std::__detail::_Select1st>::_S_build<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  332.           __node_builder_t::_S_build(std::forward<_Kt>(__k),
  333.                             ^
  334. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:904:11: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_M_insert_unique<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  335.           return _M_insert_unique(
  336.                  ^
  337. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:916:11: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  338.           return _M_insert_unique_aux(
  339.                  ^
  340. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:1200:15: note: in instantiation of function template specialization 'std::__detail::_Insert_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::insert<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  341.       { this->insert(__f, __l); }
  342.               ^
  343. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:567:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  344.         : _Hashtable(__f, __l, __bkt_count_hint, __hf, __eql, __a,
  345.           ^
  346. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:184:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  347.         : _M_h(__first, __last, __n, __hf, __eql, __a)
  348.           ^
  349. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/fixed_map.h:31:70: note: in instantiation of function template specialization 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::unordered_map<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  350.                         static std::unordered_map<Key, Value&, Hash, KeyEqual, Allocator> map {m_array.begin(), m_array.end()};
  351.                                                                                           ^
  352. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/fixed_map.h:48:16: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::get_map' requested here
  353.                                 auto map = get_map();
  354.                                            ^
  355. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = std::pair<const std::basic_string<char>, std::basic_string<char> &>, _Args = <const std::basic_string<char> &, const std::basic_string<char> &>]: no matching constructor for initialization of 'std::pair<const std::basic_string<char>, std::basic_string<char> &>'
  356.     construct_at(_Tp* __location, _Args&&... __args)
  357.     ^
  358. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.cpp:5:
  359. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/softban_wrapper.h:7:
  360. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../hybrid_wrapper.h:7:
  361. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../command_wrapper.h:7:
  362. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/duration.h:8:
  363. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  364. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  365. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  366. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  367. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  368. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  369. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:58:
  370. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/memory_resource.h:41:
  371. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/uses_allocator_args.h:38:
  372. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2254:2: error: reference to type 'std::basic_string<char>' requires an initializer
  373.         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  374.         ^
  375. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2241:9: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &, 0UL>' requested here
  376.       : pair(__first, __second,
  377.         ^
  378. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:97:39: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &>' requested here
  379.     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
  380.                                       ^
  381. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:9: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  382.           std::construct_at(__p, std::forward<_Args>(__args)...);
  383.                ^
  384. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  385.             __node_alloc_traits::construct(_M_node_allocator(),
  386.                                  ^
  387. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:307:19: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  388.             _M_node(__h->_M_allocate_node(std::forward<_Args>(__args)...))
  389.                          ^
  390. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:814:42: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Scoped_node::_Scoped_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  391.       typename __hashtable::_Scoped_node __node {
  392.                                          ^
  393. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:987:16: note: in instantiation of member function 'std::__detail::_Map_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::operator[]' requested here
  394.       { return _M_h[__k]; }
  395.                ^
  396. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/softban/../../../core/datatypes/fixed_map.h:51:12: note: in instantiation of member function 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::operator[]' requested here
  397.                                 return map[key];
  398.                                        ^
  399. 2 warnings and 2 errors generated.
  400. [4/12] Building CXX object CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o
  401. FAILED: CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o
  402. clang++ -DDPP_CORO  -std=c++20  -fexperimental-library -v -g -std=gnu++20 -fcolor-diagnostics -MD -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o -MF CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o.d -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o -c /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp
  403. clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2a06757a200cc8dd4c3aeca98509d50d75bb4a27)
  404. Target: x86_64-unknown-linux-gnu
  405. Thread model: posix
  406. InstalledDir: /usr/local/bin
  407. Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1
  408. Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  409. Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  410. Candidate multilib: .;@m64
  411. Candidate multilib: 32;@m32
  412. Selected multilib: .;@m64
  413.  (in-process)
  414.  "/usr/local/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -main-file-name hardban_wrapper.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -resource-dir /usr/local/lib/clang/17 -dependency-file CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o.d -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o -sys-header-deps -D DPP_CORO -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1 -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward -internal-isystem /usr/local/lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++20 -fdeprecated-macro -fdebug-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -fexperimental-library -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp.o -x c++ /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp
  415. clang -cc1 version 17.0.0 based upon LLVM 17.0.0git default target x86_64-unknown-linux-gnu
  416. ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
  417. ignoring nonexistent directory "/include"
  418. #include "..." search starts here:
  419. #include <...> search starts here:
  420.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
  421.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
  422.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
  423.  /usr/local/lib/clang/17/include
  424.  /usr/local/include
  425.  /usr/include
  426. End of search list.
  427. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp:11:
  428. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../mod_action.h:7:
  429. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/fixed_map.h:50:13: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  430.                                         return map.at(key);
  431.                                                ^~~
  432. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/fixed_map.h:74:11: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::lookup' requested here
  433.                         return lookup(key, false);
  434.                                ^
  435. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp:218:125: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::operator[]' requested here
  436.                 transaction.exec_prepared("modcase_insert", std::to_string(command.guild->id), max_id, reactaio::internal::mod_action_name["hardban"],
  437.                                                                                                                                           ^
  438. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp:11:
  439. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../mod_action.h:7:
  440. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/fixed_map.h:51:12: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  441.                                 return map[key];
  442.                                        ^~~
  443. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp:5:
  444. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.h:7:
  445. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../hybrid_wrapper.h:7:
  446. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../command_wrapper.h:7:
  447. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/duration.h:8:
  448. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  449. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  450. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  451. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  452. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  453. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  454. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:54:
  455. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/basic_string.h:39:
  456. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ext/alloc_traits.h:34:
  457. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:4: error: no matching function for call to 'construct_at'
  458.           std::construct_at(__p, std::forward<_Args>(__args)...);
  459.           ^~~~~~~~~~~~~~~~~
  460. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  461.             __node_alloc_traits::construct(_M_node_allocator(),
  462.                                  ^
  463. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:248:16: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  464.         { return _M_h._M_allocate_node(std::forward<_Args>(__args)...); }
  465.                       ^
  466. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:161:11: note: in instantiation of function template specialization 'std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::operator()<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  467.           return __node_gen(std::forward<_Kt>(__k),
  468.                  ^
  469. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:2257:22: note: in instantiation of function template specialization 'std::__detail::_NodeBuilder<std::__detail::_Select1st>::_S_build<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  470.           __node_builder_t::_S_build(std::forward<_Kt>(__k),
  471.                             ^
  472. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:904:11: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_M_insert_unique<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  473.           return _M_insert_unique(
  474.                  ^
  475. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:916:11: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  476.           return _M_insert_unique_aux(
  477.                  ^
  478. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:1200:15: note: in instantiation of function template specialization 'std::__detail::_Insert_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::insert<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  479.       { this->insert(__f, __l); }
  480.               ^
  481. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:567:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  482.         : _Hashtable(__f, __l, __bkt_count_hint, __hf, __eql, __a,
  483.           ^
  484. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:184:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  485.         : _M_h(__first, __last, __n, __hf, __eql, __a)
  486.           ^
  487. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/fixed_map.h:31:70: note: in instantiation of function template specialization 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::unordered_map<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  488.                         static std::unordered_map<Key, Value&, Hash, KeyEqual, Allocator> map {m_array.begin(), m_array.end()};
  489.                                                                                           ^
  490. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/fixed_map.h:48:16: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::get_map' requested here
  491.                                 auto map = get_map();
  492.                                            ^
  493. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = std::pair<const std::basic_string<char>, std::basic_string<char> &>, _Args = <const std::basic_string<char> &, const std::basic_string<char> &>]: no matching constructor for initialization of 'std::pair<const std::basic_string<char>, std::basic_string<char> &>'
  494.     construct_at(_Tp* __location, _Args&&... __args)
  495.     ^
  496. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.cpp:5:
  497. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/hardban_wrapper.h:7:
  498. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../hybrid_wrapper.h:7:
  499. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../command_wrapper.h:7:
  500. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/duration.h:8:
  501. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  502. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  503. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  504. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  505. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  506. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  507. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:58:
  508. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/memory_resource.h:41:
  509. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/uses_allocator_args.h:38:
  510. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2254:2: error: reference to type 'std::basic_string<char>' requires an initializer
  511.         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  512.         ^
  513. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2241:9: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &, 0UL>' requested here
  514.       : pair(__first, __second,
  515.         ^
  516. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:97:39: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &>' requested here
  517.     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
  518.                                       ^
  519. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:9: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  520.           std::construct_at(__p, std::forward<_Args>(__args)...);
  521.                ^
  522. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  523.             __node_alloc_traits::construct(_M_node_allocator(),
  524.                                  ^
  525. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:307:19: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  526.             _M_node(__h->_M_allocate_node(std::forward<_Args>(__args)...))
  527.                          ^
  528. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:814:42: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Scoped_node::_Scoped_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  529.       typename __hashtable::_Scoped_node __node {
  530.                                          ^
  531. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:987:16: note: in instantiation of member function 'std::__detail::_Map_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::operator[]' requested here
  532.       { return _M_h[__k]; }
  533.                ^
  534. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/hardban/../../../core/datatypes/fixed_map.h:51:12: note: in instantiation of member function 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::operator[]' requested here
  535.                                 return map[key];
  536.                                        ^
  537. 2 warnings and 2 errors generated.
  538. [5/12] Building CXX object CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o
  539. FAILED: CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o
  540. clang++ -DDPP_CORO  -std=c++20  -fexperimental-library -v -g -std=gnu++20 -fcolor-diagnostics -MD -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o -MF CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o.d -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o -c /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp
  541. clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2a06757a200cc8dd4c3aeca98509d50d75bb4a27)
  542. Target: x86_64-unknown-linux-gnu
  543. Thread model: posix
  544. InstalledDir: /usr/local/bin
  545. Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1
  546. Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  547. Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  548. Candidate multilib: .;@m64
  549. Candidate multilib: 32;@m32
  550. Selected multilib: .;@m64
  551.  (in-process)
  552.  "/usr/local/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -main-file-name kick_wrapper.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -resource-dir /usr/local/lib/clang/17 -dependency-file CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o.d -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o -sys-header-deps -D DPP_CORO -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1 -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward -internal-isystem /usr/local/lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++20 -fdeprecated-macro -fdebug-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -fexperimental-library -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp.o -x c++ /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp
  553. clang -cc1 version 17.0.0 based upon LLVM 17.0.0git default target x86_64-unknown-linux-gnu
  554. ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
  555. ignoring nonexistent directory "/include"
  556. #include "..." search starts here:
  557. #include <...> search starts here:
  558.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
  559.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
  560.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
  561.  /usr/local/lib/clang/17/include
  562.  /usr/local/include
  563.  /usr/include
  564. End of search list.
  565. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp:11:
  566. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../mod_action.h:7:
  567. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/fixed_map.h:50:13: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  568.                                         return map.at(key);
  569.                                                ^~~
  570. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/fixed_map.h:74:11: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::lookup' requested here
  571.                         return lookup(key, false);
  572.                                ^
  573. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp:170:46: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::operator[]' requested here
  574.                                                                   reactaio::internal::mod_action_name["kick"], std::to_string(command.author.user_id),
  575.                                                                                                      ^
  576. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp:11:
  577. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../mod_action.h:7:
  578. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/fixed_map.h:51:12: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  579.                                 return map[key];
  580.                                        ^~~
  581. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp:5:
  582. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.h:6:
  583. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../member_wrapper.h:7:
  584. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../command_wrapper.h:7:
  585. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/duration.h:8:
  586. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  587. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  588. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  589. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  590. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  591. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  592. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:54:
  593. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/basic_string.h:39:
  594. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ext/alloc_traits.h:34:
  595. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:4: error: no matching function for call to 'construct_at'
  596.           std::construct_at(__p, std::forward<_Args>(__args)...);
  597.           ^~~~~~~~~~~~~~~~~
  598. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  599.             __node_alloc_traits::construct(_M_node_allocator(),
  600.                                  ^
  601. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:248:16: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  602.         { return _M_h._M_allocate_node(std::forward<_Args>(__args)...); }
  603.                       ^
  604. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:161:11: note: in instantiation of function template specialization 'std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::operator()<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  605.           return __node_gen(std::forward<_Kt>(__k),
  606.                  ^
  607. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:2257:22: note: in instantiation of function template specialization 'std::__detail::_NodeBuilder<std::__detail::_Select1st>::_S_build<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  608.           __node_builder_t::_S_build(std::forward<_Kt>(__k),
  609.                             ^
  610. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:904:11: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_M_insert_unique<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  611.           return _M_insert_unique(
  612.                  ^
  613. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:916:11: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  614.           return _M_insert_unique_aux(
  615.                  ^
  616. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:1200:15: note: in instantiation of function template specialization 'std::__detail::_Insert_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::insert<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  617.       { this->insert(__f, __l); }
  618.               ^
  619. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:567:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  620.         : _Hashtable(__f, __l, __bkt_count_hint, __hf, __eql, __a,
  621.           ^
  622. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:184:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  623.         : _M_h(__first, __last, __n, __hf, __eql, __a)
  624.           ^
  625. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/fixed_map.h:31:70: note: in instantiation of function template specialization 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::unordered_map<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  626.                         static std::unordered_map<Key, Value&, Hash, KeyEqual, Allocator> map {m_array.begin(), m_array.end()};
  627.                                                                                           ^
  628. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/fixed_map.h:48:16: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::get_map' requested here
  629.                                 auto map = get_map();
  630.                                            ^
  631. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = std::pair<const std::basic_string<char>, std::basic_string<char> &>, _Args = <const std::basic_string<char> &, const std::basic_string<char> &>]: no matching constructor for initialization of 'std::pair<const std::basic_string<char>, std::basic_string<char> &>'
  632.     construct_at(_Tp* __location, _Args&&... __args)
  633.     ^
  634. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.cpp:5:
  635. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/kick_wrapper.h:6:
  636. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../member_wrapper.h:7:
  637. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../command_wrapper.h:7:
  638. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/duration.h:8:
  639. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  640. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  641. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  642. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  643. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  644. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  645. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:58:
  646. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/memory_resource.h:41:
  647. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/uses_allocator_args.h:38:
  648. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2254:2: error: reference to type 'std::basic_string<char>' requires an initializer
  649.         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  650.         ^
  651. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2241:9: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &, 0UL>' requested here
  652.       : pair(__first, __second,
  653.         ^
  654. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:97:39: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &>' requested here
  655.     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
  656.                                       ^
  657. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:9: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  658.           std::construct_at(__p, std::forward<_Args>(__args)...);
  659.                ^
  660. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  661.             __node_alloc_traits::construct(_M_node_allocator(),
  662.                                  ^
  663. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:307:19: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  664.             _M_node(__h->_M_allocate_node(std::forward<_Args>(__args)...))
  665.                          ^
  666. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:814:42: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Scoped_node::_Scoped_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  667.       typename __hashtable::_Scoped_node __node {
  668.                                          ^
  669. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:987:16: note: in instantiation of member function 'std::__detail::_Map_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::operator[]' requested here
  670.       { return _M_h[__k]; }
  671.                ^
  672. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/kick/../../../core/datatypes/fixed_map.h:51:12: note: in instantiation of member function 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::operator[]' requested here
  673.                                 return map[key];
  674.                                        ^
  675. 2 warnings and 2 errors generated.
  676. [6/12] Building CXX object CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o
  677. FAILED: CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o
  678. clang++ -DDPP_CORO  -std=c++20  -fexperimental-library -v -g -std=gnu++20 -fcolor-diagnostics -MD -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o -MF CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o.d -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o -c /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp
  679. clang version 17.0.0 (https://github.com/llvm/llvm-project.git 2a06757a200cc8dd4c3aeca98509d50d75bb4a27)
  680. Target: x86_64-unknown-linux-gnu
  681. Thread model: posix
  682. InstalledDir: /usr/local/bin
  683. Found candidate GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1
  684. Found candidate GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  685. Selected GCC installation: /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1
  686. Candidate multilib: .;@m64
  687. Candidate multilib: 32;@m32
  688. Selected multilib: .;@m64
  689.  (in-process)
  690.  "/usr/local/bin/clang-15" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -clear-ast-before-backend -main-file-name mute_wrapper.cpp -mrelocation-model pic -pic-level 2 -pic-is-pie -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -mllvm -treat-scalable-fixed-error-as-warning -debug-info-kind=constructor -dwarf-version=5 -debugger-tuning=gdb -v -fcoverage-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -resource-dir /usr/local/lib/clang/17 -dependency-file CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o.d -MT CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o -sys-header-deps -D DPP_CORO -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1 -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward -internal-isystem /usr/local/lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -std=gnu++20 -fdeprecated-macro -fdebug-compilation-dir=/home/arshia/CLionProjects/ReactAIO/cmake-build-debug -fexperimental-library -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -fcolor-diagnostics -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o CMakeFiles/Reactaio.dir/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp.o -x c++ /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp
  691. clang -cc1 version 17.0.0 based upon LLVM 17.0.0git default target x86_64-unknown-linux-gnu
  692. ignoring nonexistent directory "/usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../x86_64-pc-linux-gnu/include"
  693. ignoring nonexistent directory "/include"
  694. #include "..." search starts here:
  695. #include <...> search starts here:
  696.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1
  697.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/x86_64-pc-linux-gnu
  698.  /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/backward
  699.  /usr/local/lib/clang/17/include
  700.  /usr/local/include
  701.  /usr/include
  702. End of search list.
  703. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp:6:
  704. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../mod_action.h:7:
  705. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/fixed_map.h:50:13: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  706.                                         return map.at(key);
  707.                                                ^~~
  708. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/fixed_map.h:74:11: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::lookup' requested here
  709.                         return lookup(key, false);
  710.                                ^
  711. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp:457:71: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::operator[]' requested here
  712.                 auto action_name = use_timeout ? reactaio::internal::mod_action_name["timeout"] : reactaio::internal::mod_action_name["mute"];
  713.                                                                                     ^
  714. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp:6:
  715. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../mod_action.h:7:
  716. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/fixed_map.h:51:12: warning: reference to stack memory associated with local variable 'map' returned [-Wreturn-stack-address]
  717.                                 return map[key];
  718.                                        ^~~
  719. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp:5:
  720. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.h:7:
  721. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../member_wrapper.h:7:
  722. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../command_wrapper.h:7:
  723. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/duration.h:8:
  724. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  725. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  726. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  727. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  728. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  729. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  730. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:54:
  731. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/basic_string.h:39:
  732. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ext/alloc_traits.h:34:
  733. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:4: error: no matching function for call to 'construct_at'
  734.           std::construct_at(__p, std::forward<_Args>(__args)...);
  735.           ^~~~~~~~~~~~~~~~~
  736. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  737.             __node_alloc_traits::construct(_M_node_allocator(),
  738.                                  ^
  739. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:248:16: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  740.         { return _M_h._M_allocate_node(std::forward<_Args>(__args)...); }
  741.                       ^
  742. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:161:11: note: in instantiation of function template specialization 'std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::operator()<const std::basic_string<char> &, const std::basic_string<char> &>' requested here
  743.           return __node_gen(std::forward<_Kt>(__k),
  744.                  ^
  745. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:2257:22: note: in instantiation of function template specialization 'std::__detail::_NodeBuilder<std::__detail::_Select1st>::_S_build<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  746.           __node_builder_t::_S_build(std::forward<_Kt>(__k),
  747.                             ^
  748. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:904:11: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_M_insert_unique<const std::basic_string<char> &, const std::pair<std::basic_string<char>, std::basic_string<char>> &, std::__detail::_AllocNode<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>>' requested here
  749.           return _M_insert_unique(
  750.                  ^
  751. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:916:11: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  752.           return _M_insert_unique_aux(
  753.                  ^
  754. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:1200:15: note: in instantiation of function template specialization 'std::__detail::_Insert_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::insert<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  755.       { this->insert(__f, __l); }
  756.               ^
  757. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:567:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  758.         : _Hashtable(__f, __l, __bkt_count_hint, __hf, __eql, __a,
  759.           ^
  760. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:184:4: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Hashtable<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  761.         : _M_h(__first, __last, __n, __hf, __eql, __a)
  762.           ^
  763. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/fixed_map.h:31:70: note: in instantiation of function template specialization 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::unordered_map<std::pair<std::basic_string<char>, std::basic_string<char>> *>' requested here
  764.                         static std::unordered_map<Key, Value&, Hash, KeyEqual, Allocator> map {m_array.begin(), m_array.end()};
  765.                                                                                           ^
  766. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/fixed_map.h:48:16: note: in instantiation of member function 'reactaio::internal::fixed_map<std::basic_string<char>, std::basic_string<char>, 20>::get_map' requested here
  767.                                 auto map = get_map();
  768.                                            ^
  769. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:94:5: note: candidate template ignored: substitution failure [with _Tp = std::pair<const std::basic_string<char>, std::basic_string<char> &>, _Args = <const std::basic_string<char> &, const std::basic_string<char> &>]: no matching constructor for initialization of 'std::pair<const std::basic_string<char>, std::basic_string<char> &>'
  770.     construct_at(_Tp* __location, _Args&&... __args)
  771.     ^
  772. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.cpp:5:
  773. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/mute_wrapper.h:7:
  774. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../member_wrapper.h:7:
  775. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../command_wrapper.h:7:
  776. In file included from /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/duration.h:8:
  777. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/chrono:45:
  778. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/sstream:40:
  779. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/istream:40:
  780. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/ios:44:
  781. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/ios_base.h:41:
  782. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/locale_classes.h:40:
  783. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/string:58:
  784. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/memory_resource.h:41:
  785. In file included from /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/uses_allocator_args.h:38:
  786. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2254:2: error: reference to type 'std::basic_string<char>' requires an initializer
  787.         second(std::forward<_Args2>(std::get<_Indexes2>(__tuple2))...)
  788.         ^
  789. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/tuple:2241:9: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &, 0UL>' requested here
  790.       : pair(__first, __second,
  791.         ^
  792. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/stl_construct.h:97:39: note: in instantiation of function template specialization 'std::pair<const std::basic_string<char>, std::basic_string<char> &>::pair<const std::basic_string<char> &>' requested here
  793.     { return ::new((void*)__location) _Tp(std::forward<_Args>(__args)...); }
  794.                                       ^
  795. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/alloc_traits.h:539:9: note: in instantiation of function template specialization 'std::construct_at<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  796.           std::construct_at(__p, std::forward<_Args>(__args)...);
  797.                ^
  798. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:2004:27: note: in instantiation of function template specialization 'std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::construct<std::pair<const std::basic_string<char>, std::basic_string<char> &>, const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  799.             __node_alloc_traits::construct(_M_node_allocator(),
  800.                                  ^
  801. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable.h:307:19: note: in instantiation of function template specialization 'std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<const std::basic_string<char>, std::basic_string<char> &>, true>>>::_M_allocate_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  802.             _M_node(__h->_M_allocate_node(std::forward<_Args>(__args)...))
  803.                          ^
  804. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/hashtable_policy.h:814:42: note: in instantiation of function template specialization 'std::_Hashtable<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::_Scoped_node::_Scoped_node<const std::piecewise_construct_t &, std::tuple<const std::basic_string<char> &>, std::tuple<>>' requested here
  805.       typename __hashtable::_Scoped_node __node {
  806.                                          ^
  807. /usr/lib64/gcc/x86_64-pc-linux-gnu/13.2.1/../../../../include/c++/13.2.1/bits/unordered_map.h:987:16: note: in instantiation of member function 'std::__detail::_Map_base<std::basic_string<char>, std::pair<const std::basic_string<char>, std::basic_string<char> &>, std::allocator<std::pair<const std::basic_string<char>, std::basic_string<char> &>>, std::__detail::_Select1st, std::equal_to<std::basic_string<char>>, std::hash<std::basic_string<char>>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<true, false, true>>::operator[]' requested here
  808.       { return _M_h[__k]; }
  809.                ^
  810. /home/arshia/CLionProjects/ReactAIO/src/cogs/moderation/wrappers/mute/../../../core/datatypes/fixed_map.h:51:12: note: in instantiation of member function 'std::unordered_map<std::basic_string<char>, std::basic_string<char> &>::operator[]' requested here
  811.                                 return map[key];
  812.                                        ^
  813. 2 warnings and 2 errors generated.
  814. ninja: build stopped: subcommand failed.
  815.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement