[Aptitude-devel] Bug#966875: aptitude: FTBFS: ../../../../src/generic/views/download_progress.cc:49:11: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char =?UTF-8?Q?[17]=E2=80=99?=)

Lucas Nussbaum lucas at debian.org
Mon Aug 3 08:59:40 BST 2020


Source: aptitude
Version: 0.8.13-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I../../../../src/generic/views -I../../..  -I../../.. -I../../../.. -I../../../../src -I../../../../intl -I/usr/include -Wdate-time -D_FORTIFY_SOURCE=2 -DHELPDIR=\"/usr/share/aptitude\" -DPKGDATADIR=\"/usr/share/aptitude\"  -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/cwidget -I/usr/lib/x86_64-linux-gnu/cwidget -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include    -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security  -D_REENTRANT -std=gnu++17 -Wall  -c -o search_input.o ../../../../src/generic/views/search_input.cc
> ../../../../src/generic/views/download_progress.cc: In function ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’:
> ../../../../src/generic/views/download_progress.cc:49:11: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [17]’)
>    49 |       out << "(current_size = "
>       |       ~~~ ^~ ~~~~~~~~~~~~~~~~~~
>       |       |      |
>       |       |      const char [17]
>       |       std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [17]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const char [17]’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:49:7: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    49 |       out << "(current_size = "
>       |       ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:49:14: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    49 |       out << "(current_size = "
>       |              ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:49:14: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [17]’
>    49 |       out << "(current_size = "
>       |              ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:49:14: note:   cannot convert ‘"(current_size = "’ (type ‘const char [17]’) to type ‘const std::error_code&’
>    49 |       out << "(current_size = "
>       |              ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:49:14: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [17]’
>    49 |       out << "(current_size = "
>       |              ^~~~~~~~~~~~~~~~~~
> ../../../../src/generic/views/download_progress.cc:59:13: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const long unsigned int’)
>    59 |         out << *progress.get_id();
>       |         ~~~ ^~ ~~~~~~~~~~~~~~~~~~
>       |         |      |
>       |         |      const long unsigned int
>       |         std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const long unsigned int’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const long unsigned int’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:59:9: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    59 |         out << *progress.get_id();
>       |         ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:59:33: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘long unsigned int’
>    59 |         out << *progress.get_id();
>       |                                 ^
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:59:33: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const long unsigned int’
>    59 |         out << *progress.get_id();
>       |                                 ^
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:59:16: note:   cannot convert ‘(&(& progress)->aptitude::views::download_progress::file_progress::get_id())->std::optional<long unsigned int>::operator*()’ (type ‘const long unsigned int’) to type ‘const std::error_code&’
>    59 |         out << *progress.get_id();
>       |                ^~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:59:33: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const long unsigned int’
>    59 |         out << *progress.get_id();
>       |                                 ^
> ../../../../src/generic/views/download_progress.cc:61:13: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [7]’)
>    61 |         out << "(none)";
>       |         ~~~ ^~ ~~~~~~~~
>       |         |      |
>       |         |      const char [7]
>       |         std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [7]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const char [7]’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:61:9: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    61 |         out << "(none)";
>       |         ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:61:16: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    61 |         out << "(none)";
>       |                ^~~~~~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:61:16: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [7]’
>    61 |         out << "(none)";
>       |                ^~~~~~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:61:16: note:   cannot convert ‘"(none)"’ (type ‘const char [7]’) to type ‘const std::error_code&’
>    61 |         out << "(none)";
>       |                ^~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:61:16: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [7]’
>    61 |         out << "(none)";
>       |                ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:62:11: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [10]’)
>    62 |       out << ", mode = "
>       |       ~~~ ^~ ~~~~~~~~~~~
>       |       |      |
>       |       |      const char [10]
>       |       std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [10]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const char [10]’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:62:7: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    62 |       out << ", mode = "
>       |       ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:62:14: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    62 |       out << ", mode = "
>       |              ^~~~~~~~~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:62:14: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [10]’
>    62 |       out << ", mode = "
>       |              ^~~~~~~~~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:62:14: note:   cannot convert ‘", mode = "’ (type ‘const char [10]’) to type ‘const std::error_code&’
>    62 |       out << ", mode = "
>       |              ^~~~~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:62:14: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [10]’
>    62 |       out << ", mode = "
>       |              ^~~~~~~~~~~
> ../../../../src/generic/views/download_progress.cc:64:18: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [2]’)
>    64 |       return out << ")";
>       |              ~~~ ^~ ~~~
>       |              |      |
>       |              |      const char [2]
>       |              std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [2]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const char [2]’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:64:14: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    64 |       return out << ")";
>       |              ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:64:21: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    64 |       return out << ")";
>       |                     ^~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:64:21: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [2]’
>    64 |       return out << ")";
>       |                     ^~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:64:21: note:   cannot convert ‘")"’ (type ‘const char [2]’) to type ‘const std::error_code&’
>    64 |       return out << ")";
>       |                     ^~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:64:21: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [2]’
>    64 |       return out << ")";
>       |                     ^~~
> ../../../../src/generic/views/download_progress.cc: In member function ‘void aptitude::views::show_worker_status::operator()(const aptitude::views::download_progress::file_progress&) const’:
> ../../../../src/generic/views/download_progress.cc:87:13: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [10]’)
>    87 |         out << "progress:" << progress;
>       |         ~~~ ^~ ~~~~~~~~~~~
>       |         |      |
>       |         |      const char [10]
>       |         std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [10]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const char [10]’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:87:9: note:   cannot convert ‘((const aptitude::views::show_worker_status*)this)->aptitude::views::show_worker_status::out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    87 |         out << "progress:" << progress;
>       |         ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:87:16: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    87 |         out << "progress:" << progress;
>       |                ^~~~~~~~~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:87:16: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [10]’
>    87 |         out << "progress:" << progress;
>       |                ^~~~~~~~~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:87:16: note:   cannot convert ‘"progress:"’ (type ‘const char [10]’) to type ‘const std::error_code&’
>    87 |         out << "progress:" << progress;
>       |                ^~~~~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:87:16: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [10]’
>    87 |         out << "progress:" << progress;
>       |                ^~~~~~~~~~~
> ../../../../src/generic/views/download_progress.cc: In member function ‘void aptitude::views::show_worker_status::operator()(const string&) const’:
> ../../../../src/generic/views/download_progress.cc:92:13: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [6]’)
>    92 |         out << "msg:\"" << msg << "\"";
>       |         ~~~ ^~ ~~~~~~~~
>       |         |      |
>       |         |      const char [6]
>       |         std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [6]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> In file included from ../../../../src/generic/views/download_progress.cc:21:
> ../../../../src/generic/views/download_progress.h:270:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>   270 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.h:271:63: note:   no known conversion for argument 2 from ‘const char [6]’ to ‘const aptitude::views::download_progress::status&’
>   271 |                              const download_progress::status &status);
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:92:9: note:   cannot convert ‘((const aptitude::views::show_worker_status*)this)->aptitude::views::show_worker_status::out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    92 |         out << "msg:\"" << msg << "\"";
>       |         ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:92:16: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    92 |         out << "msg:\"" << msg << "\"";
>       |                ^~~~~~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:92:16: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [6]’
>    92 |         out << "msg:\"" << msg << "\"";
>       |                ^~~~~~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:92:16: note:   cannot convert ‘"msg:\""’ (type ‘const char [6]’) to type ‘const std::error_code&’
>    92 |         out << "msg:\"" << msg << "\"";
>       |                ^~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:92:16: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [6]’
>    92 |         out << "msg:\"" << msg << "\"";
>       |                ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc: In function ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’:
> ../../../../src/generic/views/download_progress.cc:99:11: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [18]’)
>    99 |       out << "(download_rate = " << status.get_download_rate()
>       |       ~~~ ^~ ~~~~~~~~~~~~~~~~~~~
>       |       |      |
>       |       |      const char [18]
>       |       std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [18]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:96:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>    96 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:97:63: note:   no known conversion for argument 2 from ‘const char [18]’ to ‘const aptitude::views::download_progress::status&’
>    97 |                              const download_progress::status &status)
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:99:7: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>    99 |       out << "(download_rate = " << status.get_download_rate()
>       |       ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:99:14: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>    99 |       out << "(download_rate = " << status.get_download_rate()
>       |              ^~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:99:14: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [18]’
>    99 |       out << "(download_rate = " << status.get_download_rate()
>       |              ^~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:99:14: note:   cannot convert ‘"(download_rate = "’ (type ‘const char [18]’) to type ‘const std::error_code&’
>    99 |       out << "(download_rate = " << status.get_download_rate()
>       |              ^~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:99:14: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [18]’
>    99 |       out << "(download_rate = " << status.get_download_rate()
>       |              ^~~~~~~~~~~~~~~~~~~
> ../../../../src/generic/views/download_progress.cc:113:17: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [3]’)
>   113 |             out << ", ";
>       |             ~~~ ^~ ~~~~
>       |             |      |
>       |             |      const char [3]
>       |             std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [3]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:96:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>    96 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:97:63: note:   no known conversion for argument 2 from ‘const char [3]’ to ‘const aptitude::views::download_progress::status&’
>    97 |                              const download_progress::status &status)
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:113:13: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>   113 |             out << ", ";
>       |             ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:113:20: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>   113 |             out << ", ";
>       |                    ^~~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:113:20: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [3]’
>   113 |             out << ", ";
>       |                    ^~~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:113:20: note:   cannot convert ‘", "’ (type ‘const char [3]’) to type ‘const std::error_code&’
>   113 |             out << ", ";
>       |                    ^~~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:113:20: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [3]’
>   113 |             out << ", ";
>       |                    ^~~~
> ../../../../src/generic/views/download_progress.cc:117:18: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘const char [2]’)
>   117 |       return out << "]";
>       |              ~~~ ^~ ~~~
>       |              |      |
>       |              |      const char [2]
>       |              std::ostream {aka std::basic_ostream<char>}
> ../../../../src/generic/views/download_progress.cc:47:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::file_progress&)’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:47:89: note:   no known conversion for argument 2 from ‘const char [2]’ to ‘const aptitude::views::download_progress::file_progress&’
>    47 |     std::ostream &operator<<(std::ostream &out, const download_progress::file_progress &progress)
>       |                                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:96:19: note: candidate: ‘std::ostream& aptitude::views::operator<<(std::ostream&, const aptitude::views::download_progress::status&)’
>    96 |     std::ostream &operator<<(std::ostream &out,
>       |                   ^~~~~~~~
> ../../../../src/generic/views/download_progress.cc:97:63: note:   no known conversion for argument 2 from ‘const char [2]’ to ‘const aptitude::views::download_progress::status&’
>    97 |                              const download_progress::status &status)
>       |                              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
> In file included from /usr/include/boost/variant/variant.hpp:18,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/cstddef:125:5: note: candidate: ‘template<class _IntegerType> constexpr std::__byte_op_t<_IntegerType> std::operator<<(std::byte, _IntegerType)’
>   125 |     operator<<(byte __b, _IntegerType __shift) noexcept
>       |     ^~~~~~~~
> /usr/include/c++/10/cstddef:125:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:117:14: note:   cannot convert ‘out’ (type ‘std::ostream’ {aka ‘std::basic_ostream<char>’}) to type ‘std::byte’
>   117 |       return out << "]";
>       |              ^~~
> In file included from /usr/include/c++/10/bits/basic_string.h:48,
>                  from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/string_view:622:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::basic_string_view<_CharT, _Traits>)’
>   622 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/string_view:622:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:117:21: note:   mismatched types ‘std::basic_string_view<_CharT, _Traits>’ and ‘const char*’
>   117 |       return out << "]";
>       |                     ^~~
> In file included from /usr/include/c++/10/string:55,
>                  from /usr/include/boost/type_index/type_index_facade.hpp:14,
>                  from /usr/include/boost/type_index/stl_type_index.hpp:22,
>                  from /usr/include/boost/type_index.hpp:29,
>                  from /usr/include/boost/variant/variant.hpp:21,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/basic_string.h:6458:5: note: candidate: ‘template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>&)’
>  6458 |     operator<<(basic_ostream<_CharT, _Traits>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/basic_string.h:6458:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:117:21: note:   mismatched types ‘const std::__cxx11::basic_string<_CharT, _Traits, _Allocator>’ and ‘const char [2]’
>   117 |       return out << "]";
>       |                     ^~~
> In file included from /usr/include/c++/10/bits/ios_base.h:46,
>                  from /usr/include/c++/10/streambuf:41,
>                  from /usr/include/c++/10/bits/streambuf_iterator.h:35,
>                  from /usr/include/c++/10/iterator:66,
>                  from /usr/include/boost/variant/detail/move.hpp:23,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/system_error:262:5: note: candidate: ‘template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::error_code&)’
>   262 |     operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e)
>       |     ^~~~~~~~
> /usr/include/c++/10/system_error:262:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:117:21: note:   cannot convert ‘"]"’ (type ‘const char [2]’) to type ‘const std::error_code&’
>   117 |       return out << "]";
>       |                     ^~~
> In file included from /usr/include/c++/10/memory:84,
>                  from /usr/include/boost/move/algorithm.hpp:33,
>                  from /usr/include/boost/move/move.hpp:32,
>                  from /usr/include/boost/variant/detail/move.hpp:28,
>                  from /usr/include/boost/variant/detail/initializer.hpp:23,
>                  from /usr/include/boost/variant/variant.hpp:30,
>                  from /usr/include/boost/variant.hpp:17,
>                  from ../../../../src/generic/views/download_progress.h:25,
>                  from ../../../../src/generic/views/download_progress.cc:21:
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note: candidate: ‘template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&)’
>    69 |     operator<<(std::basic_ostream<_Ch, _Tr>& __os,
>       |     ^~~~~~~~
> /usr/include/c++/10/bits/shared_ptr.h:69:5: note:   template argument deduction/substitution failed:
> ../../../../src/generic/views/download_progress.cc:117:21: note:   mismatched types ‘const std::__shared_ptr<_Tp, _Lp>’ and ‘const char [2]’
>   117 |       return out << "]";
>       |                     ^~~
> make[6]: *** [Makefile:460: download_progress.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/aptitude_0.8.13-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Aptitude-devel mailing list