Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 141.8 In file included from /app/third_party/userver/universal/src/logging/log_helper_impl.cpp:6:
- 141.8 /usr/include/fmt/compile.h:151:12: error: call to 'write' is ambiguous
- 141.8 151 | return write<Char>(out, arg);
- 141.8 | ^~~~~~~~~~~
- 141.8 /usr/include/fmt/compile.h:215:15: note: in instantiation of function template specialization 'fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 215 | out = lhs.format(out, args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:216:16: note: in instantiation of function template specialization 'fmt::detail::concat<fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>, fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 216 | return rhs.format(out, args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:444:13: note: in instantiation of function template specialization 'fmt::detail::concat<fmt::detail::text<char>, fmt::detail::concat<fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>, fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>>>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 444 | return cf.format(out, args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:484:17: note: in instantiation of function template specialization 'fmt::format_to<char *, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::concat<fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>, fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>>>, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>, 0>' requested here
- 141.8 484 | return fmt::format_to(out, compiled, std::forward<Args>(args)...);
- 141.8 | ^
- 141.8 /app/third_party/userver/universal/src/logging/log_helper_impl.cpp:110:12: note: in instantiation of function template specialization 'fmt::format_to<char *, FMT_COMPILE_STRING, userver::logging::(anonymous namespace)::TimeString, long, const std::basic_string_view<char> &, 0>' requested here
- 141.8 110 | fmt::format_to(
- 141.8 | ^
- 141.8 /usr/include/fmt/format.h:3746:20: note: candidate function [with Char = char, OutputIt = char *, T = userver::logging::(anonymous namespace)::TimeString, Context = fmt::basic_format_context<char *, char>]
- 141.8 3746 | FMT_CONSTEXPR auto write(OutputIt out, const T& value) -> enable_if_t<
- 141.8 | ^
- 141.8 /usr/include/fmt/format.h:3757:20: note: candidate function [with Char = char, OutputIt = char *, T = userver::logging::(anonymous namespace)::TimeString, Context = fmt::basic_format_context<char *, char>]
- 141.8 3757 | FMT_CONSTEXPR auto write(OutputIt out, const T& value)
- 141.8 | ^
- 141.8 In file included from /app/third_party/userver/universal/src/logging/log_helper_impl.cpp:1:
- 141.8 In file included from /app/third_party/userver/universal/src/logging/log_helper_impl.hpp:7:
- 141.8 In file included from /usr/include/fmt/format.h:49:
- 141.8 /usr/include/fmt/core.h:1576:63: error: implicit instantiation of undefined template 'fmt::detail::type_is_unformattable_for<const userver::logging::(anonymous namespace)::TimeString, char>'
- 141.8 1576 | type_is_unformattable_for<T, typename Context::char_type> _;
- 141.8 | ^
- 141.8 /usr/include/fmt/core.h:1808:23: note: in instantiation of function template specialization 'fmt::detail::make_arg<true, fmt::basic_format_context<char *, char>, const userver::logging::(anonymous namespace)::TimeString, 0>' requested here
- 141.8 1808 | data_{detail::make_arg<is_packed, Context>(args)...} {
- 141.8 | ^
- 141.8 /usr/include/fmt/core.h:1826:10: note: in instantiation of function template specialization 'fmt::format_arg_store<fmt::basic_format_context<char *, char>, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>::format_arg_store<const userver::logging::(anonymous namespace)::TimeString, const long, const std::basic_string_view<char>>' requested here
- 141.8 1826 | return {args...};
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:199:14: note: in instantiation of function template specialization 'fmt::make_format_args<fmt::basic_format_context<char *, char>, const userver::logging::(anonymous namespace)::TimeString, const long, const std::basic_string_view<char>>' requested here
- 141.8 199 | fmt::make_format_args<basic_format_context<OutputIt, Char>>(args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:215:15: note: in instantiation of function template specialization 'fmt::detail::spec_field<char, long, 1>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 215 | out = lhs.format(out, args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:216:16: note: in instantiation of function template specialization 'fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 216 | return rhs.format(out, args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:216:16: note: in instantiation of function template specialization 'fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 /usr/include/fmt/compile.h:216:16: note: in instantiation of function template specialization 'fmt::detail::concat<fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>, fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 /usr/include/fmt/compile.h:444:13: note: in instantiation of function template specialization 'fmt::detail::concat<fmt::detail::text<char>, fmt::detail::concat<fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>, fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>>>::format<char *, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>>' requested here
- 141.8 444 | return cf.format(out, args...);
- 141.8 | ^
- 141.8 /usr/include/fmt/compile.h:484:17: note: in instantiation of function template specialization 'fmt::format_to<char *, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::concat<fmt::detail::field<char, userver::logging::(anonymous namespace)::TimeString, 0>, fmt::detail::concat<fmt::detail::code_unit<char>, fmt::detail::concat<fmt::detail::spec_field<char, long, 1>, fmt::detail::concat<fmt::detail::text<char>, fmt::detail::field<char, std::basic_string_view<char>, 2>>>>>>, userver::logging::(anonymous namespace)::TimeString, long, std::basic_string_view<char>, 0>' requested here
- 141.8 484 | return fmt::format_to(out, compiled, std::forward<Args>(args)...);
- 141.8 | ^
- 141.8 /app/third_party/userver/universal/src/logging/log_helper_impl.cpp:110:12: note: in instantiation of function template specialization 'fmt::format_to<char *, FMT_COMPILE_STRING, userver::logging::(anonymous namespace)::TimeString, long, const std::basic_string_view<char> &, 0>' requested here
- 141.8 110 | fmt::format_to(
- 141.8 | ^
- 141.8 /usr/include/fmt/core.h:1554:45: note: template is declared here
- 141.8 1554 | template <typename T, typename Char> struct type_is_unformattable_for;
- 141.8 | ^
- 141.8 /usr/include/fmt/core.h:1580:7: error: static assertion failed due to requirement 'formattable': Cannot format an argument. To make type T formattable provide a formatter<T> specialization: https://fmt.dev/latest/api.html#udt
- 141.8 1580 | formattable,
- 141.8 | ^~~~~~~~~~~
- 141.8 3 errors generated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement