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~concept~struct~macro~adapt_struct.test/gcc-12~c++17/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/concept/struct/macro.adapt_struct.o" "../libs/hana/test/concept/struct/macro.adapt_struct.cpp"
In file included from ../boost/hana/detail/operators/logical.hpp:16,
from ../boost/hana/bool.hpp:21,
from ../boost/hana/string.hpp:15,
from ../boost/hana/detail/struct_macros.hpp:28,
from ../boost/hana/adapt_struct.hpp:15,
from ../libs/hana/test/concept/struct/macro.adapt_struct.cpp:5:
../boost/hana/fwd/not.hpp: In instantiation of 'struct boost::hana::not_impl<boost::hana::integral_constant_tag<bool>, void>':
../boost/hana/core/default.hpp:26:9: required by substitution of 'template<class Method> struct boost::hana::is_default<Method, decltype ((void)(static_cast<boost::hana::default_>((*(Method*)(0)))))> [with Method = boost::hana::not_impl<boost::hana::integral_constant_tag<bool>, void>]'
../boost/hana/concept/logical.hpp:29:62: required from 'struct boost::hana::Logical<boost::hana::integral_constant_tag<bool> >'
../boost/hana/if.hpp:26:15: required from 'constexpr decltype(auto) boost::hana::if_t::operator()(Cond&&, Then&&, Else&&) const [with Cond = boost::hana::integral_constant<bool, true>; Then = const boost::hana::integral_constant<bool, true>&; Else = const boost::hana::integral_constant<bool, false>&]'
../boost/hana/any_of.hpp:79:38: required from 'static constexpr auto boost::hana::any_of_impl<S, boost::hana::when<boost::hana::Sequence<S>::value> >::any_of_helper<k, Len>::apply(boost::hana::false_, Xs&&, Pred&&) [with Xs = boost::hana::tuple<boost::hana::pair<boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>, boost::hana::struct_detail::member_ptr<boost::hana::test::ct_eq<1> ns::Data1::*, &ns::Data1::member1> > >; Pred = boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::equal_t, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'> >, boost::hana::first_t>; long unsigned int k = 0; long unsigned int Len = 1; S = boost::hana::tuple_tag; boost::hana::false_ = boost::hana::integral_constant<bool, false>]'
../boost/hana/any_of.hpp:97:61: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../boost/hana/any_of.hpp:186:32: required from 'static constexpr decltype(auto) boost::hana::any_of_impl<S, boost::hana::when<boost::hana::Struct<S>::value> >::apply(const X&, Pred&&) [with X = ns::Data1; Pred = boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::equal_t, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'> >; S = ns::Data1]'
../boost/hana/any_of.hpp:48:28: required from 'constexpr auto boost::hana::any_of_t::operator()(Xs&&, Pred&&) const [with Xs = ns::Data1; Pred = boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::equal_t, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'> >]'
../boost/hana/contains.hpp:45:32: required from 'static constexpr auto boost::hana::contains_impl<S, boost::hana::when<condition> >::apply(Xs&&, X&&) [with Xs = ns::Data1; X = boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>; S = ns::Data1; bool condition = true]'
../boost/hana/contains.hpp:36:31: required from 'constexpr auto boost::hana::contains_t::operator()(Xs&&, Key&&) const [with Xs = ns::Data1; Key = boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>]'
../boost/hana/functional/infix.hpp:92:23: required from 'constexpr decltype(auto) boost::hana::infix_detail::infix_t<left, right, F>::operator()(X&& ...) const & [with X = {ns::Data1, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>}; bool left = false; bool right = false; F = boost::hana::contains_t]'
../libs/hana/test/concept/struct/macro.adapt_struct.cpp:48:5: required from here
../boost/hana/fwd/not.hpp:36:12: error: ambiguous template instantiation for 'struct boost::hana::not_impl<boost::hana::integral_constant_tag<bool>, boost::hana::when<true> >'
36 | struct not_impl : not_impl<L, when<true>> { };
| ^~~~~~~~
In file included from ../boost/hana/concept/logical.hpp:20,
from ../boost/hana/if.hpp:15,
from ../boost/hana/string.hpp:39:
../boost/hana/not.hpp:44:12: note: candidates are: 'template<class L, bool condition> struct boost::hana::not_impl<L, boost::hana::when<condition> > [with L = boost::hana::integral_constant_tag<bool>; bool condition = true]'
44 | struct not_impl<L, when<condition>> : hana::default_ {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/hana/not.hpp:65:12: note: 'template<class C> struct boost::hana::not_impl<C, boost::hana::when<(boost::hana::Constant<C>::value && boost::hana::Logical<typename C::value_type>::value)> > [with C = boost::hana::integral_constant_tag<bool>]'
65 | struct not_impl<C, hana::when<
| ^~~~~~~~~~~~~~~~~~~~~~~
66 | hana::Constant<C>::value &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
67 | hana::Logical<typename C::value_type>::value
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
68 | >> {
| ~~
../boost/hana/fwd/not.hpp:36:12: error: invalid use of incomplete type 'struct boost::hana::not_impl<boost::hana::integral_constant_tag<bool>, boost::hana::when<true> >'
36 | struct not_impl : not_impl<L, when<true>> { };
| ^~~~~~~~
../boost/hana/fwd/not.hpp:36:12: note: declaration of 'struct boost::hana::not_impl<boost::hana::integral_constant_tag<bool>, boost::hana::when<true> >'
In file included from ../boost/hana/while.hpp:13,
from ../boost/hana/concept/logical.hpp:21:
../boost/hana/fwd/while.hpp: In instantiation of 'struct boost::hana::while_impl<boost::hana::integral_constant_tag<bool>, void>':
../boost/hana/core/default.hpp:26:9: required by substitution of 'template<class Method> struct boost::hana::is_default<Method, decltype ((void)(static_cast<boost::hana::default_>((*(Method*)(0)))))> [with Method = boost::hana::while_impl<boost::hana::integral_constant_tag<bool>, void>]'
../boost/hana/concept/logical.hpp:30:64: required from 'struct boost::hana::Logical<boost::hana::integral_constant_tag<bool> >'
../boost/hana/if.hpp:26:15: required from 'constexpr decltype(auto) boost::hana::if_t::operator()(Cond&&, Then&&, Else&&) const [with Cond = boost::hana::integral_constant<bool, true>; Then = const boost::hana::integral_constant<bool, true>&; Else = const boost::hana::integral_constant<bool, false>&]'
../boost/hana/any_of.hpp:79:38: required from 'static constexpr auto boost::hana::any_of_impl<S, boost::hana::when<boost::hana::Sequence<S>::value> >::any_of_helper<k, Len>::apply(boost::hana::false_, Xs&&, Pred&&) [with Xs = boost::hana::tuple<boost::hana::pair<boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>, boost::hana::struct_detail::member_ptr<boost::hana::test::ct_eq<1> ns::Data1::*, &ns::Data1::member1> > >; Pred = boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::equal_t, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'> >, boost::hana::first_t>; long unsigned int k = 0; long unsigned int Len = 1; S = boost::hana::tuple_tag; boost::hana::false_ = boost::hana::integral_constant<bool, false>]'
../boost/hana/any_of.hpp:97:61: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../boost/hana/any_of.hpp:186:32: required from 'static constexpr decltype(auto) boost::hana::any_of_impl<S, boost::hana::when<boost::hana::Struct<S>::value> >::apply(const X&, Pred&&) [with X = ns::Data1; Pred = boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::equal_t, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'> >; S = ns::Data1]'
../boost/hana/any_of.hpp:48:28: required from 'constexpr auto boost::hana::any_of_t::operator()(Xs&&, Pred&&) const [with Xs = ns::Data1; Pred = boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::equal_t, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'> >]'
../boost/hana/contains.hpp:45:32: required from 'static constexpr auto boost::hana::contains_impl<S, boost::hana::when<condition> >::apply(Xs&&, X&&) [with Xs = ns::Data1; X = boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>; S = ns::Data1; bool condition = true]'
../boost/hana/contains.hpp:36:31: required from 'constexpr auto boost::hana::contains_t::operator()(Xs&&, Key&&) const [with Xs = ns::Data1; Key = boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>]'
../boost/hana/functional/infix.hpp:92:23: required from 'constexpr decltype(auto) boost::hana::infix_detail::infix_t<left, right, F>::operator()(X&& ...) const & [with X = {ns::Data1, boost::hana::string<'m', 'e', 'm', 'b', 'e', 'r', '1'>}; bool left = false; bool right = false; F = boost::hana::contains_t]'
../libs/hana/test/concept/struct/macro.adapt_struct.cpp:48:5: required from here
../boost/hana/fwd/while.hpp:60:12: error: ambiguous template instantiation for 'struct boost::hana::while_impl<boost::hana::integral_constant_tag<bool>, boost::hana::when<true> >'
60 | struct while_impl : while_impl<L, when<true>> { };
| ^~~~~~~~~~
../boost/hana/while.hpp:49:12: note: candidates are: 'template<class L, bool condition> struct boost::hana::while_impl<L, boost::hana::when<condition> > [with L = boost::hana::integral_constant_tag<bool>; bool condition = true]'
49 | struct while_impl<L, hana::when<condition>> : hana::default_ {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../boost/hana/while.hpp:76:12: note: 'template<class C> struct boost::hana::while_impl<C, boost::hana::when<(boost::hana::Constant<C>::value && boost::hana::Logical<typename C::value_type>::value)> > [with C = boost::hana::integral_constant_tag<bool>]'
76 | struct while_impl<C, hana::when<
| ^~~~~~~~~~~~~~~~~~~~~~~~~
77 | hana::Constant<C>::value &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 | hana::Logical<typename C::value_type>::value
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79 | >> {
| ~~
../boost/hana/fwd/while.hpp:60:12: error: invalid use of incomplete type 'struct boost::hana::while_impl<boost::hana::integral_constant_tag<bool>, boost::hana::when<true> >'
60 | struct while_impl : while_impl<L, when<true>> { };
| ^~~~~~~~~~
../boost/hana/fwd/while.hpp:60:12: note: declaration of 'struct boost::hana::while_impl<boost::hana::integral_constant_tag<bool>, boost::hana::when<true> >'