Compile [2024-11-13 04:42:32 UTC]: fail
"clang++-18" -fvisibility-inlines-hidden -Wno-c99-extensions -std=c++2b -fPIC -pthread -O0 -fno-inline -Wall -fvisibility=hidden -m64 --target=x86_64-pc-linux -DBOOST_ALL_NO_LIB=1 -DBOOST_COBALT_USE_STD_PMR=1 -I".." -I"/var/boost/run/boost_root/libs/assert/include" -I"/var/boost/run/boost_root/libs/container_hash/include" -I"/var/boost/run/boost_root/libs/core/include" -I"/var/boost/run/boost_root/libs/describe/include" -I"/var/boost/run/boost_root/libs/detail/include" -I"/var/boost/run/boost_root/libs/integer/include" -I"/var/boost/run/boost_root/libs/mp11/include" -I"/var/boost/run/boost_root/libs/throw_exception/include" -I"/var/boost/run/boost_root/libs/type_index/include" -I"/var/boost/run/boost_root/libs/variant/include" -c -o "/var/boost/run/results/boost/bin.v2/libs/variant/test/rvalue_test.test/clang-linux-18~c++2b/debug/x86_64/debug-symbols-off/threading-multi/visibility-hidden/rvalue_test.o" "../libs/variant/test/rvalue_test.cpp"
In file included from ../libs/variant/test/rvalue_test.cpp:15:
In file included from ../boost/variant.hpp:17:
In file included from ../boost/variant/variant.hpp:30:
../boost/variant/detail/initializer.hpp:97:27: error: calling a private constructor of class 'move_only_structure'
97 | new(dest) internal_T(operand);
| ^
../boost/variant/variant.hpp:1312:33: note: in instantiation of member function 'boost::detail::variant::make_initializer_node::apply<boost::mpl::pair<boost::detail::variant::initializer_root, mpl_::int_<0>>, boost::mpl::l_iter<boost::mpl::list2<move_only_structure, int>>>::initializer_node::initialize' requested here
1312 | return initializer::initialize(storage_, operand);
| ^
../boost/variant/detail/visitation_impl.hpp:105:20: note: in instantiation of function template specialization 'boost::variant<move_only_structure, int>::convert_copy_into::internal_visit<const move_only_structure>' requested here
105 | return visitor.internal_visit(
| ^
../boost/variant/detail/visitation_impl.hpp:145:13: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl_invoke_impl<boost::variant<move_only_structure, int>::convert_copy_into, const void *, move_only_structure>' requested here
145 | return (visitation_impl_invoke_impl)(
| ^
../boost/variant/detail/visitation_impl.hpp:228:11: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl_invoke<boost::variant<move_only_structure, int>::convert_copy_into, const void *, move_only_structure, boost::variant<int, move_only_structure>::has_fallback_type_>' requested here
228 | , BOOST_VARIANT_AUX_APPLY_VISITOR_STEP_CASE
| ^
../boost/preprocessor/repetition/repeat.hpp:30:26: note: expanded from macro 'BOOST_PP_REPEAT'
30 | # define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
| ^
../boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
22 | # define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
| ^
../boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
29 | # define BOOST_PP_CAT_I(a, b) a ## b
| ^
<scratch space>:88:1: note: expanded from here
88 | BOOST_PP_REPEAT_1
| ^
../boost/variant/variant.hpp:2202:33: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl<mpl_::int_<0>, boost::detail::variant::visitation_impl_step<boost::mpl::l_iter<boost::mpl::l_item<mpl_::long_<2>, int, boost::mpl::l_item<mpl_::long_<1>, move_only_structure, boost::mpl::l_end>>>, boost::mpl::l_iter<l_end>>, boost::variant<move_only_structure, int>::convert_copy_into, const void *, boost::variant<int, move_only_structure>::has_fallback_type_>' requested here
2202 | return detail::variant::visitation_impl(
| ^
../boost/variant/variant.hpp:2223:16: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
2223 | return internal_apply_visitor_impl(
| ^
../boost/variant/variant.hpp:1572:9: note: in instantiation of function template specialization 'boost::variant<move_only_structure, int>::convert_construct_variant<const boost::variant<int, move_only_structure>>' requested here
1572 | convert_construct_variant(operand);
| ^
../boost/variant/variant.hpp:1599:9: note: in instantiation of function template specialization 'boost::variant<move_only_structure, int>::convert_construct<int, move_only_structure>' requested here
1599 | convert_construct(operand, 1L);
| ^
../boost/variant/variant.hpp:1976:21: note: in instantiation of function template specialization 'boost::variant<move_only_structure, int>::variant<boost::variant<int, move_only_structure>>' requested here
1976 | variant temp(rhs);
| ^
../boost/variant/variant.hpp:2026:9: note: in instantiation of function template specialization 'boost::variant<move_only_structure, int>::assign<boost::variant<int, move_only_structure>>' requested here
2026 | assign(rhs);
| ^
../libs/variant/test/rvalue_test.cpp:188:9: note: in instantiation of function template specialization 'boost::variant<move_only_structure, int>::operator=<boost::variant<int, move_only_structure>>' requested here
188 | rvi = static_cast<boost::variant<int, move_only_structure >&&>(vi2);
| ^
../libs/variant/test/rvalue_test.cpp:155:5: note: declared private here
155 | move_only_structure(const move_only_structure&);
| ^
1 error generated.