Test output: teeks99-dkr-mg12 - hana - test~issues~github_252 / gcc-12~c++17
Rev 7e09330c84621efd22370bf57289b67c7283ee21 / Sat, 16 Nov 2024 09:26:04 +0000
Compile [2024-11-16 12:16:26 UTC]: fail


    "g++-12"   -fvisibility-inlines-hidden -std=c++17 -fPIC -m64 -pthread -O0 -fno-inline -Wall -fvisibility=hidden  -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1   -I".." -I"../libs/hana/test/_include" -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/hana/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/tuple/include"  -c -o "/var/boost/run/results/boost/bin.v2/libs/hana/test/test~issues~github_252.test/gcc-12~c++17/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/issues/github_252.o" "../libs/hana/test/issues/github_252.cpp"

In file included from ../boost/hana/bool.hpp:17,
                 from ../boost/hana/eval_if.hpp:15,
                 from ../boost/hana/concept/logical.hpp:19,
                 from ../boost/hana/if.hpp:15,
                 from ../boost/hana/assert.hpp:16,
                 from ../libs/hana/test/issues/github_252.cpp:5:
../boost/hana/core/to.hpp: In instantiation of 'struct boost::hana::to_impl<boost::hana::tuple_tag, boost::hana::range_tag, void>':
../boost/hana/core/to.hpp:78:40:   required from 'constexpr decltype(auto) boost::hana::to_t<To>::operator()(X&&) const [with X = boost::hana::range<long unsigned int, 0, 3>; To = boost::hana::tuple_tag]'
../libs/hana/test/issues/github_252.cpp:29:27:   required from here
../boost/hana/core/to.hpp:36:12: error: ambiguous template instantiation for 'struct boost::hana::to_impl<boost::hana::tuple_tag, boost::hana::range_tag, boost::hana::when<true> >'
   36 |     struct to_impl : to_impl<To, From, when<true>> { };
      |            ^~~~~~~
../boost/hana/core/to.hpp:62:12: note: candidates are: 'template<class To, class From, bool condition> struct boost::hana::to_impl<To, From, boost::hana::when<condition> > [with To = boost::hana::tuple_tag; From = boost::hana::range_tag; bool condition = true]'
   62 |     struct to_impl<To, From, when<condition>>
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/hana/core/to.hpp:186:12: note:                 'template<class S, class F> struct boost::hana::to_impl<S, F, boost::hana::when<(boost::hana::Sequence<S>::value && boost::hana::Foldable<F>::value)> > [with S = boost::hana::tuple_tag; F = boost::hana::range_tag]'
  186 |     struct to_impl<S, F, when<
      |            ^~~~~~~~~~~~~~~~~~~
  187 |         hana::Sequence<S>::value &&
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  188 |         hana::Foldable<F>::value
      |         ~~~~~~~~~~~~~~~~~~~~~~~~
  189 |     >> : embedding<Sequence<F>::value> {
      |     ~~      
../boost/hana/core/to.hpp:36:12: error: invalid use of incomplete type 'struct boost::hana::to_impl<boost::hana::tuple_tag, boost::hana::range_tag, boost::hana::when<true> >'
   36 |     struct to_impl : to_impl<To, From, when<true>> { };
      |            ^~~~~~~
../boost/hana/core/to.hpp:36:12: note: declaration of 'struct boost::hana::to_impl<boost::hana::tuple_tag, boost::hana::range_tag, boost::hana::when<true> >'
../boost/hana/core/to.hpp: In instantiation of 'constexpr decltype(auto) boost::hana::to_t<To>::operator()(X&&) const [with X = boost::hana::range<long unsigned int, 0, 3>; To = boost::hana::tuple_tag]':
../libs/hana/test/issues/github_252.cpp:29:27:   required from here
../boost/hana/core/to.hpp:78:40: error: 'apply' is not a member of 'boost::hana::to_impl<boost::hana::tuple_tag, boost::hana::range_tag, void>'
   78 |         return to_impl<To, From>::apply(static_cast<X&&>(x));
      |                ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~