Compile [2024-11-15 18:22:17 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/include" -I"../libs/hana/test/_include" -c -o "/var/boost/run/results/boost/bin.v2/libs/hana/test/test~logical.test/gcc-12~c++17/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/logical.o" "../libs/hana/test/logical.cpp"
In file included from ../boost/hana/detail/operators/logical.hpp:16,
from ../boost/hana/bool.hpp:21,
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/logical.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 = const boost::hana::integral_constant<bool, false>&; Then = boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>::<lambda(auto:11)>; Else = boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>::<lambda(auto:12)>]'
../libs/hana/test/_include/laws/logical.hpp:52:17: required from 'boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)> [with auto:5 = boost::hana::tuple<bool, bool>; auto:6 = bool; auto:7 = bool; auto:8 = bool]'
../boost/hana/functional/partial.hpp:78:43: [ skipping 24 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../boost/hana/unpack.hpp:47:29: required from 'constexpr decltype(auto) boost::hana::unpack_t::operator()(Xs&&, F&&) const [with Xs = const boost::hana::basic_tuple<bool, bool>&; F = boost::hana::detail::on_each<boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >*>]'
../boost/hana/tuple.hpp:233:32: required from 'static constexpr decltype(auto) boost::hana::unpack_impl<boost::hana::tuple_tag>::apply(Xs&&, F&&) [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::detail::on_each<boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >*>]'
../boost/hana/unpack.hpp:47:29: required from 'constexpr decltype(auto) boost::hana::unpack_t::operator()(Xs&&, F&&) const [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::detail::on_each<boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >*>]'
../boost/hana/for_each.hpp:56:25: required from 'static constexpr void boost::hana::for_each_impl<T, boost::hana::when<condition> >::apply(Xs&&, F&&) [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >; T = boost::hana::tuple_tag; bool condition = true]'
../boost/hana/for_each.hpp:35:30: required from 'constexpr void boost::hana::for_each_t::operator()(Xs&&, F&&) const [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >]'
../libs/hana/test/_include/laws/base.hpp:44:31: required from 'constexpr auto boost::hana::test::for_each_n_t<i>::operator()(const Xs&, const F&) const [with Xs = boost::hana::tuple<bool, bool>; F = boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> >; int i = 3]'
../libs/hana/test/_include/laws/logical.hpp:43:21: required from 'boost::hana::test::TestLogical<L, boost::hana::test::laws>::TestLogical(Xs) [with Xs = boost::hana::tuple<bool, bool>; L = bool]'
../libs/hana/test/_include/laws/logical.hpp:22:37: 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:
../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 = const boost::hana::integral_constant<bool, false>&; Then = boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>::<lambda(auto:11)>; Else = boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>::<lambda(auto:12)>]'
../libs/hana/test/_include/laws/logical.hpp:52:17: required from 'boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)> [with auto:5 = boost::hana::tuple<bool, bool>; auto:6 = bool; auto:7 = bool; auto:8 = bool]'
../boost/hana/functional/partial.hpp:78:43: [ skipping 24 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
../boost/hana/unpack.hpp:47:29: required from 'constexpr decltype(auto) boost::hana::unpack_t::operator()(Xs&&, F&&) const [with Xs = const boost::hana::basic_tuple<bool, bool>&; F = boost::hana::detail::on_each<boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >*>]'
../boost/hana/tuple.hpp:233:32: required from 'static constexpr decltype(auto) boost::hana::unpack_impl<boost::hana::tuple_tag>::apply(Xs&&, F&&) [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::detail::on_each<boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >*>]'
../boost/hana/unpack.hpp:47:29: required from 'constexpr decltype(auto) boost::hana::unpack_t::operator()(Xs&&, F&&) const [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::detail::on_each<boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >*>]'
../boost/hana/for_each.hpp:56:25: required from 'static constexpr void boost::hana::for_each_impl<T, boost::hana::when<condition> >::apply(Xs&&, F&&) [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >; T = boost::hana::tuple_tag; bool condition = true]'
../boost/hana/for_each.hpp:35:30: required from 'constexpr void boost::hana::for_each_t::operator()(Xs&&, F&&) const [with Xs = const boost::hana::tuple<bool, bool>&; F = boost::hana::_compose<boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::for_each_n_t<2>, boost::hana::tuple<bool, bool> >, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::make_partial_t, boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> > > >]'
../libs/hana/test/_include/laws/base.hpp:44:31: required from 'constexpr auto boost::hana::test::for_each_n_t<i>::operator()(const Xs&, const F&) const [with Xs = boost::hana::tuple<bool, bool>; F = boost::hana::partial_t<std::integer_sequence<long unsigned int, 0>, boost::hana::test::TestLogical<bool, boost::hana::test::laws>::TestLogical<boost::hana::tuple<bool, bool> >(boost::hana::tuple<bool, bool>)::<lambda(auto:5, auto:6, auto:7, auto:8)>, boost::hana::tuple<bool, bool> >; int i = 3]'
../libs/hana/test/_include/laws/logical.hpp:43:21: required from 'boost::hana::test::TestLogical<L, boost::hana::test::laws>::TestLogical(Xs) [with Xs = boost::hana::tuple<bool, bool>; L = bool]'
../libs/hana/test/_include/laws/logical.hpp:22:37: 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> >'