waybar failed with:
In file included from ../include/modules/disk.hpp:8,
from ../src/modules/disk.cpp:1:
../include/util/format.hpp: In instantiation of ‘constexpr decltype
(ctx.begin()) fmt::v8::formatter<pow_format>::parse(ParseContext&) [with
ParseContext = fmt::v8::basic_format_parse_context<char>; decltype
(ctx.begin()) = const char*]’:
/usr/include/fmt/core.h:1185:33: required from ‘static void
fmt::v8::detail::value<Context>::format_custom_arg(const void*, typename
Context::parse_context_type&, Context&) [with T = pow_format; Formatter =
fmt::v8::formatter<pow_format>; Context =
fmt::v8::basic_format_context<fmt::v8::appender, char>; typename
Context::parse_context_type = fmt::v8::basic_format_parse_context<char>]’
/usr/include/fmt/core.h:1172:19: required from ‘constexpr
fmt::v8::detail::value<Context>::value(const T&) [with T = pow_format;
Context = fmt::v8::basic_format_context<fmt::v8::appender, char>]’
/usr/include/fmt/core.h:1571:14: required from ‘constexpr
fmt::v8::detail::value<Context> fmt::v8::detail::make_arg(const T&) [with
bool IS_PACKED = true; Context =
fmt::v8::basic_format_context<fmt::v8::appender, char>;
fmt::v8::detail::type <anonymous> = fmt::v8::detail::type::custom_type; T =
fmt::v8::detail::named_arg<char, pow_format>; typename
std::enable_if<IS_PACKED, int>::type <anonymous> = 0]’
/usr/include/fmt/core.h:1694:64: required from ‘constexpr
fmt::v8::format_arg_store<Context, Args>::format_arg_store(const Args& ...)
[with Context = fmt::v8::basic_format_context<fmt::v8::appender, char>;
Args = {long unsigned int, fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >}]’
/usr/include/fmt/core.h:1710:18: required from ‘constexpr
fmt::v8::format_arg_store<Context, Args ...>
fmt::v8::make_format_args(const Args& ...) [with Context =
fmt::v8::basic_format_context<fmt::v8::appender, char>; Args = {long
unsigned int, fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >}]’
/usr/include/fmt/core.h:2886:44: required from ‘std::string
fmt::v8::format(fmt::v8::format_string<T ...>, T&& ...) [with T = {long
unsigned int, fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >}; std::string =
std::__cxx11::basic_string<char>; fmt::v8::format_string<T ...> =
fmt::v8::basic_format_string<char, long unsigned int,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, long unsigned int>,
fmt::v8::detail::named_arg<char, pow_format>,
fmt::v8::detail::named_arg<char, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >]’
../src/modules/disk.cpp:62:34: required from here
../include/util/format.hpp:38:42: error: no matching function for call to
‘parse_nonnegative_int(const char*&, const char*&,
fmt::v8::basic_format_parse_context<char>&)’
38 | width = parse_nonnegative_int(it, end, ctx);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
In file included from /usr/include/fmt/format.h:44,
from ../include/modules/disk.hpp:3,
from ../src/modules/disk.cpp:1:
/usr/include/fmt/core.h:2096:20: note: candidate: ‘template<class Char>
constexpr int fmt::v8::detail::parse_nonnegative_int(const Char*&, const
Char*, int)’
2096 | FMT_CONSTEXPR auto parse_nonnegative_int(const Char*& begin, const
Char* end,
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/fmt/core.h:2096:20: note: template argument
deduction/substitution failed:
In file included from ../include/modules/disk.hpp:8,
from ../src/modules/disk.cpp:1:
../include/util/format.hpp:38:42: note: cannot convert ‘ctx’ (type
‘fmt::v8::basic_format_parse_context<char>’) to type ‘int’
38 | width = parse_nonnegative_int(it, end, ctx);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
This looks to be fmt related...
https://kojipkgs.fedoraproject.org//work/tasks/5335/71345335/build.log
Thanks,
Richard