We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ 86%] Built target psibase [ 86%] Building CXX object native/libraries/psibase/native/tests/CMakeFiles/WatchdogTests.dir/WatchdogTests.cpp.o [ 87%] Linking CXX executable WatchdogTests [ 87%] Built target WatchdogTests [ 87%] Building CXX object native/libraries/psibase/common/tests/CMakeFiles/psibase-common-tests.dir/psibase_common_tests.cpp.o [ 88%] Building CXX object native/libraries/psibase/common/tests/CMakeFiles/psibase-common-tests.dir/name.cpp.o [ 88%] Linking CXX executable ../../../../../psibase-common-tests [ 88%] Built target psibase-common-tests [ 88%] Building CXX object native/libraries/psibase_http/CMakeFiles/psibase_http.dir/http.cpp.o [ 88%] Building CXX object native/libraries/psibase_http/CMakeFiles/psibase_http.dir/jwt.cpp.o In file included from /root/psibase/libraries/psibase_http/jwt.cpp:6: /usr/include/c++/11/ranges: In instantiation of 'constexpr auto std::ranges::views::_Iota::operator()(_Tp&&, _Up&&) const [with _Tp = char; _Up = int]': /root/psibase/libraries/psibase_http/jwt.cpp:18:61: required from here /usr/include/c++/11/ranges:656:16: error: class template argument deduction failed: 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:656:16: error: no matching function for call to 'iota_view(char, int)' /usr/include/c++/11/ranges:579:7: note: candidate: 'template<class _Winc, class _Bound> iota_view(typename std::ranges::iota_view<_Winc, _Bound>::_Iterator, typename std::ranges::iota_view<_Winc, _Bound>::_Sentinel)-> std::ranges::iota_view<_Winc, _Bound> requires !(same_as<_Winc, _Bound>) && !(same_as<_Bound, std::unreachable_sentinel_t>)' 579 | iota_view(_Iterator __first, _Sentinel __last) | ^~~~~~~~~ /usr/include/c++/11/ranges:579:7: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: couldn't deduce template parameter '_Winc' 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:573:7: note: candidate: 'template<class _Winc, class _Bound> iota_view(typename std::ranges::iota_view<_Winc, _Bound>::_Iterator, std::unreachable_sentinel_t)-> std::ranges::iota_view<_Winc, _Bound> requires same_as<_Bound, std::unreachable_sentinel_t>' 573 | iota_view(_Iterator __first, unreachable_sentinel_t __last) | ^~~~~~~~~ /usr/include/c++/11/ranges:573:7: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: couldn't deduce template parameter '_Winc' 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:567:7: note: candidate: 'template<class _Winc, class _Bound> iota_view(typename std::ranges::iota_view<_Winc, _Bound>::_Iterator, typename std::ranges::iota_view<_Winc, _Bound>::_Iterator)-> std::ranges::iota_view<_Winc, _Bound> requires same_as<_Winc, _Bound>' 567 | iota_view(_Iterator __first, _Iterator __last) | ^~~~~~~~~ /usr/include/c++/11/ranges:567:7: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: couldn't deduce template parameter '_Winc' 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:558:7: note: candidate: 'template<class _Winc, class _Bound> iota_view(std::type_identity_t<_Type>, std::type_identity_t<_Bound>)-> std::ranges::iota_view<_Winc, _Bound>' 558 | iota_view(type_identity_t<_Winc> __value, | ^~~~~~~~~ /usr/include/c++/11/ranges:558:7: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: couldn't deduce template parameter '_Winc' 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:553:7: note: candidate: 'template<class _Winc, class _Bound> iota_view(_Winc)-> std::ranges::iota_view<_Winc, _Bound>' 553 | iota_view(_Winc __value) | ^~~~~~~~~ /usr/include/c++/11/ranges:553:7: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: candidate expects 1 argument, 2 provided 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:550:7: note: candidate: 'template<class _Winc, class _Bound> iota_view()-> std::ranges::iota_view<_Winc, _Bound> requires default_initializable<_Winc>' 550 | iota_view() requires default_initializable<_Winc> = default; | ^~~~~~~~~ /usr/include/c++/11/ranges:550:7: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: candidate expects 0 arguments, 2 provided 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:316:11: note: candidate: 'template<class _Winc, class _Bound> iota_view(std::ranges::iota_view<_Winc, _Bound>)-> std::ranges::iota_view<_Winc, _Bound>' 316 | class iota_view : public view_interface<iota_view<_Winc, _Bound>> | ^~~~~~~~~ /usr/include/c++/11/ranges:316:11: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:656:16: note: mismatched types 'std::ranges::iota_view<_Winc, _Bound>' and 'char' 656 | { return iota_view(std::forward<_Tp>(__e), std::forward<_Up>(__f)); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges:625:5: note: candidate: 'template<class _Winc, class _Bound> requires !(__is_integer_like<_Winc>) || !(__is_integer_like<_Bound>) || (__is_signed_integer_like<_Winc>) == (__is_signed_integer_like<_Bound>) std::ranges::iota_view(_Winc, _Bound)-> std::ranges::iota_view<_Winc, _Bound>' 625 | iota_view(_Winc, _Bound) -> iota_view<_Winc, _Bound>; | ^~~~~~~~~ /usr/include/c++/11/ranges:625:5: note: template argument deduction/substitution failed: /usr/include/c++/11/ranges:625:5: note: constraints not satisfied /usr/include/c++/11/ranges: In substitution of 'template<class _Winc, class _Bound> requires !(__is_integer_like<_Winc>) || !(__is_integer_like<_Bound>) || (__is_signed_integer_like<_Winc>) == (__is_signed_integer_like<_Bound>) std::ranges::iota_view(_Winc, _Bound)-> std::ranges::iota_view<_Winc, _Bound> [with _Winc = char; _Bound = int]': /usr/include/c++/11/ranges:656:16: required from 'constexpr auto std::ranges::views::_Iota::operator()(_Tp&&, _Up&&) const [with _Tp = char; _Up = int]' /root/psibase/libraries/psibase_http/jwt.cpp:18:61: required from here /usr/include/c++/11/ranges:625:5: required by the constraints of 'template<class _Winc, class _Bound> requires !(__is_integer_like<_Winc>) || !(__is_integer_like<_Bound>) || (__is_signed_integer_like<_Winc>) == (__is_signed_integer_like<_Bound>) std::ranges::iota_view(_Winc, _Bound)-> std::ranges::iota_view<_Winc, _Bound>' /usr/include/c++/11/ranges:623:9: note: no operand of the disjunction is satisfied 621 | requires (!__detail::__is_integer_like<_Winc> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 622 | || !__detail::__is_integer_like<_Bound> | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 623 | || (__detail::__is_signed_integer_like<_Winc> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 624 | == __detail::__is_signed_integer_like<_Bound>)) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/11/ranges: In instantiation of 'constexpr auto std::ranges::views::_Iota::operator()(_Tp&&, _Up&&) const [with _Tp = char; _Up = int]': /root/psibase/libraries/psibase_http/jwt.cpp:18:61: required from here cc1plus: note: set '-fconcepts-diagnostics-depth=' to at least 2 for more detail /root/psibase/libraries/psibase_http/jwt.cpp:27:80: in 'constexpr' expansion of 'psibase::http::{anonymous}::make_base64url_tab()' /root/psibase/libraries/psibase_http/jwt.cpp:24:13: error: expression '<throw-expression>' is not a constant expression 24 | throw std::runtime_error("Size mismatch"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: note: unrecognized command-line option '-Wno-ambiguous-reversed-operator' may have been intended to silence earlier diagnostics make[2]: *** [native/libraries/psibase_http/CMakeFiles/psibase_http.dir/build.make:90: native/libraries/psibase_http/CMakeFiles/psibase_http.dir/jwt.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1339: native/libraries/psibase_http/CMakeFiles/psibase_http.dir/all] Error 2 make: *** [Makefile:156: all] Error 2 * The terminal process "/bin/bash '-c', 'mkdir -p build && cd build && cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_DEBUG_WASM=ON -DBUILD_RUST=yes -DBUILD_DOC=no -DBUILD_JS=yes -DBUILD_NATIVE=yes -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_INSTALL_PREFIX="psidk" .. && make install'" terminated with exit code: 2. * Terminal will be reused by tasks, press any key to close it.
The text was updated successfully, but these errors were encountered:
#473
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: