* installing *source* package ‘RPostgres’ ... ** this is package ‘RPostgres’ version ‘1.4.8’ ** package ‘RPostgres’ successfully unpacked and MD5 sums checked ** using staged installation Using autobrew bundle: libpq-16.8-universal.tar.xz Using PKG_CFLAGS=-I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include Using PKG_LIBS=-L/Users/ripley/R/packages/tests-devel/RPostgres/.deps/lib ../.deps/pq ../.deps/pgport ../.deps/pgcommon ../.deps/ssl ../.deps/crypto -lldap -dynamic -Wl,-search_paths_first -lkrb5 Using PKG_PLOGR= ** libs using C compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using SDK: ‘MacOSX26.2.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbColumn.cpp -o DbColumn.o In file included from DbColumn.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbColumn.cpp:2: In file included from ./DbColumn.h:8: In file included from vendor/boost/shared_ptr.hpp:17: In file included from vendor/boost/smart_ptr/shared_ptr.hpp:17: In file included from vendor/boost/smart_ptr/detail/shared_count.hpp:25: In file included from vendor/boost/smart_ptr/bad_weak_ptr.hpp:20: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from DbColumn.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbColumn.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [DbColumn.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbColumnDataSource.cpp -o DbColumnDataSource.o In file included from DbColumnDataSource.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbColumnDataSource.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbColumnDataSource.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [DbColumnDataSource.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbColumnDataSourceFactory.cpp -o DbColumnDataSourceFactory.o In file included from DbColumnDataSourceFactory.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbColumnDataSourceFactory.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbColumnDataSourceFactory.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [DbColumnDataSourceFactory.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbColumnStorage.cpp -o DbColumnStorage.o In file included from DbColumnStorage.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbColumnStorage.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbColumnStorage.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [DbColumnStorage.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbConnection.cpp -o DbConnection.o In file included from DbConnection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbConnection.cpp:2: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from DbConnection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbConnection.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [DbConnection.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbDataFrame.cpp -o DbDataFrame.o In file included from DbDataFrame.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbDataFrame.cpp:2: In file included from ./DbDataFrame.h:4: In file included from vendor/boost/container/stable_vector.hpp:23: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from DbDataFrame.cpp:2: In file included from ./DbDataFrame.h:4: In file included from vendor/boost/container/stable_vector.hpp:42: In file included from vendor/boost/container/detail/allocator_version_traits.hpp:27: In file included from vendor/boost/container/detail/multiallocation_chain.hpp:32: vendor/boost/intrusive/slist.hpp:1939:14: warning: variable 'node_count' set but not used [-Wunused-but-set-variable] 1939 | size_t node_count = 0; | ^ In file included from DbDataFrame.cpp:7: vendor/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages] 36 | BOOST_PRAGMA_MESSAGE( | ^ vendor/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE' 24 | # define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x))) | ^ :48:2: note: expanded from here 48 | message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " " + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.") | ^ In file included from DbDataFrame.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbDataFrame.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 5 warnings and 1 error generated. make[1]: *** [DbDataFrame.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c DbResult.cpp -o DbResult.o In file included from DbResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from DbResult.cpp:2: In file included from ./DbResult.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from DbResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from DbResult.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [DbResult.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqColumnDataSource.cpp -o PqColumnDataSource.o In file included from PqColumnDataSource.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqColumnDataSource.cpp:2: In file included from vendor/boost/lexical_cast.hpp:21: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from PqColumnDataSource.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqColumnDataSource.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [PqColumnDataSource.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqColumnDataSourceFactory.cpp -o PqColumnDataSourceFactory.o In file included from PqColumnDataSourceFactory.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqColumnDataSourceFactory.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqColumnDataSourceFactory.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [PqColumnDataSourceFactory.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqDataFrame.cpp -o PqDataFrame.o In file included from PqDataFrame.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqDataFrame.cpp:2: In file included from ./PqDataFrame.h:4: In file included from ./DbDataFrame.h:4: In file included from vendor/boost/container/stable_vector.hpp:23: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from PqDataFrame.cpp:2: In file included from ./PqDataFrame.h:4: In file included from ./DbDataFrame.h:4: In file included from vendor/boost/container/stable_vector.hpp:42: In file included from vendor/boost/container/detail/allocator_version_traits.hpp:27: In file included from vendor/boost/container/detail/multiallocation_chain.hpp:32: vendor/boost/intrusive/slist.hpp:1939:14: warning: variable 'node_count' set but not used [-Wunused-but-set-variable] 1939 | size_t node_count = 0; | ^ In file included from PqDataFrame.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqDataFrame.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 4 warnings and 1 error generated. make[1]: *** [PqDataFrame.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqResult.cpp -o PqResult.o In file included from PqResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqResult.cpp:2: In file included from ./PqResult.h:4: In file included from ./DbResult.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from PqResult.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqResult.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [PqResult.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqResultImpl.cpp -o PqResultImpl.o In file included from PqResultImpl.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqResultImpl.cpp:2: In file included from ./PqResultImpl.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from PqResultImpl.cpp:6: In file included from ./PqDataFrame.h:4: In file included from ./DbDataFrame.h:4: In file included from vendor/boost/container/stable_vector.hpp:42: In file included from vendor/boost/container/detail/allocator_version_traits.hpp:27: In file included from vendor/boost/container/detail/multiallocation_chain.hpp:32: vendor/boost/intrusive/slist.hpp:1939:14: warning: variable 'node_count' set but not used [-Wunused-but-set-variable] 1939 | size_t node_count = 0; | ^ In file included from PqResultImpl.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqResultImpl.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 4 warnings and 1 error generated. make[1]: *** [PqResultImpl.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqResultSource.cpp -o PqResultSource.o In file included from PqResultSource.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqResultSource.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqResultSource.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [PqResultSource.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c PqUtils.cpp -o PqUtils.o In file included from PqUtils.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from PqUtils.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from PqUtils.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [PqUtils.o] Error 1 clang -mmacos-version-min=26 -std=gnu23 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -c RPostgres-init.c -o RPostgres-init.o clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c connection.cpp -o connection.o In file included from connection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from connection.cpp:2: In file included from ./RPostgres_types.h:6: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from connection.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from connection.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [connection.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c cpp11.cpp -o cpp11.o In file included from cpp11.cpp:4: In file included from ./RPostgres_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from cpp11.cpp:4: In file included from ./RPostgres_types.h:6: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from cpp11.cpp:4: In file included from ./RPostgres_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from cpp11.cpp:4: In file included from ./RPostgres_types.h:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ In file included from cpp11.cpp:4: In file included from ./RPostgres_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:104:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'enable_if_integral' (aka 'unsigned int') [-Wfloat-conversion] 104 | return value; | ~~~~~~ ^~~~~ cpp11.cpp:77:170: note: in instantiation of function template specialization 'cpp11::as_cpp' requested here 77 | return cpp11::as_sexp(connection_import_lo_from_file(cpp11::as_cpp>(con), cpp11::as_cpp>(filename), cpp11::as_cpp>(oid))); | ^ In file included from cpp11.cpp:4: In file included from ./RPostgres_types.h:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:104:16: warning: implicit conversion turns floating-point number into integer: 'double' to 'enable_if_integral' (aka 'int') [-Wfloat-conversion] 104 | return value; | ~~~~~~ ^~~~~ cpp11.cpp:92:112: note: in instantiation of function template specialization 'cpp11::as_cpp' requested here 92 | return cpp11::as_sexp(connection_wait_for_notify(cpp11::as_cpp>(con), cpp11::as_cpp>(timeout_secs))); | ^ 5 warnings and 1 error generated. make[1]: *** [cpp11.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c encode.cpp -o encode.o In file included from encode.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from encode.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from encode.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [encode.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c encrypt.cpp -o encrypt.o In file included from encrypt.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from encrypt.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from encrypt.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [encrypt.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c logging.cpp -o logging.o In file included from logging.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from logging.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from logging.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 2 warnings and 1 error generated. make[1]: *** [logging.o] Error 1 clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -I/Users/ripley/R/packages/tests-devel/RPostgres/.deps/include -Ivendor -DRCPP_DEFAULT_INCLUDE_CALL=false -DRCPP_USING_UTF8_ERROR_STRING -DBOOST_NO_AUTO_PTR -I'/Users/ripley/R/Library/cpp11/include' -I'/Users/ripley/R/Library/plogr/include' -isystem /opt/R/arm64/include -fvisibility=hidden -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c result.cpp -o result.o In file included from result.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:7: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/data_frame.hpp:12: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/list.hpp:8: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:10: /Users/ripley/R/Library/cpp11/include/cpp11/sexp.hpp:73:36: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 73 | operator size_t() const { return REAL_ELT(data_, 0); } | ~~~~~~ ^~~~~~~~~~~~~~~~~~ In file included from result.cpp:2: In file included from ./RPostgres_types.h:6: In file included from ./DbConnection.h:4: In file included from vendor/boost/noncopyable.hpp:15: In file included from vendor/boost/core/noncopyable.hpp:12: In file included from vendor/boost/config.hpp:48: vendor/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :4:9: note: previous definition is here 4 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from result.cpp:1: In file included from ./pch.h:1: In file included from /Users/ripley/R/Library/cpp11/include/cpp11.hpp:5: In file included from /Users/ripley/R/Library/cpp11/include/cpp11/as.hpp:11: /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:119:29: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 119 | return std::forward(f)(std::get(std::move(a))...); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:125:10: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 125 | return apply(std::forward(f), std::move(a), make_index_sequence{}); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:138:12: note: in instantiation of function template specialization 'cpp11::detail::apply' requested here 138 | return apply(ptr_, std::move(arefs_)); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:54:16: note: in instantiation of member function 'cpp11::detail::closure::operator()' requested here 54 | return static_cast(*callback)(); | ^ /Users/ripley/R/Library/cpp11/include/cpp11/protect.hpp:152:14: note: in instantiation of function template specialization 'cpp11::unwind_protect, void>' requested here 152 | return unwind_protect( | ^ /Users/ripley/R/Library/cpp11/include/cpp11/r_string.hpp:20:35: note: in instantiation of function template specialization 'cpp11::protect::function::operator()' requested here 20 | : data_(safe[Rf_mkCharLenCE](data.c_str(), data.size(), CE_UTF8)) {} | ^ In file included from result.cpp:1: In file included from ./pch.h:5: In file included from /Users/ripley/R/Library/plogr/include/plogr.h:4: In file included from /Users/ripley/R/Library/plogr/include/plog/Log.h:7: /Users/ripley/R/Library/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<' 37 | m_message << data; | ~~~~~~~~~ ^ ~~~~ /Users/ripley/R/Library/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' requested here 30 | *this << str; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function [with _Traits = std::char_traits] has been explicitly deleted 623 | basic_ostream& operator<<(basic_ostream&, const wchar_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:140:18: note: candidate function 140 | basic_ostream& operator<<(bool __n); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function 152 | basic_ostream& operator<<(const void* __p); | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:346:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 346 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) { | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:373:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument 373 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, char __c) { | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:378:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument 378 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, signed char __c) { | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:383:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument 383 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, unsigned char __c) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:395:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 395 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) { | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:434:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument 434 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(basic_ostream& __os, const char* __str) { | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:440:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument 440 | operator<<(basic_ostream& __os, const signed char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:447:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument 447 | operator<<(basic_ostream& __os, const unsigned char* __str) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:585:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument 585 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) { | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:620:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument 620 | basic_ostream& operator<<(basic_ostream&, wchar_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:641:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument 641 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:647:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument 647 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ ~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:654:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument 654 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument 657 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument 660 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument 663 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:341:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *') 341 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:389:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t') 389 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral::value' was not satisfied [with _Integer = const wchar_t *] 63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]' 234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:566:33: note: candidate template ignored: requirement 'integral_constant::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]] 566 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:573:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]' 573 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:579:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *' 579 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:591:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]' 591 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:605:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]' 605 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:611:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]' 611 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) { | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:626:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 626 | basic_ostream& operator<<(basic_ostream&, char16_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 629 | basic_ostream& operator<<(basic_ostream&, char32_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 632 | basic_ostream& operator<<(basic_ostream&, const char16_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 635 | basic_ostream& operator<<(basic_ostream&, const char32_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:644:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 644 | basic_ostream& operator<<(basic_ostream&, char8_t) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:650:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream' 650 | basic_ostream& operator<<(basic_ostream&, const char8_t*) = delete; | ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:76:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument 76 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:81:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 81 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:86:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument 86 | inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:141:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument 141 | basic_ostream& operator<<(short __n); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:142:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument 142 | basic_ostream& operator<<(unsigned short __n); | ^ ~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument 143 | basic_ostream& operator<<(int __n); | ^ ~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument 144 | basic_ostream& operator<<(unsigned int __n); | ^ ~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument 145 | basic_ostream& operator<<(long __n); | ^ ~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument 146 | basic_ostream& operator<<(unsigned long __n); | ^ ~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument 147 | basic_ostream& operator<<(long long __n); | ^ ~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument 148 | basic_ostream& operator<<(unsigned long long __n); | ^ ~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument 149 | basic_ostream& operator<<(float __f); | ^ ~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument 150 | basic_ostream& operator<<(double __f); | ^ ~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument 151 | basic_ostream& operator<<(long double __f); | ^ ~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:160:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf *' (aka 'basic_streambuf> *') for 1st argument 160 | basic_ostream& operator<<(basic_streambuf* __sb); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__ostream/basic_ostream.h:165:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument 165 | _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; } | ^ ~~~~~~~~~ 3 warnings and 1 error generated. make[1]: *** [result.o] Error 1 make[1]: Target `all' not remade because of errors. ERROR: compilation failed for package ‘RPostgres’ * removing ‘/Users/ripley/R/packages/tests-devel/RPostgres.Rcheck/RPostgres’