Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/termcolor.spec'], chrootPath='/var/lib/mock/f38-build-722543-98791/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/termcolor.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/termcolor-2.0.0-4.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/termcolor.spec'], chrootPath='/var/lib/mock/f38-build-722543-98791/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/termcolor.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mOKEH3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf termcolor-2.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v2.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd termcolor-2.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-GNUInstallDirs-for-install-targets.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5aPUXN + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd termcolor-2.0.0 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DTERMCOLOR_TESTS:BOOL=ON -- The C compiler identification is GNU 13.1.1 -- The CXX compiler identification is GNU 13.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (4.8s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose /usr/bin/cmake -S/builddir/build/BUILD/termcolor-2.0.0 -B/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build/CMakeFiles /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/test_termcolor.dir/build.make CMakeFiles/test_termcolor.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build' cd /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/termcolor-2.0.0 /builddir/build/BUILD/termcolor-2.0.0 /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build /builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build/CMakeFiles/test_termcolor.dir/DependInfo.cmake --color= gmake[2]: Leaving directory '/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/test_termcolor.dir/build.make CMakeFiles/test_termcolor.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build' [ 50%] Building CXX object CMakeFiles/test_termcolor.dir/test/test.cpp.o /usr/bin/g++ -I/builddir/build/BUILD/termcolor-2.0.0/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -MD -MT CMakeFiles/test_termcolor.dir/test/test.cpp.o -MF CMakeFiles/test_termcolor.dir/test/test.cpp.o.d -o CMakeFiles/test_termcolor.dir/test/test.cpp.o -c /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp In file included from /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:36: /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:197:15: error: 'uint8_t' has not been declared 197 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: In function 'std::ostream& termcolor::color(std::ostream&)': /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:204:70: error: 'code' was not declared in this scope 204 | std::snprintf(command, sizeof(command), "\033[38;5;%dm", code); | ^~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: At global scope: /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:212:15: error: 'uint8_t' has not been declared 212 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: In function 'std::ostream& termcolor::on_color(std::ostream&)': /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:219:70: error: 'code' was not declared in this scope 219 | std::snprintf(command, sizeof(command), "\033[48;5;%dm", code); | ^~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: At global scope: /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:227:15: error: 'uint8_t' has not been declared 227 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:227:26: error: 'uint8_t' has not been declared 227 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:227:37: error: 'uint8_t' has not been declared 227 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: In function 'std::ostream& termcolor::color(std::ostream&)': /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:234:76: error: 'r' was not declared in this scope 234 | std::snprintf(command, sizeof(command), "\033[38;2;%d;%d;%dm", r, g, b); | ^ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:234:79: error: 'g' was not declared in this scope 234 | std::snprintf(command, sizeof(command), "\033[38;2;%d;%d;%dm", r, g, b); | ^ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:234:82: error: 'b' was not declared in this scope 234 | std::snprintf(command, sizeof(command), "\033[38;2;%d;%d;%dm", r, g, b); | ^ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: At global scope: /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:242:15: error: 'uint8_t' has not been declared 242 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:242:26: error: 'uint8_t' has not been declared 242 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:242:37: error: 'uint8_t' has not been declared 242 | template inline | ^~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp: In function 'std::ostream& termcolor::on_color(std::ostream&)': /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:249:76: error: 'r' was not declared in this scope 249 | std::snprintf(command, sizeof(command), "\033[48;2;%d;%d;%dm", r, g, b); | ^ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:249:79: error: 'g' was not declared in this scope 249 | std::snprintf(command, sizeof(command), "\033[48;2;%d;%d;%dm", r, g, b); | ^ /builddir/build/BUILD/termcolor-2.0.0/include/termcolor/termcolor.hpp:249:82: error: 'b' was not declared in this scope 249 | std::snprintf(command, sizeof(command), "\033[48;2;%d;%d;%dm", r, g, b); | ^ /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp: In function 'int main(int, char**)': /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:15: error: no match for 'operator<<' (operand types are 'std::ostream' {aka 'std::basic_ostream'} and '') 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~ | | | | | | std::ostream {aka std::basic_ostream} In file included from /usr/include/c++/13/iostream:41, from /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:33: /usr/include/c++/13/ostream:110:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:110:36: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)' {aka 'std::basic_ostream& (*)(std::basic_ostream&)'} 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:119:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; __ios_type = std::basic_ios]' 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:119:32: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)' {aka 'std::basic_ios& (*)(std::basic_ios&)'} 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:129:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/13/ostream:129:30: note: no known conversion for argument 1 from '' to 'std::ios_base& (*)(std::ios_base&)' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:168:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 168 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:168:23: note: no known conversion for argument 1 from '' to 'long int' 168 | operator<<(long __n) | ~~~~~^~~ /usr/include/c++/13/ostream:172:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 172 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:172:32: note: no known conversion for argument 1 from '' to 'long unsigned int' 172 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:176:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 176 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/13/ostream:176:23: note: no known conversion for argument 1 from '' to 'bool' 176 | operator<<(bool __n) | ~~~~~^~~ In file included from /usr/include/c++/13/ostream:880: /usr/include/c++/13/bits/ostream.tcc:96:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]' 96 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:97:22: note: no known conversion for argument 1 from '' to 'short int' 97 | operator<<(short __n) | ~~~~~~^~~ /usr/include/c++/13/ostream:183:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 183 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/13/ostream:183:33: note: no known conversion for argument 1 from '' to 'short unsigned int' 183 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:110:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' 110 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:111:20: note: no known conversion for argument 1 from '' to 'int' 111 | operator<<(int __n) | ~~~~^~~ /usr/include/c++/13/ostream:194:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 194 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/13/ostream:194:31: note: no known conversion for argument 1 from '' to 'unsigned int' 194 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:203:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 203 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:203:28: note: no known conversion for argument 1 from '' to 'long long int' 203 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/13/ostream:207:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 207 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:207:37: note: no known conversion for argument 1 from '' to 'long long unsigned int' 207 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:222:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 222 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:222:25: note: no known conversion for argument 1 from '' to 'double' 222 | operator<<(double __f) | ~~~~~~~^~~ /usr/include/c++/13/ostream:226:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 226 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/13/ostream:226:24: note: no known conversion for argument 1 from '' to 'float' 226 | operator<<(float __f) | ~~~~~~^~~ /usr/include/c++/13/ostream:234:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 234 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:234:30: note: no known conversion for argument 1 from '' to 'long double' 234 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:292:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 292 | operator<<(const void* __p) | ^~~~~~~~ /usr/include/c++/13/ostream:292:30: note: no known conversion for argument 1 from '' to 'const void*' 292 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:297:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; std::nullptr_t = std::nullptr_t]' 297 | operator<<(nullptr_t) | ^~~~~~~~ /usr/include/c++/13/ostream:297:18: note: no known conversion for argument 1 from '' to 'std::nullptr_t' 297 | operator<<(nullptr_t) | ^~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:124:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; __streambuf_type = std::basic_streambuf]' 124 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:125:34: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__streambuf_type*' {aka 'std::basic_streambuf*'} 125 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/c++/13/bits/basic_string.h:47, from /usr/include/c++/13/string:54, from /usr/include/c++/13/bits/locale_classes.h:40, from /usr/include/c++/13/bits/ios_base.h:41, from /usr/include/c++/13/ios:44, from /usr/include/c++/13/ostream:40: /usr/include/c++/13/string_view:760:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, basic_string_view<_CharT, _Traits>) [with _CharT = char; _Traits = char_traits]' 760 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/string_view:761:50: note: no known conversion for argument 2 from '' to 'std::basic_string_view' 761 | basic_string_view<_CharT,_Traits> __str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 4033 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: couldn't deduce template parameter '_Alloc' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/memory_resource.h:38, from /usr/include/c++/13/string:58: /usr/include/c++/13/cstddef:124:5: note: candidate: 'template constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, _IntegerType)' 124 | operator<<(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: couldn't deduce template parameter '_IntegerType' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/bits/ios_base.h:46: /usr/include/c++/13/system_error:339:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)' 339 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/13/system_error:339:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'const std::error_code&' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:554:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits]' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/13/ostream:554:62: note: no known conversion for argument 2 from '' to 'char' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/13/ostream:564:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)' 564 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:564:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'char' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:570:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, char)' 570 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:570:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'char' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:581:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, signed char)' 581 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:581:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'signed char' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:586:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, unsigned char)' 586 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:586:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'unsigned char' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:645:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits]' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:645:69: note: no known conversion for argument 2 from '' to 'const char*' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)' 307 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'const char*' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:662:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const char*)' 662 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:662:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'const char*' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:675:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const signed char*)' 675 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:675:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'const signed char*' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:680:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const unsigned char*)' 680 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:680:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: cannot convert 'color<181, 137, 0>' (type '') to type 'const unsigned char*' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:801:5: note: candidate: 'template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)' 801 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/13/ostream:801:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:44:18: note: couldn't deduce template parameter '_Tp' 44 | std::cout << color<181, 137, 0> << "#b58900" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:15: error: no match for 'operator<<' (operand types are 'std::ostream' {aka 'std::basic_ostream'} and '') 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ~~~~~~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~ | | | | | | std::ostream {aka std::basic_ostream} /usr/include/c++/13/ostream:110:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:110:36: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)' {aka 'std::basic_ostream& (*)(std::basic_ostream&)'} 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:119:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; __ios_type = std::basic_ios]' 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:119:32: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)' {aka 'std::basic_ios& (*)(std::basic_ios&)'} 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:129:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/13/ostream:129:30: note: no known conversion for argument 1 from '' to 'std::ios_base& (*)(std::ios_base&)' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:168:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 168 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:168:23: note: no known conversion for argument 1 from '' to 'long int' 168 | operator<<(long __n) | ~~~~~^~~ /usr/include/c++/13/ostream:172:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 172 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:172:32: note: no known conversion for argument 1 from '' to 'long unsigned int' 172 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:176:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 176 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/13/ostream:176:23: note: no known conversion for argument 1 from '' to 'bool' 176 | operator<<(bool __n) | ~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:96:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]' 96 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:97:22: note: no known conversion for argument 1 from '' to 'short int' 97 | operator<<(short __n) | ~~~~~~^~~ /usr/include/c++/13/ostream:183:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 183 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/13/ostream:183:33: note: no known conversion for argument 1 from '' to 'short unsigned int' 183 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:110:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' 110 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:111:20: note: no known conversion for argument 1 from '' to 'int' 111 | operator<<(int __n) | ~~~~^~~ /usr/include/c++/13/ostream:194:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 194 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/13/ostream:194:31: note: no known conversion for argument 1 from '' to 'unsigned int' 194 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:203:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 203 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:203:28: note: no known conversion for argument 1 from '' to 'long long int' 203 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/13/ostream:207:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 207 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:207:37: note: no known conversion for argument 1 from '' to 'long long unsigned int' 207 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:222:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 222 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:222:25: note: no known conversion for argument 1 from '' to 'double' 222 | operator<<(double __f) | ~~~~~~~^~~ /usr/include/c++/13/ostream:226:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 226 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/13/ostream:226:24: note: no known conversion for argument 1 from '' to 'float' 226 | operator<<(float __f) | ~~~~~~^~~ /usr/include/c++/13/ostream:234:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 234 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:234:30: note: no known conversion for argument 1 from '' to 'long double' 234 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:292:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 292 | operator<<(const void* __p) | ^~~~~~~~ /usr/include/c++/13/ostream:292:30: note: no known conversion for argument 1 from '' to 'const void*' 292 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:297:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; std::nullptr_t = std::nullptr_t]' 297 | operator<<(nullptr_t) | ^~~~~~~~ /usr/include/c++/13/ostream:297:18: note: no known conversion for argument 1 from '' to 'std::nullptr_t' 297 | operator<<(nullptr_t) | ^~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:124:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; __streambuf_type = std::basic_streambuf]' 124 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:125:34: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__streambuf_type*' {aka 'std::basic_streambuf*'} 125 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/c++/13/string_view:760:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, basic_string_view<_CharT, _Traits>) [with _CharT = char; _Traits = char_traits]' 760 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/string_view:761:50: note: no known conversion for argument 2 from '' to 'std::basic_string_view' 761 | basic_string_view<_CharT,_Traits> __str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 4033 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: couldn't deduce template parameter '_Alloc' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: candidate: 'template constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, _IntegerType)' 124 | operator<<(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: couldn't deduce template parameter '_IntegerType' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/system_error:339:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)' 339 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/13/system_error:339:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'const std::error_code&' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:554:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits]' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/13/ostream:554:62: note: no known conversion for argument 2 from '' to 'char' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/13/ostream:564:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)' 564 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:564:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'char' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:570:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, char)' 570 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:570:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'char' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:581:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, signed char)' 581 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:581:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'signed char' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:586:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, unsigned char)' 586 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:586:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'unsigned char' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:645:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits]' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:645:69: note: no known conversion for argument 2 from '' to 'const char*' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)' 307 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'const char*' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:662:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const char*)' 662 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:662:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'const char*' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:675:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const signed char*)' 675 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:675:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'const signed char*' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:680:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const unsigned char*)' 680 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:680:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: cannot convert 'on_color<211, 54, 130>' (type '') to type 'const unsigned char*' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:801:5: note: candidate: 'template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)' 801 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/13/ostream:801:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:45:18: note: couldn't deduce template parameter '_Tp' 45 | std::cout << on_color<211, 54, 130> << "#d33682" << reset << std::endl; | ^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:15: error: no match for 'operator<<' (operand types are 'std::ostream' {aka 'std::basic_ostream'} and '') 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ~~~~~~~~~ ^~ ~~~~~~~~~~ | | | | | | std::ostream {aka std::basic_ostream} /usr/include/c++/13/ostream:110:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:110:36: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)' {aka 'std::basic_ostream& (*)(std::basic_ostream&)'} 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:119:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; __ios_type = std::basic_ios]' 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:119:32: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)' {aka 'std::basic_ios& (*)(std::basic_ios&)'} 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:129:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/13/ostream:129:30: note: no known conversion for argument 1 from '' to 'std::ios_base& (*)(std::ios_base&)' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:168:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 168 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:168:23: note: no known conversion for argument 1 from '' to 'long int' 168 | operator<<(long __n) | ~~~~~^~~ /usr/include/c++/13/ostream:172:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 172 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:172:32: note: no known conversion for argument 1 from '' to 'long unsigned int' 172 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:176:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 176 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/13/ostream:176:23: note: no known conversion for argument 1 from '' to 'bool' 176 | operator<<(bool __n) | ~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:96:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]' 96 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:97:22: note: no known conversion for argument 1 from '' to 'short int' 97 | operator<<(short __n) | ~~~~~~^~~ /usr/include/c++/13/ostream:183:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 183 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/13/ostream:183:33: note: no known conversion for argument 1 from '' to 'short unsigned int' 183 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:110:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' 110 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:111:20: note: no known conversion for argument 1 from '' to 'int' 111 | operator<<(int __n) | ~~~~^~~ /usr/include/c++/13/ostream:194:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 194 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/13/ostream:194:31: note: no known conversion for argument 1 from '' to 'unsigned int' 194 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:203:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 203 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:203:28: note: no known conversion for argument 1 from '' to 'long long int' 203 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/13/ostream:207:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 207 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:207:37: note: no known conversion for argument 1 from '' to 'long long unsigned int' 207 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:222:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 222 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:222:25: note: no known conversion for argument 1 from '' to 'double' 222 | operator<<(double __f) | ~~~~~~~^~~ /usr/include/c++/13/ostream:226:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 226 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/13/ostream:226:24: note: no known conversion for argument 1 from '' to 'float' 226 | operator<<(float __f) | ~~~~~~^~~ /usr/include/c++/13/ostream:234:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 234 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:234:30: note: no known conversion for argument 1 from '' to 'long double' 234 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:292:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 292 | operator<<(const void* __p) | ^~~~~~~~ /usr/include/c++/13/ostream:292:30: note: no known conversion for argument 1 from '' to 'const void*' 292 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:297:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; std::nullptr_t = std::nullptr_t]' 297 | operator<<(nullptr_t) | ^~~~~~~~ /usr/include/c++/13/ostream:297:18: note: no known conversion for argument 1 from '' to 'std::nullptr_t' 297 | operator<<(nullptr_t) | ^~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:124:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; __streambuf_type = std::basic_streambuf]' 124 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:125:34: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__streambuf_type*' {aka 'std::basic_streambuf*'} 125 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/c++/13/string_view:760:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, basic_string_view<_CharT, _Traits>) [with _CharT = char; _Traits = char_traits]' 760 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/string_view:761:50: note: no known conversion for argument 2 from '' to 'std::basic_string_view' 761 | basic_string_view<_CharT,_Traits> __str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 4033 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: couldn't deduce template parameter '_Alloc' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: candidate: 'template constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, _IntegerType)' 124 | operator<<(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: couldn't deduce template parameter '_IntegerType' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/system_error:339:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)' 339 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/13/system_error:339:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'const std::error_code&' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:554:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits]' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/13/ostream:554:62: note: no known conversion for argument 2 from '' to 'char' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/13/ostream:564:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)' 564 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:564:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'char' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:570:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, char)' 570 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:570:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'char' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:581:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, signed char)' 581 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:581:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'signed char' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:586:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, unsigned char)' 586 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:586:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'unsigned char' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:645:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits]' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:645:69: note: no known conversion for argument 2 from '' to 'const char*' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)' 307 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'const char*' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:662:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const char*)' 662 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:662:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'const char*' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:675:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const signed char*)' 675 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:675:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'const signed char*' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:680:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const unsigned char*)' 680 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:680:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: cannot convert 'color<123>' (type '') to type 'const unsigned char*' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /usr/include/c++/13/ostream:801:5: note: candidate: 'template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)' 801 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/13/ostream:801:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:49:18: note: couldn't deduce template parameter '_Tp' 49 | std::cout << color<123> << "No. 123" << reset << std::endl; | ^~~~~~~~~~ /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:15: error: no match for 'operator<<' (operand types are 'std::ostream' {aka 'std::basic_ostream'} and '') 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ~~~~~~~~~ ^~ ~~~~~~~~~~~~~ | | | | | | std::ostream {aka std::basic_ostream} /usr/include/c++/13/ostream:110:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ostream_type& (*)(__ostream_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:110:36: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&)' {aka 'std::basic_ostream& (*)(std::basic_ostream&)'} 110 | operator<<(__ostream_type& (*__pf)(__ostream_type&)) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:119:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(__ios_type& (*)(__ios_type&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; __ios_type = std::basic_ios]' 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ^~~~~~~~ /usr/include/c++/13/ostream:119:32: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&)' {aka 'std::basic_ios& (*)(std::basic_ios&)'} 119 | operator<<(__ios_type& (*__pf)(__ios_type&)) | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:129:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ^~~~~~~~ /usr/include/c++/13/ostream:129:30: note: no known conversion for argument 1 from '' to 'std::ios_base& (*)(std::ios_base&)' 129 | operator<<(ios_base& (*__pf) (ios_base&)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/c++/13/ostream:168:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 168 | operator<<(long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:168:23: note: no known conversion for argument 1 from '' to 'long int' 168 | operator<<(long __n) | ~~~~~^~~ /usr/include/c++/13/ostream:172:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 172 | operator<<(unsigned long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:172:32: note: no known conversion for argument 1 from '' to 'long unsigned int' 172 | operator<<(unsigned long __n) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:176:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 176 | operator<<(bool __n) | ^~~~~~~~ /usr/include/c++/13/ostream:176:23: note: no known conversion for argument 1 from '' to 'bool' 176 | operator<<(bool __n) | ~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:96:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits]' 96 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:97:22: note: no known conversion for argument 1 from '' to 'short int' 97 | operator<<(short __n) | ~~~~~~^~~ /usr/include/c++/13/ostream:183:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 183 | operator<<(unsigned short __n) | ^~~~~~~~ /usr/include/c++/13/ostream:183:33: note: no known conversion for argument 1 from '' to 'short unsigned int' 183 | operator<<(unsigned short __n) | ~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:110:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits]' 110 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:111:20: note: no known conversion for argument 1 from '' to 'int' 111 | operator<<(int __n) | ~~~~^~~ /usr/include/c++/13/ostream:194:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 194 | operator<<(unsigned int __n) | ^~~~~~~~ /usr/include/c++/13/ostream:194:31: note: no known conversion for argument 1 from '' to 'unsigned int' 194 | operator<<(unsigned int __n) | ~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:203:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 203 | operator<<(long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:203:28: note: no known conversion for argument 1 from '' to 'long long int' 203 | operator<<(long long __n) | ~~~~~~~~~~^~~ /usr/include/c++/13/ostream:207:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 207 | operator<<(unsigned long long __n) | ^~~~~~~~ /usr/include/c++/13/ostream:207:37: note: no known conversion for argument 1 from '' to 'long long unsigned int' 207 | operator<<(unsigned long long __n) | ~~~~~~~~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:222:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 222 | operator<<(double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:222:25: note: no known conversion for argument 1 from '' to 'double' 222 | operator<<(double __f) | ~~~~~~~^~~ /usr/include/c++/13/ostream:226:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 226 | operator<<(float __f) | ^~~~~~~~ /usr/include/c++/13/ostream:226:24: note: no known conversion for argument 1 from '' to 'float' 226 | operator<<(float __f) | ~~~~~~^~~ /usr/include/c++/13/ostream:234:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 234 | operator<<(long double __f) | ^~~~~~~~ /usr/include/c++/13/ostream:234:30: note: no known conversion for argument 1 from '' to 'long double' 234 | operator<<(long double __f) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:292:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream]' 292 | operator<<(const void* __p) | ^~~~~~~~ /usr/include/c++/13/ostream:292:30: note: no known conversion for argument 1 from '' to 'const void*' 292 | operator<<(const void* __p) | ~~~~~~~~~~~~^~~ /usr/include/c++/13/ostream:297:7: note: candidate: 'std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::nullptr_t) [with _CharT = char; _Traits = std::char_traits; __ostream_type = std::basic_ostream; std::nullptr_t = std::nullptr_t]' 297 | operator<<(nullptr_t) | ^~~~~~~~ /usr/include/c++/13/ostream:297:18: note: no known conversion for argument 1 from '' to 'std::nullptr_t' 297 | operator<<(nullptr_t) | ^~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:124:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; __streambuf_type = std::basic_streambuf]' 124 | basic_ostream<_CharT, _Traits>:: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:125:34: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__streambuf_type*' {aka 'std::basic_streambuf*'} 125 | operator<<(__streambuf_type* __sbin) | ~~~~~~~~~~~~~~~~~~^~~~~~ /usr/include/c++/13/string_view:760:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, basic_string_view<_CharT, _Traits>) [with _CharT = char; _Traits = char_traits]' 760 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/string_view:761:50: note: no known conversion for argument 2 from '' to 'std::basic_string_view' 761 | basic_string_view<_CharT,_Traits> __str) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Allocator>&)' 4033 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /usr/include/c++/13/bits/basic_string.h:4033:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: couldn't deduce template parameter '_Alloc' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: candidate: 'template constexpr std::__byte_op_t<_IntegerType> std::operator<<(byte, _IntegerType)' 124 | operator<<(byte __b, _IntegerType __shift) noexcept | ^~~~~~~~ /usr/include/c++/13/cstddef:124:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: couldn't deduce template parameter '_IntegerType' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/system_error:339:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)' 339 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /usr/include/c++/13/system_error:339:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'const std::error_code&' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:554:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT) [with _CharT = char; _Traits = char_traits]' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /usr/include/c++/13/ostream:554:62: note: no known conversion for argument 2 from '' to 'char' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ~~~~~~~^~~ /usr/include/c++/13/ostream:564:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)' 564 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:564:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'char' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:570:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, char)' 570 | operator<<(basic_ostream& __out, char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:570:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'char' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:581:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, signed char)' 581 | operator<<(basic_ostream& __out, signed char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:581:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'signed char' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:586:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, unsigned char)' 586 | operator<<(basic_ostream& __out, unsigned char __c) | ^~~~~~~~ /usr/include/c++/13/ostream:586:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'unsigned char' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:645:5: note: candidate: 'std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*) [with _CharT = char; _Traits = char_traits]' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:645:69: note: no known conversion for argument 2 from '' to 'const char*' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ~~~~~~~~~~~~~~^~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: candidate: 'template std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)' 307 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/bits/ostream.tcc:307:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'const char*' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:662:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const char*)' 662 | operator<<(basic_ostream& __out, const char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:662:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'const char*' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:675:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const signed char*)' 675 | operator<<(basic_ostream& __out, const signed char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:675:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'const signed char*' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:680:5: note: candidate: 'template std::basic_ostream& std::operator<<(basic_ostream&, const unsigned char*)' 680 | operator<<(basic_ostream& __out, const unsigned char* __s) | ^~~~~~~~ /usr/include/c++/13/ostream:680:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: cannot convert 'on_color<234>' (type '') to type 'const unsigned char*' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ /usr/include/c++/13/ostream:801:5: note: candidate: 'template _Ostream&& std::operator<<(_Ostream&&, const _Tp&)' 801 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /usr/include/c++/13/ostream:801:5: note: template argument deduction/substitution failed: /builddir/build/BUILD/termcolor-2.0.0/test/test.cpp:50:18: note: couldn't deduce template parameter '_Tp' 50 | std::cout << on_color<234> << "No. 234" << reset << std::endl; | ^~~~~~~~~~~~~ gmake[2]: *** [CMakeFiles/test_termcolor.dir/build.make:79: CMakeFiles/test_termcolor.dir/test/test.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build' gmake[1]: Leaving directory '/builddir/build/BUILD/termcolor-2.0.0/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:86: CMakeFiles/test_termcolor.dir/all] Error 2 gmake: *** [Makefile:139: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.5aPUXN (%build) Bad exit status from /var/tmp/rpm-tmp.5aPUXN (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/termcolor.spec