CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR In file included from /home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6/source_subfolder/src/imap.cpp:20: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/algorithm/string.hpp:23: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/algorithm/string/split.hpp:16: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/algorithm/string/iter_find.hpp:27: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/algorithm/string/find_iterator.hpp:24: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/algorithm/string/detail/find_iterator.hpp:18: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/function.hpp:30: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/function/detail/prologue.hpp:17: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/function/function_base.hpp:21: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/type_index.hpp:29: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/type_index/stl_type_index.hpp:47: In file included from /home/conan/w/cci_PR-4017/.conan/data/boost/1.75.0/_/_/package/f9b63911ff837f630a5f0c8c5f143193cdca365e/include/boost/container_hash/hash.hpp:115: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:238:46: error: cannot cast 'std::variant, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' to its private base class 'std::__detail::__variant::_Variant_storage, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' return __get(std::in_place_index<_Np>, std::forward<_Variant>(__v)._M_u); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:1198:35: note: in instantiation of function template specialization 'std::__detail::__variant::__get<2, std::variant, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date> &>' requested here return __detail::__variant::__get<_Np>(__v); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:744:14: note: in instantiation of function template specialization 'std::get<2, std::monostate, std::basic_string, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' requested here return get<__detail::__variant::__index_of_v<_Tp, _Types...>>(__v); ^ /home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6/source_subfolder/src/imap.cpp:97:66: note: in instantiation of function template specialization 'std::get >, std::allocator > > >, std::monostate, std::basic_string, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' requested here imap_string = messages_range_list_to_string(std::get>(value)); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:883:7: note: constrained by private inheritance here : private __detail::__variant::_Variant_base<_Types...>, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:238:74: error: '_M_u' is a private member of 'std::__detail::__variant::_Variant_storage, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' return __get(std::in_place_index<_Np>, std::forward<_Variant>(__v)._M_u); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:883:7: note: constrained by private inheritance here : private __detail::__variant::_Variant_base<_Types...>, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:363:34: note: member is declared here _Variadic_union<_Types...> _M_u; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:238:46: error: cannot cast 'std::variant, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' to its private base class 'std::__detail::__variant::_Variant_storage, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' return __get(std::in_place_index<_Np>, std::forward<_Variant>(__v)._M_u); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:1198:35: note: in instantiation of function template specialization 'std::__detail::__variant::__get<1, std::variant, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date> &>' requested here return __detail::__variant::__get<_Np>(__v); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:744:14: note: in instantiation of function template specialization 'std::get<1, std::monostate, std::basic_string, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' requested here return get<__detail::__variant::__index_of_v<_Tp, _Types...>>(__v); ^ /home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6/source_subfolder/src/imap.cpp:102:75: note: in instantiation of function template specialization 'std::get, std::allocator >, std::monostate, std::basic_string, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' requested here imap_string = "SUBJECT " + QUOTED_STRING_SEPARATOR + std::get(value) + QUOTED_STRING_SEPARATOR; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:883:7: note: constrained by private inheritance here : private __detail::__variant::_Variant_base<_Types...>, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:238:74: error: '_M_u' is a private member of 'std::__detail::__variant::_Variant_storage, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' return __get(std::in_place_index<_Np>, std::forward<_Variant>(__v)._M_u); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:883:7: note: constrained by private inheritance here : private __detail::__variant::_Variant_base<_Types...>, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:363:34: note: member is declared here _Variadic_union<_Types...> _M_u; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:238:46: error: cannot cast 'std::variant, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' to its private base class 'std::__detail::__variant::_Variant_storage, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' return __get(std::in_place_index<_Np>, std::forward<_Variant>(__v)._M_u); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:1198:35: note: in instantiation of function template specialization 'std::__detail::__variant::__get<3, std::variant, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date> &>' requested here return __detail::__variant::__get<_Np>(__v); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:744:14: note: in instantiation of function template specialization 'std::get<3, std::monostate, std::basic_string, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' requested here return get<__detail::__variant::__index_of_v<_Tp, _Types...>>(__v); ^ /home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6/source_subfolder/src/imap.cpp:114:68: note: in instantiation of function template specialization 'std::get, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' requested here imap_string = "BEFORE " + imap_date_to_string(std::get(value)); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:883:7: note: constrained by private inheritance here : private __detail::__variant::_Variant_base<_Types...>, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:238:74: error: '_M_u' is a private member of 'std::__detail::__variant::_Variant_storage, std::allocator >, std::list >, std::allocator > > >, boost::gregorian::date>' return __get(std::in_place_index<_Np>, std::forward<_Variant>(__v)._M_u); ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:883:7: note: constrained by private inheritance here : private __detail::__variant::_Variant_base<_Types...>, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/../lib/gcc/x86_64-linux-gnu/7.2.0/../../../../include/c++/7.2.0/variant:363:34: note: member is declared here _Variadic_union<_Types...> _M_u; ^ 6 errors generated. make[2]: *** [source_subfolder/CMakeFiles/mailio.dir/src/imap.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [source_subfolder/CMakeFiles/mailio.dir/all] Error 2 make: *** [all] Error 2 mailio/0.20.0: WARN: Build folder is dirty, removing it: /home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6 mailio/0.20.0: ERROR: Package 'cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6' build failed mailio/0.20.0: WARN: Build folder /home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6 ERROR: mailio/0.20.0: Error in build() method, line 68 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/cci_PR-4017/.conan/data/mailio/0.20.0/_/_/build/cd1cc1a1454c281bbdb89b2d0a0c6ff15051d2b6/build_subfolder' '--' '-j3'