Skip to content

Instantly share code, notes, and snippets.

@igor-egorov
Created February 21, 2019 20:04
Show Gist options
  • Save igor-egorov/9fde3d271c09975db87163f44ea70b92 to your computer and use it in GitHub Desktop.
Save igor-egorov/9fde3d271c09975db87163f44ea70b92 to your computer and use it in GitHub Desktop.
combine-latest-until-first-build-error-log
====================[ Build | combine_latest_until_first_completed_test | Debug ]====
"/Users/igor/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/183.5429.37/CLion.app/Contents/bin/cmake/mac/bin/cmake" --build /Users/igor/cpp/iroha/cmake-build-debug --target combine_latest_until_first_completed_test -- -j8
[ 66%] Built target google_test
[100%] Built target reactive_extensions_rxcpp
[100%] Building CXX object test/module/libs/common/CMakeFiles/combine_latest_until_first_completed_test.dir/combine_latest_until_first_completed_test.o
In file included from /Users/igor/cpp/iroha/test/module/libs/common/combine_latest_until_first_completed_test.cpp:11:
In file included from /usr/local/include/boost/variant.hpp:17:
/usr/local/include/boost/variant/variant.hpp:387:9: error: destructor called on non-final 'IntervalObservebleHelper' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
operand.~T(); // must be noexcept
^
/usr/local/include/boost/variant/detail/visitation_impl.hpp:112:20: note: in instantiation of function template specialization 'boost::detail::variant::destroyer::internal_visit<IntervalObservebleHelper>' requested here
return visitor.internal_visit(
^
/usr/local/include/boost/variant/detail/visitation_impl.hpp:154:13: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl_invoke_impl<boost::detail::variant::destroyer, void *, IntervalObservebleHelper>' requested here
return (visitation_impl_invoke_impl)(
^
/usr/local/include/boost/variant/detail/visitation_impl.hpp:240:11: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl_invoke<boost::detail::variant::destroyer, void *, IntervalObservebleHelper, boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::has_fallback_type_>' requested here
, BOOST_VARIANT_AUX_APPLY_VISITOR_STEP_CASE
^
/usr/local/include/boost/preprocessor/repetition/repeat.hpp:29:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^
/usr/local/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^
/usr/local/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) a ## b
^
<scratch space>:28:1: note: expanded from here
BOOST_PP_REPEAT_1
^
/usr/local/include/boost/variant/variant.hpp:2452: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>, IntervalObservebleHelper, boost::mpl::l_item<mpl_::long_<1>, IntervalObservebleTakeNHelper, boost::mpl::l_end> > >, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::destroyer, void *, boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::has_fallback_type_>' requested here
return detail::variant::visitation_impl(
^
/usr/local/include/boost/variant/variant.hpp:2466:16: note: in instantiation of function template specialization 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::internal_apply_visitor_impl<boost::detail::variant::destroyer, void *>' requested here
return internal_apply_visitor_impl(
^
/usr/local/include/boost/variant/variant.hpp:1474:15: note: in instantiation of function template specialization 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::internal_apply_visitor<boost::detail::variant::destroyer>' requested here
this->internal_apply_visitor(visitor);
^
/usr/local/include/boost/variant/variant.hpp:1481:9: note: in instantiation of member function 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::destroy_content' requested here
destroy_content();
^
/Users/igor/cpp/iroha/test/module/libs/common/combine_latest_until_first_completed_test.cpp:161:7: note: in instantiation of member function 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::~variant' requested here
IntervalObservebleHelper(17ms),
^
/usr/local/include/boost/variant/variant.hpp:387:18: note: qualify call to silence this warning
operand.~T(); // must be noexcept
^
/usr/local/include/boost/variant/variant.hpp:387:9: error: destructor called on non-final 'IntervalObservebleTakeNHelper' that has virtual functions but non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor]
operand.~T(); // must be noexcept
^
/usr/local/include/boost/variant/detail/visitation_impl.hpp:112:20: note: in instantiation of function template specialization 'boost::detail::variant::destroyer::internal_visit<IntervalObservebleTakeNHelper>' requested here
return visitor.internal_visit(
^
/usr/local/include/boost/variant/detail/visitation_impl.hpp:154:13: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl_invoke_impl<boost::detail::variant::destroyer, void *, IntervalObservebleTakeNHelper>' requested here
return (visitation_impl_invoke_impl)(
^
/usr/local/include/boost/variant/detail/visitation_impl.hpp:240:11: note: in instantiation of function template specialization 'boost::detail::variant::visitation_impl_invoke<boost::detail::variant::destroyer, void *, IntervalObservebleTakeNHelper, boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::has_fallback_type_>' requested here
, BOOST_VARIANT_AUX_APPLY_VISITOR_STEP_CASE
^
/usr/local/include/boost/preprocessor/repetition/repeat.hpp:29:26: note: expanded from macro 'BOOST_PP_REPEAT'
# define BOOST_PP_REPEAT BOOST_PP_CAT(BOOST_PP_REPEAT_, BOOST_PP_AUTO_REC(BOOST_PP_REPEAT_P, 4))
^
/usr/local/include/boost/preprocessor/cat.hpp:22:32: note: expanded from macro 'BOOST_PP_CAT'
# define BOOST_PP_CAT(a, b) BOOST_PP_CAT_I(a, b)
^
/usr/local/include/boost/preprocessor/cat.hpp:29:34: note: expanded from macro 'BOOST_PP_CAT_I'
# define BOOST_PP_CAT_I(a, b) a ## b
^
<scratch space>:28:1: note: expanded from here
BOOST_PP_REPEAT_1
^
/usr/local/include/boost/variant/variant.hpp:2452: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>, IntervalObservebleHelper, boost::mpl::l_item<mpl_::long_<1>, IntervalObservebleTakeNHelper, boost::mpl::l_end> > >, boost::mpl::l_iter<boost::mpl::l_end> >, boost::detail::variant::destroyer, void *, boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::has_fallback_type_>' requested here
return detail::variant::visitation_impl(
^
/usr/local/include/boost/variant/variant.hpp:2466:16: note: in instantiation of function template specialization 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::internal_apply_visitor_impl<boost::detail::variant::destroyer, void *>' requested here
return internal_apply_visitor_impl(
^
/usr/local/include/boost/variant/variant.hpp:1474:15: note: in instantiation of function template specialization 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::internal_apply_visitor<boost::detail::variant::destroyer>' requested here
this->internal_apply_visitor(visitor);
^
/usr/local/include/boost/variant/variant.hpp:1481:9: note: in instantiation of member function 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::destroy_content' requested here
destroy_content();
^
/Users/igor/cpp/iroha/test/module/libs/common/combine_latest_until_first_completed_test.cpp:161:7: note: in instantiation of member function 'boost::variant<IntervalObservebleHelper, IntervalObservebleTakeNHelper>::~variant' requested here
IntervalObservebleHelper(17ms),
^
/usr/local/include/boost/variant/variant.hpp:387:18: note: qualify call to silence this warning
operand.~T(); // must be noexcept
^
2 errors generated.
make[3]: *** [test/module/libs/common/CMakeFiles/combine_latest_until_first_completed_test.dir/combine_latest_until_first_completed_test.o] Error 1
make[2]: *** [test/module/libs/common/CMakeFiles/combine_latest_until_first_completed_test.dir/all] Error 2
make[1]: *** [test/module/libs/common/CMakeFiles/combine_latest_until_first_completed_test.dir/rule] Error 2
make: *** [combine_latest_until_first_completed_test] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment