autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: /home/conan/w/cci_PR-1489/.conan/data/automake/1.16.2/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/bin/aclocal --warnings=all -I m4 autoreconf: configure.ac: tracing configure.ac:65: warning: The macro `AC_LANG_SAVE' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/lang.m4:125: AC_LANG_SAVE is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_LANG_C' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_LANG_RESTORE' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level autoreconf: configure.ac: creating directory build-aux autoreconf: running: /home/conan/w/cci_PR-1489/.conan/data/libtool/2.4.6/_/_/package/4a7d6af2217755dec3eb03f9c3d55ee575f0b82b/bin/libtoolize --copy autoreconf: running: /home/conan/w/cci_PR-1489/.conan/data/autoconf/2.69/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/autoconf --warnings=all configure.ac:65: warning: The macro `AC_LANG_SAVE' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/lang.m4:125: AC_LANG_SAVE is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_LANG_C' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2678: AC_LINK_IFELSE is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level configure.ac:65: warning: The macro `AC_LANG_RESTORE' is obsolete. configure.ac:65: You should run autoupdate. /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/autoconf/lang.m4:134: AC_LANG_RESTORE is expanded from... m4/acx_pthread.m4:66: ACX_PTHREAD is expanded from... /home/conan/workspace/cci_PR-2617/1/0_0/.conan/data/autoconf/2.69/_/_/build/4db1be536558d833e52e862fd84d64d75c2b3656/source_subfolder/lib/m4sugar/m4sh.m4:550: AS_CASE is expanded from... configure.ac:65: the top level autoreconf: running: /home/conan/w/cci_PR-1489/.conan/data/autoconf/2.69/_/_/package/4db1be536558d833e52e862fd84d64d75c2b3656/bin/autoheader --warnings=all autoreconf: running: /home/conan/w/cci_PR-1489/.conan/data/automake/1.16.2/_/_/package/258f6f05ca54813b3d7180161753df7f9ccf7e1d/bin/automake --add-missing --copy --no-force --warnings=all configure.ac:60: installing 'build-aux/compile' configure.ac:65: installing 'build-aux/config.guess' configure.ac:65: installing 'build-aux/config.sub' configure.ac:17: installing 'build-aux/install-sh' configure.ac:17: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' Makefile.am:288: warning: variable 'libkj_test_la_SOURCES' is defined but no program or Makefile.am:288: library has 'libkj_test_la' as canonical name (possible typo) Makefile.am:286: warning: variable 'libkj_test_la_LIBADD' is defined but no program or Makefile.am:286: library has 'libkj_test_la' as canonical name (possible typo) Makefile.am:287: warning: variable 'libkj_test_la_LDFLAGS' is defined but no program or Makefile.am:287: library has 'libkj_test_la' as canonical name (possible typo) autoreconf: Leaving directory `.' In file included from source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++:24: In file included from source_subfolder/c++/src/capnp/schema.capnp.h:6: In file included from source_subfolder/c++/src/capnp/generated-header-support.h:26: In file included from source_subfolder/c++/src/capnp/raw-schema.h:24: In file included from source_subfolder/c++/src/capnp/common.h:29: In file included from source_subfolder/c++/src/kj/string.h:In file included from 25source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++: :In file included from 29source_subfolder/c++/src/kj/array.h: :In file included from 24source_subfolder/c++/src/capnp/schema.capnp.h: :In file included from 6source_subfolder/c++/src/kj/memory.h: :In file included from 24source_subfolder/c++/src/capnp/generated-header-support.h: :source_subfolder/c++/src/kj/common.h26:: 67In file included from :source_subfolder/c++/src/capnp/raw-schema.h8::24 : warningIn file included from : source_subfolder/c++/src/capnp/common.h"This library requires at least Clang 5.0." [-W#warnings]: 29: In file included from source_subfolder/c++/src/kj/string.h:25: In file included from source_subfolder/c++/src/kj/array.h:24: In file included from source_subfolder/c++/src/kj/memory.h: #warning "This library requires at least Clang 5.0."24 : ^source_subfolder/c++/src/kj/common.h :67:8: warning: "This library requires at least Clang 5.0." [-W#warnings] #warning "This library requires at least Clang 5.0." ^ In file included from source_subfolder/c++/src/kj/async.c++:36: In file included from source_subfolder/c++/src/kj/async.h:24: In file included from source_subfolder/c++/src/kj/async-prelude.h:27: In file included from source_subfolder/c++/src/kj/exception.h:24: In file included from source_subfolder/c++/src/kj/memory.h:24: source_subfolder/c++/src/kj/common.h:67:8: warning: "This library requires at least Clang 5.0." [-W#warnings] #warning "This library requires at least Clang 5.0." ^ In file included from source_subfolder/c++/src/kj/async.c++:40: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:44:40: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration MICROSECONDS = 1000 * NANOSECONDS; ~~~~ ^ ~~~~~~~~~~~ source_subfolder/c++/src/kj/exception.h:135:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(Exception::Type type); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:136:8: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument String KJ_STRINGIFY(const Exception& e); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:152:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(LogSeverity severity); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/vector.h:147:13: note: candidate template ignored: could not match 'Vector' against 'Quantity' inline auto KJ_STRINGIFY(const Vector& v) -> decltype(toCharSequence(v.asPtr())) { ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/kj/async.c++:40: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:45:40: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration MILLISECONDS = 1000 * MICROSECONDS; ~~~~ ^ ~~~~~~~~~~~~ source_subfolder/c++/src/kj/exception.h:135:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(Exception::Type type); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:136:8: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument String KJ_STRINGIFY(const Exception& e); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:152:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(LogSeverity severity); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/vector.h:147:13: note: candidate template ignored: could not match 'Vector' against 'Quantity' inline auto KJ_STRINGIFY(const Vector& v) -> decltype(toCharSequence(v.asPtr())) { ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/kj/async.c++:40: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:46:35: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration SECONDS = 1000 * MILLISECONDS; ~~~~ ^ ~~~~~~~~~~~~ source_subfolder/c++/src/kj/exception.h:135:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(Exception::Type type); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:136:8: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument String KJ_STRINGIFY(const Exception& e); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:152:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(LogSeverity severity); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/vector.h:147:13: note: candidate template ignored: could not match 'Vector' against 'Quantity' inline auto KJ_STRINGIFY(const Vector& v) -> decltype(toCharSequence(v.asPtr())) { ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/kj/async.c++:40: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:47:33: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration MINUTES = 60 * SECONDS; ~~ ^ ~~~~~~~ source_subfolder/c++/src/kj/exception.h:135:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(Exception::Type type); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:136:8: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument String KJ_STRINGIFY(const Exception& e); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:152:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(LogSeverity severity); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/vector.h:147:13: note: candidate template ignored: could not match 'Vector' against 'Quantity' inline auto KJ_STRINGIFY(const Vector& v) -> decltype(toCharSequence(v.asPtr())) { ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/kj/async.c++:40: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:48:31: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration HOURS = 60 * MINUTES; ~~ ^ ~~~~~~~ source_subfolder/c++/src/kj/exception.h:135:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(Exception::Type type); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:136:8: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument String KJ_STRINGIFY(const Exception& e); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:152:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(LogSeverity severity); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/vector.h:147:13: note: candidate template ignored: could not match 'Vector' against 'Quantity' inline auto KJ_STRINGIFY(const Vector& v) -> decltype(toCharSequence(v.asPtr())) { ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/kj/async.c++:40: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:49:30: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration DAYS = 24 * HOURS; ~~ ^ ~~~~~ source_subfolder/c++/src/kj/exception.h:135:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(Exception::Type type); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:136:8: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument String KJ_STRINGIFY(const Exception& e); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/exception.h:152:11: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument StringPtr KJ_STRINGIFY(LogSeverity severity); ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/vector.h:147:13: note: candidate template ignored: could not match 'Vector' against 'Quantity' inline auto KJ_STRINGIFY(const Vector& v) -> decltype(toCharSequence(v.asPtr())) { ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ 1 warning and 6 errors generated. make[1]: *** [src/kj/async.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++:30: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.h:43: In file included from source_subfolder/c++/src/capnp/message.h:26: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:44:40: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration MICROSECONDS = 1000 * NANOSECONDS; ~~~~ ^ ~~~~~~~~~~~ source_subfolder/c++/src/kj/string-tree.h:103:21: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:104:26: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:106:19: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.hIn file included from :source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++1086::251: :In file included from source_subfolder/c++/src/capnp/compiler/../serialize.hnote:: 43candidate template ignored: could not match 'SafeUnwrapper' against 'int': In file included from source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/capnp/message.h::107226:: 23In file included from :source_subfolder/c++/src/kj/mutex.h :note26: : expanded from macro 'OP'source_subfolder/c++/src/kj/time.h :44:40: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1constexpr Duration MICROSECONDS = 1000 * NANOSECONDS;: ~~~~ ^ ~~~~~~~~~~~note : candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/string-tree.hsource_subfolder/c++/src/kj/units.h::1031080::2123:: notenote: : candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentexpanded from macro 'OP' inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:104:26: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:106:19: noteIn file included from : source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument: 30: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.h:43: In file included from source_subfolder/c++/src/capnp/message.h:26: In file included from inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); }source_subfolder/c++/src/kj/mutex.h : ^26 : source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/time.h::48345::2740:: noteerror: : expanded from macro 'KJ_STRINGIFY'invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)constexpr Duration MILLISECONDS = 1000 * MICROSECONDS; ^ ~~~~ ^ ~~~~~~~~~~~~ source_subfolder/c++/src/kj/units.h:source_subfolder/c++/src/kj/string-tree.h374::10332::21 :note : notecandidate template ignored: couldn't infer template argument '': candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } friend inline constexpr auto operator*(Number1 a, Quantity b) ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::687483::2327:: notenote: : candidate template ignored: could not match 'Delimited' against 'Quantity'expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string-tree.h::483104::2726:: notenote: : expanded from macro 'KJ_STRINGIFY'candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::689483::2827:: notenote: : candidate template ignored: could not match 'Delimited' against 'Quantity'expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string-tree.hsource_subfolder/c++/src/kj/string.h::106483::1927:: notenote: : candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentexpanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^source_subfolder/c++/src/kj/units.h :source_subfolder/c++/src/kj/string.h190::4835::27 :note : notecandidate template ignored: could not match 'UnitRatio' against 'Quantity': expanded from macro 'KJ_STRINGIFY' operator*(N1 n, UnitRatio r) { ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::401374::2332:: notenote: : candidate template ignored: could not match 'UnitRatio' against 'int'candidate template ignored: couldn't infer template argument '' inline constexpr auto operator*(UnitRatio ratio, friend inline constexpr auto operator*(Number1 a, Quantity b) ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/string.h::925687::123:: notenote: : candidate template ignored: could not match 'Bounded' against 'int'candidate template ignored: could not match 'Delimited' against 'Quantity' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }: 61 ^: source_subfolder/c++/src/kj/string.hnote:: 483expanded from macro 'OP': 27: note: expanded from macro 'KJ_STRINGIFY' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/units.h : ^926 :1source_subfolder/c++/src/kj/string.h:: 689note:: 28candidate template ignored: could not match 'BoundedConst' against 'int': note: candidate template ignored: could not match 'Delimited' against 'Quantity'REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: noteinline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }: expanded from macro 'REVERSE_OP' ^ source_subfolder/c++/src/kj/string.h:483:27: noteinline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \: expanded from macro 'KJ_STRINGIFY' ^ source_subfolder/c++/src/kj/units.h:1086:1: #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)note : ^candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.hOP(*): 190^: 5source_subfolder/c++/src/kj/units.h:: 1068note:: 23candidate template ignored: could not match 'UnitRatio' against 'Quantity': note: expanded from macro 'OP' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \: 23 ^: note: source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'UnitRatio' against 'int': 1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' inline constexpr auto operator*(UnitRatio ratio,source_subfolder/c++/src/kj/units.h : ^1072 :23:source_subfolder/c++/src/kj/units.h :note925: :expanded from macro 'OP'1 : note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul()))inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ ^ source_subfolder/c++/src/kj/units.h:source_subfolder/c++/src/kj/units.h900::108661::1 :note : noteexpanded from macro 'OP': candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \23 : ^ note: expanded from macro 'OP' source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ REVERSE_OP(*, (boundedAdd()))source_subfolder/c++/src/kj/units.h :^1086 :source_subfolder/c++/src/kj/units.h1::907 :note61: :candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' notesource_subfolder/c++/src/kj/units.h: :expanded from macro 'REVERSE_OP'1080 :23: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \: ^note : candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++:25: In file included from In file included from source_subfolder/c++/src/capnp/compiler/../serialize.hsource_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++::4330: : In file included from In file included from source_subfolder/c++/src/capnp/message.hsource_subfolder/c++/src/capnp/compiler/../serialize.h::2643: : In file included from In file included from source_subfolder/c++/src/kj/mutex.hsource_subfolder/c++/src/capnp/message.h::2626: : source_subfolder/c++/src/kj/time.hIn file included from :source_subfolder/c++/src/kj/mutex.h45::2640: :source_subfolder/c++/src/kj/time.h :error46: :invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity'))35 : error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration MILLISECONDS = 1000 * MICROSECONDS;constexpr Duration SECONDS = 1000 * MILLISECONDS; ~~~~ ^ ~~~~~~~~~~~~ ~~~~ ^ ~~~~~~~~~~~~ source_subfolder/c++/src/kj/string-tree.h:103:21:source_subfolder/c++/src/kj/string-tree.h :note103: :candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument21 : note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^ source_subfolder/c++/src/kj/string.hinline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); }: 483 ^: 27:source_subfolder/c++/src/kj/string.h :note483: :expanded from macro 'KJ_STRINGIFY'27 : note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/string-tree.h : ^104 :26:source_subfolder/c++/src/kj/string-tree.h :note104: :candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument26 : note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.hinline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; }: 483 ^: 27:source_subfolder/c++/src/kj/string.h :note483: :expanded from macro 'KJ_STRINGIFY'27 : note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^106 :19:source_subfolder/c++/src/kj/string-tree.h :note106: :candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument19 : note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ source_subfolder/c++/src/kj/string.hinline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); }: 483 ^: 27source_subfolder/c++/src/kj/string.h:: 483note:: 27expanded from macro 'KJ_STRINGIFY': note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) source_subfolder/c++/src/kj/units.h ^: 374source_subfolder/c++/src/kj/units.h::32374:: 32note:: candidate template ignored: couldn't infer template argument ''note : candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ friend inline constexpr auto operator*(Number1 a, Quantity b) ^source_subfolder/c++/src/kj/string.h :687:source_subfolder/c++/src/kj/string.h23::687 :note23: :candidate template ignored: could not match 'Delimited' against 'Quantity' note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }source_subfolder/c++/src/kj/string.h : ^483 :source_subfolder/c++/src/kj/string.h27::483 :note27: :expanded from macro 'KJ_STRINGIFY' note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) source_subfolder/c++/src/kj/string.h ^: 689:source_subfolder/c++/src/kj/string.h28::689 :note28: :candidate template ignored: could not match 'Delimited' against 'Quantity' note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }source_subfolder/c++/src/kj/string.h : ^483 :source_subfolder/c++/src/kj/string.h27::483 :note27: :expanded from macro 'KJ_STRINGIFY' note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/units.h : ^190 :5source_subfolder/c++/src/kj/units.h:: 190note:: 5candidate template ignored: could not match 'UnitRatio' against 'Quantity': note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ operator*(N1 n, UnitRatio r) { ^source_subfolder/c++/src/kj/units.h :401:23source_subfolder/c++/src/kj/units.h:: 401note:: 23candidate template ignored: could not match 'UnitRatio' against 'int': note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ inline constexpr auto operator*(UnitRatio ratio, source_subfolder/c++/src/kj/units.h ^: 925:1source_subfolder/c++/src/kj/units.h:: 925note:: 1candidate template ignored: could not match 'Bounded' against 'int': note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ OP(*, (boundedMul()))source_subfolder/c++/src/kj/units.h :^900 :source_subfolder/c++/src/kj/units.h61::900 :note61: :expanded from macro 'OP' note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ source_subfolder/c++/src/kj/units.h ^: 926:1source_subfolder/c++/src/kj/units.h:: 926note:: 1candidate template ignored: could not match 'BoundedConst' against 'int': note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.hREVERSE_OP(*, (boundedAdd())): 907^: 61source_subfolder/c++/src/kj/units.h:: 907note:: 61expanded from macro 'REVERSE_OP': note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \source_subfolder/c++/src/kj/units.h : ^1086 :1source_subfolder/c++/src/kj/units.h:: 1086note:: 1candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity': OP(*)note : ^candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.hOP(*): 1068^: 23source_subfolder/c++/src/kj/units.h:: 1068note:: 23expanded from macro 'OP': note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086source_subfolder/c++/src/kj/units.h::11086:: 1note:: candidate template ignored: could not match 'SafeUnwrapper' against 'int'note : source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'SafeUnwrapper' against 'int': 1072source_subfolder/c++/src/kj/units.h::231072:: 23note:: expanded from macro 'OP'note : expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^source_subfolder/c++/src/kj/units.h :1086source_subfolder/c++/src/kj/units.h::11086:: 1note:: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity'note : source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity': 1076source_subfolder/c++/src/kj/units.h::231076:: 23note:: expanded from macro 'OP'note : expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^source_subfolder/c++/src/kj/units.h :1086source_subfolder/c++/src/kj/units.h::11086:: 1note:: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int'note : source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'SafeConstUnwrapper' against 'int': 1080source_subfolder/c++/src/kj/units.h::231080:: 23note:: expanded from macro 'OP'note : expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++:30: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.hIn file included from :source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++43:: 25In file included from : source_subfolder/c++/src/capnp/message.hIn file included from :source_subfolder/c++/src/capnp/compiler/../serialize.h26:: 43In file included from : source_subfolder/c++/src/kj/mutex.hIn file included from :source_subfolder/c++/src/capnp/message.h26:: 26source_subfolder/c++/src/kj/time.h: :In file included from 47source_subfolder/c++/src/kj/mutex.h::3326:: source_subfolder/c++/src/kj/time.herror:: 46invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')): 35: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration MINUTES = 60 * SECONDS; ~~ ^ ~~~~~~~ constexpr Duration SECONDS = 1000 * MILLISECONDS; ~~~~ ^ ~~~~~~~~~~~~ source_subfolder/c++/src/kj/string-tree.h:103:21: source_subfolder/c++/src/kj/string-tree.hnote:: 103candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument: 21: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^ source_subfolder/c++/src/kj/string.h:inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); }483 : ^27 : source_subfolder/c++/src/kj/string.hnote:: 483expanded from macro 'KJ_STRINGIFY': 27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/string-tree.h : ^104 :26:source_subfolder/c++/src/kj/string-tree.h :note104: :candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument26 : note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.hinline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; }: 483 ^: 27:source_subfolder/c++/src/kj/string.h :note483: :expanded from macro 'KJ_STRINGIFY'27 : note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) source_subfolder/c++/src/kj/string-tree.h ^: 106:19: notesource_subfolder/c++/src/kj/string-tree.h: :106:candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument19 : note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ source_subfolder/c++/src/kj/string.hinline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); }: 483 ^: 27:source_subfolder/c++/src/kj/string.h :note483: :expanded from macro 'KJ_STRINGIFY'27 : note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__): 374 ^: 32source_subfolder/c++/src/kj/units.h:: 374note:: 32candidate template ignored: couldn't infer template argument '': note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ friend inline constexpr auto operator*(Number1 a, Quantity b)source_subfolder/c++/src/kj/string.h : ^687 :23source_subfolder/c++/src/kj/string.h:: 687note:: 23candidate template ignored: could not match 'Delimited' against 'Quantity': note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }source_subfolder/c++/src/kj/string.h : ^483 :source_subfolder/c++/src/kj/string.h27::483 :note27: :expanded from macro 'KJ_STRINGIFY' note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/string.h : ^689 :28source_subfolder/c++/src/kj/string.h:: 689note:: 28candidate template ignored: could not match 'Delimited' against 'Quantity': note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }source_subfolder/c++/src/kj/string.h : ^483 :source_subfolder/c++/src/kj/string.h27::483 :note27: :expanded from macro 'KJ_STRINGIFY' note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) source_subfolder/c++/src/kj/units.h ^: 190source_subfolder/c++/src/kj/units.h::5190:: 5note:: candidate template ignored: could not match 'UnitRatio' against 'Quantity'note : candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401source_subfolder/c++/src/kj/units.h::23401:: 23note:: candidate template ignored: could not match 'UnitRatio' against 'int'note : candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925source_subfolder/c++/src/kj/units.h::1925:: 1note:: candidate template ignored: could not match 'Bounded' against 'int'note : candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^OP(*, (boundedMul())) source_subfolder/c++/src/kj/units.h^: 900source_subfolder/c++/src/kj/units.h::61900:: 61note:: expanded from macro 'OP'note : expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:source_subfolder/c++/src/kj/units.h926::9261::1 :note : notecandidate template ignored: could not match 'BoundedConst' against 'int': candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) REVERSE_OP(*, (boundedAdd()))^ ^source_subfolder/c++/src/kj/units.h :source_subfolder/c++/src/kj/units.h907::90761::61 :note : noteexpanded from macro 'REVERSE_OP': expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ ^ source_subfolder/c++/src/kj/units.h:source_subfolder/c++/src/kj/units.h1086::10861::1 :note : notecandidate template ignored: could not match 'SafeUnwrapper' against 'Quantity': candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity'OP(*) OP(*)^ ^source_subfolder/c++/src/kj/units.h :source_subfolder/c++/src/kj/units.h1068::106823::23 :note : noteexpanded from macro 'OP': expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^source_subfolder/c++/src/kj/units.h :1086:source_subfolder/c++/src/kj/units.h1::1086 :note1: :candidate template ignored: could not match 'SafeUnwrapper' against 'int' notesource_subfolder/c++/src/kj/units.h: :candidate template ignored: could not match 'SafeUnwrapper' against 'int'1072 :source_subfolder/c++/src/kj/units.h23::1072 :note23: :expanded from macro 'OP' note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ source_subfolder/c++/src/kj/units.h ^: 1086:source_subfolder/c++/src/kj/units.h1::1086 :note1: :candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' notesource_subfolder/c++/src/kj/units.h: :candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity'1076 :source_subfolder/c++/src/kj/units.h23::1076 :note23: :expanded from macro 'OP' note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ ^ source_subfolder/c++/src/kj/units.h:source_subfolder/c++/src/kj/units.h1086::10861::1 :note : notecandidate template ignored: could not match 'SafeConstUnwrapper' against 'int': candidate template ignored: could not match 'SafeConstUnwrapper' against 'int'source_subfolder/c++/src/kj/units.h :source_subfolder/c++/src/kj/units.h1080::108023::23 :note : noteexpanded from macro 'OP': expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ ^ In file included from source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++:In file included from 30source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++: :In file included from 25source_subfolder/c++/src/capnp/compiler/../serialize.h: :In file included from 43source_subfolder/c++/src/capnp/compiler/../serialize.h: :In file included from 43source_subfolder/c++/src/capnp/message.h: :In file included from 26source_subfolder/c++/src/capnp/message.h: :In file included from 26source_subfolder/c++/src/kj/mutex.h: :In file included from 26source_subfolder/c++/src/kj/mutex.h: :source_subfolder/c++/src/kj/time.h26:: 48source_subfolder/c++/src/kj/time.h::3147:: 33error:: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity'))error : invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration HOURS = 60 * MINUTES; ~~ ^ ~~~~~~~constexpr Duration MINUTES = 60 * SECONDS; ~~ ^ ~~~~~~~ source_subfolder/c++/src/kj/string-tree.h:103source_subfolder/c++/src/kj/string-tree.h::21103:: 21note:: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentnote : candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^source_subfolder/c++/src/kj/string.h :483source_subfolder/c++/src/kj/string.h::27483:: 27note:: expanded from macro 'KJ_STRINGIFY'note : expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:104source_subfolder/c++/src/kj/string-tree.h::26104:: 26note:: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentnote : candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } source_subfolder/c++/src/kj/string.h ^: 483source_subfolder/c++/src/kj/string.h::27483:: 27note:: expanded from macro 'KJ_STRINGIFY'note : expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:106source_subfolder/c++/src/kj/string-tree.h::19106:: 19note:: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentnote : candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); }inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::483483::2727:: notenote: : expanded from macro 'KJ_STRINGIFY'expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::374374::3232:: notenote: : candidate template ignored: couldn't infer template argument ''candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) friend inline constexpr auto operator*(Number1 a, Quantity b) ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::687687::2323:: notenote: : candidate template ignored: could not match 'Delimited' against 'Quantity'candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::483483::2727:: notenote: : expanded from macro 'KJ_STRINGIFY'expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::689689::2828:: notenote: : candidate template ignored: could not match 'Delimited' against 'Quantity'candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/string.h::483483::2727:: notenote: : expanded from macro 'KJ_STRINGIFY'expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::190190::55:: notenote: : candidate template ignored: could not match 'UnitRatio' against 'Quantity'candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { operator*(N1 n, UnitRatio r) { ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::401401::2323:: notenote: : candidate template ignored: could not match 'UnitRatio' against 'int'candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio,inline constexpr auto operator*(UnitRatio ratio, ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::925925::11:: notenote: : candidate template ignored: could not match 'Bounded' against 'int'candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul()))OP(*, (boundedMul())) ^^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::900900::6161:: notenote: : expanded from macro 'OP'expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::926926::11:: notenote: : candidate template ignored: could not match 'BoundedConst' against 'int'candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd()))REVERSE_OP(*, (boundedAdd())) ^^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::907907::6161:: notenote: : expanded from macro 'REVERSE_OP'expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::1086:10861::1 :note : notecandidate template ignored: could not match 'SafeUnwrapper' against 'Quantity': candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*)OP(*) ^^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h:1068:23::1068 :note23: :expanded from macro 'OP' note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^source_subfolder/c++/src/kj/units.h :1086:1source_subfolder/c++/src/kj/units.h:: 1086note:: 1candidate template ignored: could not match 'SafeUnwrapper' against 'int': source_subfolder/c++/src/kj/units.hnote:: 1072candidate template ignored: could not match 'SafeUnwrapper' against 'int': 23source_subfolder/c++/src/kj/units.h:: 1072note:: 23expanded from macro 'OP': note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \source_subfolder/c++/src/kj/units.h : ^1086 :1source_subfolder/c++/src/kj/units.h:: 1086note:: 1candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity': source_subfolder/c++/src/kj/units.hnote:: 1076candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity': 23source_subfolder/c++/src/kj/units.h:: 1076note:: 23expanded from macro 'OP': note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \source_subfolder/c++/src/kj/units.h : ^1086 :1source_subfolder/c++/src/kj/units.h:: 1086note:: 1candidate template ignored: could not match 'SafeConstUnwrapper' against 'int': source_subfolder/c++/src/kj/units.hnote:: 1080candidate template ignored: could not match 'SafeConstUnwrapper' against 'int': 23source_subfolder/c++/src/kj/units.h:: 1080note:: 23expanded from macro 'OP': note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++:25: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.h:In file included from 43source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++: :In file included from 30source_subfolder/c++/src/capnp/message.h: :In file included from 26source_subfolder/c++/src/capnp/compiler/../serialize.h: :In file included from 43source_subfolder/c++/src/kj/mutex.h: :In file included from 26source_subfolder/c++/src/capnp/message.h: :source_subfolder/c++/src/kj/time.h26:: 48In file included from :source_subfolder/c++/src/kj/mutex.h31::26 : errorsource_subfolder/c++/src/kj/time.h: :invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity'))49 :30: error: constexpr Duration HOURS = 60 * MINUTES;invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) ~~ ^ ~~~~~~~ constexpr Duration DAYS = 24 * HOURS; ~~ ^ ~~~~~ source_subfolder/c++/src/kj/string-tree.h:103:21: notesource_subfolder/c++/src/kj/string-tree.h: :candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument103 :21: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^ source_subfolder/c++/src/kj/string.h:483inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); }: 27 ^: notesource_subfolder/c++/src/kj/string.h: :expanded from macro 'KJ_STRINGIFY'483 :27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)104 : ^26 : notesource_subfolder/c++/src/kj/string-tree.h: :candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument104 :26: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.h:483inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; }: 27 ^: source_subfolder/c++/src/kj/string.hnote:: 483expanded from macro 'KJ_STRINGIFY': 27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__): 106 ^: 19: source_subfolder/c++/src/kj/string-tree.hnote:: 106candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument: 19: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ source_subfolder/c++/src/kj/string.h:483:inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); }27 : ^ notesource_subfolder/c++/src/kj/string.h: :expanded from macro 'KJ_STRINGIFY'483 :27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__): 32 ^: source_subfolder/c++/src/kj/units.hnote:: 374candidate template ignored: couldn't infer template argument '': 32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: friend inline constexpr auto operator*(Number1 a, Quantity b)note : ^candidate template ignored: could not match 'Delimited' against 'Quantity' source_subfolder/c++/src/kj/string.h:687:23: note: inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }candidate template ignored: could not match 'Delimited' against 'Quantity' ^ source_subfolder/c++/src/kj/string.h:483:27: noteinline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }: expanded from macro 'KJ_STRINGIFY' ^ source_subfolder/c++/src/kj/string.h:483:27: #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)note : ^expanded from macro 'KJ_STRINGIFY' source_subfolder/c++/src/kj/string.h:689:28: note: #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)candidate template ignored: could not match 'Delimited' against 'Quantity' ^ source_subfolder/c++/src/kj/string.h:689:28: noteinline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }: candidate template ignored: could not match 'Delimited' against 'Quantity' ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY'inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__): ^note : expanded from macro 'KJ_STRINGIFY'source_subfolder/c++/src/kj/units.h :190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity'#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h: operator*(N1 n, UnitRatio r) {190 : ^5 : note: source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'UnitRatio' against 'Quantity': 401:23: note operator*(N1 n, UnitRatio r) {: candidate template ignored: could not match 'UnitRatio' against 'int' ^ source_subfolder/c++/src/kj/units.h:401:inline constexpr auto operator*(UnitRatio ratio,23 : ^ note: candidate template ignored: could not match 'UnitRatio' against 'int'source_subfolder/c++/src/kj/units.h :925:1: note: candidate template ignored: could not match 'Bounded' against 'int'inline constexpr auto operator*(UnitRatio ratio, ^ OP(*, (boundedMul()))source_subfolder/c++/src/kj/units.h :^925 :source_subfolder/c++/src/kj/units.h1::900 :note61: :candidate template ignored: could not match 'Bounded' against 'int' note: expanded from macro 'OP' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \61 : ^ note: source_subfolder/c++/src/kj/units.hexpanded from macro 'OP': 926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ REVERSE_OP(*, (boundedAdd()))source_subfolder/c++/src/kj/units.h :^926 :source_subfolder/c++/src/kj/units.h1::907 :note61: :candidate template ignored: could not match 'BoundedConst' against 'int' note: expanded from macro 'REVERSE_OP' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \: 61 ^: notesource_subfolder/c++/src/kj/units.h: :expanded from macro 'REVERSE_OP'1086 :1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*)inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ ^ source_subfolder/c++/src/kj/units.h:source_subfolder/c++/src/kj/units.h1068::108623::1 :note : noteexpanded from macro 'OP': candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \23 : ^ note: expanded from macro 'OP'source_subfolder/c++/src/kj/units.h :1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.hinline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \: 1072 ^: 23: notesource_subfolder/c++/src/kj/units.h: :expanded from macro 'OP'1086 :1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \:23: ^note : expanded from macro 'OP'source_subfolder/c++/src/kj/units.h :1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \23 : ^ note: source_subfolder/c++/src/kj/units.hexpanded from macro 'OP': 1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \1076 : ^23 : source_subfolder/c++/src/kj/units.hnote:: 1086expanded from macro 'OP': 1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \23 : ^ note: expanded from macro 'OP'source_subfolder/c++/src/kj/units.h :1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.hinline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \: 1080 ^: 23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ In file included from source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++:25: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.h:43: In file included from source_subfolder/c++/src/capnp/message.h:26: In file included from source_subfolder/c++/src/kj/mutex.h:26: source_subfolder/c++/src/kj/time.h:49:30: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) constexpr Duration DAYS = 24 * HOURS; ~~ ^ ~~~~~ source_subfolder/c++/src/kj/string-tree.h:103:21: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:104:26: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string-tree.h:106:19: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:374:32: note: candidate template ignored: couldn't infer template argument '' friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/string.h:687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/string.h:689:28: note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } ^ source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.h:190:5: note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.h:925:1: note: candidate template ignored: could not match 'Bounded' against 'int' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61: note: expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:926:1: note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:907:61: note: expanded from macro 'REVERSE_OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) ^ source_subfolder/c++/src/kj/units.h:1068:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1072:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23: note: expanded from macro 'OP' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ source_subfolder/c++/src/kj/units.h:1086:1: note: candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.h:1080:23: note: expanded from macro 'OP' inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ 1 warning and 6 errors generated. make[1]: *** [src/capnp/compiler/capnpc-capnp.o] Error 1 1 warning and 6 errors generated. make[1]: *** [src/capnp/compiler/capnpc-c++.o] Error 1 make: *** [all] Error 2 capnproto/0.8.0: WARN: Build folder is dirty, removing it: /home/conan/w/cci_PR-1489/.conan/data/capnproto/0.8.0/_/_/build/2f361204dcded6d6e9f6bb5f7f3e5e78de9c0aa0 capnproto/0.8.0: ERROR: Package '2f361204dcded6d6e9f6bb5f7f3e5e78de9c0aa0' build failed capnproto/0.8.0: WARN: Build folder /home/conan/w/cci_PR-1489/.conan/data/capnproto/0.8.0/_/_/build/2f361204dcded6d6e9f6bb5f7f3e5e78de9c0aa0 ERROR: capnproto/0.8.0: Error in build() method, line 116 autotools.make() ConanException: Error 2 while executing make -j3