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/af95eae41c281ecb22b75c56faabeef7c20306aa/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-capnp.c++:29: 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:25: In file included from source_subfolder/c++/src/kj/array.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/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:25: In file included from source_subfolder/c++/src/kj/array.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++: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.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-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: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/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) { \ ^ 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: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/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) { \ ^ 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:47:33: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity'))In file included from source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++:25: constexpr Duration MINUTES = 60 * SECONDS;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')) source_subfolder/c++/src/kj/string-tree.h:103:21: noteconstexpr Duration MICROSECONDS = 1000 * NANOSECONDS;: 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:104source_subfolder/c++/src/kj/string-tree.h::26103:: 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 const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); }source_subfolder/c++/src/kj/string.h : ^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: source_subfolder/c++/src/kj/string-tree.hnote:: 104candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument: 26: 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), ""); } ^ inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; }source_subfolder/c++/src/kj/string.h : ^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 : ^374 :32:source_subfolder/c++/src/kj/string-tree.h :note106: :candidate template ignored: couldn't infer template argument ''19 : note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument friend inline constexpr auto operator*(Number1 a, Quantity b) ^ inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); }source_subfolder/c++/src/kj/string.h : ^687 :source_subfolder/c++/src/kj/string.h23::483 :note27: :candidate template ignored: could not match 'Delimited' against 'Quantity' note: expanded from macro 'KJ_STRINGIFY' inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); } #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ ^ 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:689source_subfolder/c++/src/kj/units.h::28374:: 32note:: candidate template ignored: could not match 'Delimited' against 'Quantity'note : candidate template ignored: couldn't infer template argument '' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; } friend inline constexpr auto operator*(Number1 a, Quantity b) ^ ^source_subfolder/c++/src/kj/string.h :483:source_subfolder/c++/src/kj/string.h27::687 :note23: :expanded from macro 'KJ_STRINGIFY' note: candidate template ignored: could not match 'Delimited' against 'Quantity' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ source_subfolder/c++/src/kj/units.hinline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }: 190 ^: 5source_subfolder/c++/src/kj/string.h:: 483note:: 27candidate template ignored: could not match 'UnitRatio' against 'Quantity': note: expanded from macro 'KJ_STRINGIFY' operator*(N1 n, UnitRatio r) { ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/units.h : ^401 :23source_subfolder/c++/src/kj/string.h:: 689note:: 28candidate template ignored: could not match 'UnitRatio' against 'int': note: candidate template ignored: could not match 'Delimited' against 'Quantity' inline constexpr auto operator*(UnitRatio ratio, ^ source_subfolder/c++/src/kj/units.hinline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }: 925 ^: 1source_subfolder/c++/src/kj/string.h:: 483note:: 27candidate template ignored: could not match 'Bounded' against 'int': note: expanded from macro 'KJ_STRINGIFY' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)900 : ^61 :source_subfolder/c++/src/kj/units.h :note190: :expanded from macro 'OP'5 : note: candidate template ignored: could not match 'UnitRatio' against 'Quantity' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:926:source_subfolder/c++/src/kj/units.h1::401 :note23: :candidate template ignored: could not match 'BoundedConst' against 'int' note: candidate template ignored: could not match 'UnitRatio' against 'int' REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h:inline constexpr auto operator*(UnitRatio ratio,907 : ^61 : note: expanded from macro 'REVERSE_OP' source_subfolder/c++/src/kj/units.h:925:1: noteinline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \: candidate template ignored: could not match 'Bounded' against 'int' ^ source_subfolder/c++/src/kj/units.h:OP(*, (boundedMul()))1086 :^1 :source_subfolder/c++/src/kj/units.h :note900: :candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity'61 :OP(*) note^: expanded from macro 'OP'source_subfolder/c++/src/kj/units.h :1068:23: note: inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \expanded from macro 'OP' ^ source_subfolder/c++/src/kj/units.h:926:1inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \: ^note : candidate template ignored: could not match 'BoundedConst' against 'int' source_subfolder/c++/src/kj/units.h:1086:1REVERSE_OP(*, (boundedAdd())): ^note : source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'SafeUnwrapper' against 'int': 907source_subfolder/c++/src/kj/units.h::611072:: 23note:: expanded from macro 'REVERSE_OP'note : expanded from macro 'OP' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ 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 'SafeUnwrapper' against 'Quantity': OP(*)note : ^candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::10681076::2323:: notenote: : expanded 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, SafeConstUnwrapper b) -> decltype(a op (T)b) { \ ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::10861086::11:: notenote: : candidate template ignored: could not match 'SafeUnwrapper' against 'int'candidate template ignored: could not match 'SafeConstUnwrapper' against 'int' source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::10721080::2323:: notenote: : expanded from macro 'OP'expanded from macro 'OP' inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ inline constexpr auto operator op(SafeConstUnwrapper 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' In file included from source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++:30: inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \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: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/string-tree.h:103:21: note: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument In file included from source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); }: 25 ^: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.hsource_subfolder/c++/src/kj/string.h::43483: :In file included from 27source_subfolder/c++/src/capnp/message.h:: 26note: : In file included from expanded from macro 'KJ_STRINGIFY'source_subfolder/c++/src/kj/mutex.h :26: source_subfolder/c++/src/kj/time.h:45:40: #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)error : ^invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) source_subfolder/c++/src/kj/string-tree.h:104:26:constexpr Duration MILLISECONDS = 1000 * MICROSECONDS; 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' source_subfolder/c++/src/kj/string-tree.h:103:21: #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)note : ^candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument source_subfolder/c++/src/kj/string-tree.h:106:19: inline StringTree&& KJ_STRINGIFY(StringTree&& tree) { return kj::mv(tree); }note : ^candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument source_subfolder/c++/src/kj/string.h:483:27: note: expanded from macro 'KJ_STRINGIFY'inline StringTree KJ_STRINGIFY(Array&& trees) { return StringTree(kj::mv(trees), ""); } ^ 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-tree.h:104:26:#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) note ^: candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentsource_subfolder/c++/src/kj/units.h :374:32: note: candidate template ignored: couldn't infer template argument ''inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ source_subfolder/c++/src/kj/string.h:483:27 friend inline constexpr auto operator*(Number1 a, Quantity b): ^note : expanded from macro 'KJ_STRINGIFY'source_subfolder/c++/src/kj/string.h :687:23: note: candidate template ignored: could not match 'Delimited' against 'Quantity' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(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/string.h:source_subfolder/c++/src/kj/string.h689::48328::27 :note: candidate template ignored: could not match 'Delimited' against 'Quantity'note : expanded from macro 'KJ_STRINGIFY' inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ ^ source_subfolder/c++/src/kj/string.hsource_subfolder/c++/src/kj/units.h::483374::2732:: notenote: : expanded from macro 'KJ_STRINGIFY'candidate template ignored: couldn't infer template argument '' #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) friend inline constexpr auto operator*(Number1 a, Quantity b) ^ source_subfolder/c++/src/kj/units.h ^: 190:5source_subfolder/c++/src/kj/string.h:: 687note:: 23candidate template ignored: could not match 'UnitRatio' against 'Quantity': note: candidate template ignored: could not match 'Delimited' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.hinline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }: 401 ^: 23:source_subfolder/c++/src/kj/string.h :note483: :candidate template ignored: could not match 'UnitRatio' against 'int'27 : note: expanded from macro 'KJ_STRINGIFY' inline constexpr auto operator*(UnitRatio ratio, ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/units.h : ^925 :1source_subfolder/c++/src/kj/string.h:: 689note:: 28candidate template ignored: could not match 'Bounded' against 'int': note: candidate template ignored: could not match 'Delimited' against 'Quantity'OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }61 : ^ notesource_subfolder/c++/src/kj/string.h: :expanded from macro 'OP'483 :27: note: expanded from macro 'KJ_STRINGIFY' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)926 : ^1 : source_subfolder/c++/src/kj/units.hnote:: 190candidate template ignored: could not match 'BoundedConst' against 'int': 5: note: REVERSE_OP(*, (boundedAdd()))candidate template ignored: could not match 'UnitRatio' against 'Quantity' ^ source_subfolder/c++/src/kj/units.h:907: operator*(N1 n, UnitRatio r) {61 : ^ note: expanded from macro 'REVERSE_OP' source_subfolder/c++/src/kj/units.h:401:23: inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \note : ^candidate template ignored: could not match 'UnitRatio' against 'int' source_subfolder/c++/src/kj/units.h:1086:1: inline constexpr auto operator*(UnitRatio ratio,note : ^candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*)source_subfolder/c++/src/kj/units.h :^925 :source_subfolder/c++/src/kj/units.h1::1068 :note23: :candidate template ignored: could not match 'Bounded' against 'int' note: expanded from macro 'OP' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \: ^note : expanded from macro 'OP'source_subfolder/c++/src/kj/units.h :1086:1: note: inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \candidate template ignored: could not match 'SafeUnwrapper' against 'int' ^source_subfolder/c++/src/kj/units.h :1072:source_subfolder/c++/src/kj/units.h23::926 :note1: :expanded from macro 'OP' note: candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd()))inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \ ^ ^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::9071086::611:: notenote: : expanded from macro 'REVERSE_OP'candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076:23inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \: ^note : expanded from macro 'OP'source_subfolder/c++/src/kj/units.h :1086:1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \OP(*) ^^ source_subfolder/c++/src/kj/units.hsource_subfolder/c++/src/kj/units.h::10681086::231:: notenote: : candidate template ignored: could not match 'SafeConstUnwrapper' against 'int'expanded from macro 'OP' source_subfolder/c++/src/kj/units.h:1080:23: inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \note : ^expanded from macro 'OP' source_subfolder/c++/src/kj/units.h:1086:1: note: inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \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:In file included from 1086source_subfolder/c++/src/capnp/compiler/capnpc-capnp.c++::130:: In file included from notesource_subfolder/c++/src/capnp/compiler/../serialize.h: :candidate template ignored: could not match 'SafeConstUnwrapper' against 'int'43 : source_subfolder/c++/src/kj/units.hIn file included from :source_subfolder/c++/src/capnp/message.h1080::2623: :In file included from source_subfolder/c++/src/kj/mutex.hnote:: 26expanded from macro 'OP': source_subfolder/c++/src/kj/time.h:49:30: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity'))inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ ^ 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: In file included from expanded from macro 'KJ_STRINGIFY'source_subfolder/c++/src/capnp/compiler/capnpc-c++.c++ :25: In file included from source_subfolder/c++/src/capnp/compiler/../serialize.h:43: #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)In file included from source_subfolder/c++/src/capnp/message.h ^: 26: In file included from source_subfolder/c++/src/kj/string-tree.hsource_subfolder/c++/src/kj/mutex.h::10426:: 26source_subfolder/c++/src/kj/time.h:: 46note:: 35candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument: error: invalid operands to binary expression ('int' and 'const Duration' (aka 'const Quantity')) inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^constexpr Duration SECONDS = 1000 * MILLISECONDS; ~~~~ ^ ~~~~~~~~~~~~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.hsource_subfolder/c++/src/kj/string-tree.h::103106::2119:: notenote: : candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argumentcandidate 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(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.h:source_subfolder/c++/src/kj/string-tree.h374::10432::26 :note : notecandidate template ignored: couldn't infer template argument '': candidate function not viable: no known conversion from 'int' to '::kj::_::Stringifier' for 1st argument friend inline constexpr auto operator*(Number1 a, Quantity b) inline const StringTree& KJ_STRINGIFY(const StringTree& tree) { return tree; } ^ ^ 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-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/string.h:source_subfolder/c++/src/kj/string.h689::48328::27 :note : notecandidate 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/units.hsource_subfolder/c++/src/kj/string.h::374483::3227:: notenote: : candidate template ignored: couldn't infer template argument ''expanded from macro 'KJ_STRINGIFY' friend inline constexpr auto operator*(Number1 a, Quantity b)#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__) ^ ^ source_subfolder/c++/src/kj/units.h:190:5source_subfolder/c++/src/kj/string.h:: 687note:: 23candidate template ignored: could not match 'UnitRatio' against 'Quantity': note: candidate template ignored: could not match 'Delimited' against 'Quantity' operator*(N1 n, UnitRatio r) { ^ source_subfolder/c++/src/kj/units.h:inline Delimited&& KJ_STRINGIFY(Delimited&& delimited) { return kj::mv(delimited); }401 : ^23 : source_subfolder/c++/src/kj/string.hnote:: 483candidate template ignored: could not match 'UnitRatio' against 'int': 27: note: expanded from macro 'KJ_STRINGIFY' inline constexpr auto operator*(UnitRatio ratio, ^ #define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__)source_subfolder/c++/src/kj/units.h : ^925 :1source_subfolder/c++/src/kj/string.h:: 689note:: 28candidate template ignored: could not match 'Bounded' against 'int': note: candidate template ignored: could not match 'Delimited' against 'Quantity' OP(*, (boundedMul())) ^ source_subfolder/c++/src/kj/units.h:900:61inline const Delimited& KJ_STRINGIFY(const Delimited& delimited) { return delimited; }: ^ notesource_subfolder/c++/src/kj/string.h: :expanded from macro 'OP'483 :27: note: expanded from macro 'KJ_STRINGIFY' inline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \ ^ source_subfolder/c++/src/kj/units.h#define KJ_STRINGIFY(...) operator*(::kj::_::Stringifier, __VA_ARGS__): 926 ^: 1:source_subfolder/c++/src/kj/units.h :note190: :candidate template ignored: could not match 'BoundedConst' against 'int'5 : note: candidate template ignored: could not match 'UnitRatio' against 'Quantity'REVERSE_OP(*, (boundedAdd())) ^ source_subfolder/c++/src/kj/units.h: operator*(N1 n, UnitRatio r) {907 : ^61 : note: source_subfolder/c++/src/kj/units.hexpanded from macro 'REVERSE_OP': 401:23: note: candidate template ignored: could not match 'UnitRatio' against 'int' inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \ ^ source_subfolder/c++/src/kj/units.h:1086inline constexpr auto operator*(UnitRatio ratio,: 1 ^: note: source_subfolder/c++/src/kj/units.hcandidate template ignored: could not match 'SafeUnwrapper' against 'Quantity': 925OP(*): 1^: source_subfolder/c++/src/kj/units.hnote:: 1068candidate template ignored: could not match 'Bounded' against 'int': 23: note: OP(*, (boundedMul()))expanded from macro 'OP' ^ source_subfolder/c++/src/kj/units.h:900:61: inline constexpr auto operator op(T a, SafeUnwrapper b) -> decltype(a op (T)b) { \note : ^expanded from macro 'OP' source_subfolder/c++/src/kj/units.h:1086:1: noteinline constexpr Bounded<(newMax), decltype(T() op uint())> operator op( \: candidate template ignored: could not match 'SafeUnwrapper' against 'int' ^ source_subfolder/c++/src/kj/units.h:1072source_subfolder/c++/src/kj/units.h::23926:: 1note:: expanded from macro 'OP'note : candidate template ignored: could not match 'BoundedConst' against 'int' REVERSE_OP(*, (boundedAdd())) inline constexpr auto operator op(SafeUnwrapper b, T a) -> decltype((T)b op a) { \^ ^source_subfolder/c++/src/kj/units.h :907source_subfolder/c++/src/kj/units.h::611086:: 1note:: expanded from macro 'REVERSE_OP'note : candidate template ignored: could not match 'SafeConstUnwrapper' against 'Quantity' source_subfolder/c++/src/kj/units.h:1076inline constexpr Bounded<(newMax), decltype(uint() op T())> operator op( \: 23 ^: notesource_subfolder/c++/src/kj/units.h: :expanded from macro 'OP'1086 :1: note: candidate template ignored: could not match 'SafeUnwrapper' against 'Quantity' OP(*) inline constexpr auto operator op(T a, SafeConstUnwrapper b) -> decltype(a op (T)b) { \^ ^source_subfolder/c++/src/kj/units.h :1068:source_subfolder/c++/src/kj/units.h23::1086 :note1: :expanded from macro 'OP' 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, 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'inline constexpr auto operator op(SafeConstUnwrapper b, T a) -> decltype((T)b op a) { \ 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 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: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/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) { \ ^ 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: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/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) { \ ^ 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/dfb1c265d92c10ee0e6b05b2f1cdf0be29abc9d6 capnproto/0.8.0: ERROR: Package 'dfb1c265d92c10ee0e6b05b2f1cdf0be29abc9d6' build failed capnproto/0.8.0: WARN: Build folder /home/conan/w/cci_PR-1489/.conan/data/capnproto/0.8.0/_/_/build/dfb1c265d92c10ee0e6b05b2f1cdf0be29abc9d6 ERROR: capnproto/0.8.0: Error in build() method, line 116 autotools.make() ConanException: Error 2 while executing make -j3