-------- Installing package fmt/11.0.2 (6 of 15) --------
fmt/11.0.2: Building from source
fmt/11.0.2: Package fmt/11.0.2:106bd81cc827fe34235c03c4a7b9241b95f44be5
fmt/11.0.2: settings: os=Linux arch=x86_64 compiler=clang compiler.cppstd=20 compiler.libcxx=libc++ compiler.version=19 build_type=Release
fmt/11.0.2: options: fPIC=True header_only=False shared=False with_os_api=True with_unicode=True
fmt/11.0.2: Copying sources to build folder
fmt/11.0.2: Building your package in /home/y/.conan2/p/b/fmt7409a887ead41/b
fmt/11.0.2: Calling generate()
fmt/11.0.2: Generators folder: /home/y/.conan2/p/b/fmt7409a887ead41/b/build/Release/generators
fmt/11.0.2: CMakeToolchain generated: conan_toolchain.cmake
fmt/11.0.2: CMakeToolchain generated: /home/y/.conan2/p/b/fmt7409a887ead41/b/build/Release/generators/CMakePresets.json
fmt/11.0.2: CMakeToolchain generated: /home/y/.conan2/p/b/fmt7409a887ead41/b/src/CMakeUserPresets.json
fmt/11.0.2: Generating aggregated env files
fmt/11.0.2: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
fmt/11.0.2: Calling build()
fmt/11.0.2: apply_conandata_patches(): No patches defined in conandata
fmt/11.0.2: Running CMake.configure()
fmt/11.0.2: RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/y/.conan2/p/b/fmt7409a887ead41/p" -DFMT_DOC="OFF" -DFMT_TEST="OFF" -DFMT_INSTALL="ON" -DFMT_LIB_DIR="lib" -DFMT_OS="ON" -DFMT_UNICODE="ON" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/y/.conan2/p/b/fmt7409a887ead41/b/src"
-- CMake version: 4.1.1
-- Using Conan toolchain: /home/y/.conan2/p/b/fmt7409a887ead41/b/build/Release/generators/conan_toolchain.cmake
-- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC)
-- Conan toolchain: Defining architecture flag: -m64
-- Conan toolchain: Defining libcxx as C++ flags: -stdlib=libc++
-- Conan toolchain: C++ Standard 20 with extensions OFF
-- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF
-- The CXX compiler identification is Clang 21.1.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/d6syhmcp4rldmcc9bk42zssndi4q7kwq-clang-wrapper-21.1.1/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- {fmt} version: 11.0.2
-- Build type: Release
-- Performing Test HAS_NULLPTR_WARNING
-- Performing Test HAS_NULLPTR_WARNING - Success
-- Configuring done (1.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/y/.conan2/p/b/fmt7409a887ead41/b/build/Release
fmt/11.0.2: Running CMake.build()
fmt/11.0.2: RUN: cmake --build "/home/y/.conan2/p/b/fmt7409a887ead41/b/build/Release" -- -j12
[ 66%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o
[ 66%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o
clang++: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-stdlib=libc++' [-Wunused-command-line-argument]
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:176:35: error: call to consteval function 'fmt::basic_format_string<char, const char *>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
176 | FMT_THROW(system_error(errno, FMT_STRING("cannot open file {}"),
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"cannot open file {}"[18])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"cannot open file {}"[18], &"cannot open file {}"[18])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"cannot open file {}"[18])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, const char *> &>(&"cannot open file {}"[18], &"cannot open file {}"[19], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, const char *>>({&"cannot open file {}"[0], 19}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:176:35: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("cannot open file {}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("cannot open file {}");
}
};
return FMT_COMPILE_STRING();
}())'
176 | FMT_THROW(system_error(errno, FMT_STRING("cannot open file {}"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
177 | filename.c_str()));
| ~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:131:34: note: expanded from macro 'FMT_THROW'
131 | # define FMT_THROW(x) throw x
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:222:29: error: call to consteval function 'fmt::basic_format_string<char, const char *>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
222 | system_error(errno, FMT_STRING("cannot open file {}"), path.c_str()));
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"cannot open file {}"[18])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"cannot open file {}"[18], &"cannot open file {}"[18])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"cannot open file {}"[18])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, const char *> &>(&"cannot open file {}"[18], &"cannot open file {}"[19], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, const char *>>({&"cannot open file {}"[0], 19}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:222:29: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("cannot open file {}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("cannot open file {}");
}
};
return FMT_COMPILE_STRING();
}())'
221 | FMT_THROW(
| ~~~~~~~~~~
222 | system_error(errno, FMT_STRING("cannot open file {}"), path.c_str()));
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:131:34: note: expanded from macro 'FMT_THROW'
131 | # define FMT_THROW(x) throw x
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:291:16: error: call to consteval function 'fmt::basic_format_string<char, int &>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
291 | errno, FMT_STRING("cannot duplicate file descriptor {}"), fd));
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"cannot duplicate file descriptor {}"[34])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"cannot duplicate file descriptor {}"[34], &"cannot duplicate file descriptor {}"[34])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"cannot duplicate file descriptor {}"[34])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2647:13: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, int> &>(&"cannot duplicate file descriptor {}"[34], &"cannot duplicate file descriptor {}"[35], checker(s))'
2647 | begin = parse_replacement_field(p, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, int>>({&"cannot duplicate file descriptor {}"[0], 35}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:291:16: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("cannot duplicate file descriptor {}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("cannot duplicate file descriptor {}");
}
};
return FMT_COMPILE_STRING();
}())'
290 | FMT_THROW(system_error(
| ~~~~~~~~~~~~~~~~~~~~~~~
291 | errno, FMT_STRING("cannot duplicate file descriptor {}"), fd));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:131:34: note: expanded from macro 'FMT_THROW'
131 | # define FMT_THROW(x) throw x
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:300:16: error: call to consteval function 'fmt::basic_format_string<char, int &, int &>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
300 | errno, FMT_STRING("cannot duplicate file descriptor {} to {}"), fd_,
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"cannot duplicate file descriptor {} to {}"[34])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"cannot duplicate file descriptor {} to {}"[34], &"cannot duplicate file descriptor {} to {}"[34])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"cannot duplicate file descriptor {} to {}"[34])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2647:13: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, int, int> &>(&"cannot duplicate file descriptor {} to {}"[34], &"cannot duplicate file descriptor {} to {}"[41], checker(s))'
2647 | begin = parse_replacement_field(p, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, int, int>>({&"cannot duplicate file descriptor {} to {}"[0], 41}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/os.cc:300:16: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("cannot duplicate file descriptor {} to {}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("cannot duplicate file descriptor {} to {}");
}
};
return FMT_COMPILE_STRING();
}())'
299 | FMT_THROW(system_error(
| ~~~~~~~~~~~~~~~~~~~~~~~
300 | errno, FMT_STRING("cannot duplicate file descriptor {} to {}"), fd_,
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301 | fd));
| ~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:131:34: note: expanded from macro 'FMT_THROW'
131 | # define FMT_THROW(x) throw x
| ^
4 errors generated.
gmake[2]: *** [CMakeFiles/fmt.dir/build.make:93: CMakeFiles/fmt.dir/src/os.cc.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/format.cc:8:
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:59:24: error: call to consteval function 'fmt::basic_format_string<char, fmt::basic_string_view<char> &, const char (&)[3]>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
59 | fmt::format_to(it, FMT_STRING("{}{}"), message, SEP);
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"{}{}"[1])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"{}{}"[1], &"{}{}"[1])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"{}{}"[1])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, fmt::basic_string_view<char>, char[3]> &>(&"{}{}"[1], &"{}{}"[4], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, fmt::basic_string_view<char>, char[3]>>({&"{}{}"[0], 4}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:59:24: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("{}{}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("{}{}");
}
};
return FMT_COMPILE_STRING();
}())'
59 | fmt::format_to(it, FMT_STRING("{}{}"), message, SEP);
| ^~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1807 | /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1808 | /* Use a macro-like name to avoid shadowing warnings. */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809 | struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1810 | using char_type FMT_MAYBE_UNUSED = fmt::remove_cvref_t<decltype(s[0])>; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1811 | FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1812 | operator fmt::basic_string_view<char_type>() const { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1813 | return fmt::detail_exported::compile_string_to_view<char_type>(s); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1814 | } \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1815 | }; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1816 | return FMT_COMPILE_STRING(); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1817 | }()
| ~~~
In file included from /home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/format.cc:8:
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:60:22: error: call to consteval function 'fmt::basic_format_string<char, const char (&)[7], int &>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
60 | fmt::format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code);
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"{}{}"[1])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"{}{}"[1], &"{}{}"[1])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"{}{}"[1])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, char[7], int> &>(&"{}{}"[1], &"{}{}"[4], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, char[7], int>>({&"{}{}"[0], 4}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:60:22: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("{}{}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("{}{}");
}
};
return FMT_COMPILE_STRING();
}())'
60 | fmt::format_to(it, FMT_STRING("{}{}"), ERROR_STR, error_code);
| ^~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1807 | /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1808 | /* Use a macro-like name to avoid shadowing warnings. */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809 | struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1810 | using char_type FMT_MAYBE_UNUSED = fmt::remove_cvref_t<decltype(s[0])>; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1811 | FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1812 | operator fmt::basic_string_view<char_type>() const { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1813 | return fmt::detail_exported::compile_string_to_view<char_type>(s); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1814 | } \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1815 | }; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1816 | return FMT_COMPILE_STRING(); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1817 | }()
| ~~~
In file included from /home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/format.cc:8:
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:1387:35: error: call to consteval function 'fmt::basic_format_string<char, unsigned int &>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
1387 | out = fmt::format_to(out, FMT_STRING("{:x}"), value);
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"{:x}"[2])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2591:15: note: in call to 'handler.on_format_specs(0, &"{:x}"[2], &"{:x}"[4])'
2591 | begin = handler.on_format_specs(adapter.arg_id, begin + 1, end);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, unsigned int> &>(&"{:x}"[1], &"{:x}"[4], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, unsigned int>>({&"{:x}"[0], 4}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:1387:35: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("{:x}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("{:x}");
}
};
return FMT_COMPILE_STRING();
}())'
1387 | out = fmt::format_to(out, FMT_STRING("{:x}"), value);
| ^~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1807 | /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1808 | /* Use a macro-like name to avoid shadowing warnings. */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809 | struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1810 | using char_type FMT_MAYBE_UNUSED = fmt::remove_cvref_t<decltype(s[0])>; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1811 | FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1812 | operator fmt::basic_string_view<char_type>() const { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1813 | return fmt::detail_exported::compile_string_to_view<char_type>(s); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1814 | } \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1815 | }; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1816 | return FMT_COMPILE_STRING(); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1817 | }()
| ~~~
In file included from /home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/format.cc:8:
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:1391:33: error: call to consteval function 'fmt::basic_format_string<char, unsigned int &>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
1391 | out = fmt::format_to(out, FMT_STRING("{:08x}"), value);
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"{:08x}"[2])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2591:15: note: in call to 'handler.on_format_specs(0, &"{:08x}"[2], &"{:08x}"[6])'
2591 | begin = handler.on_format_specs(adapter.arg_id, begin + 1, end);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, unsigned int> &>(&"{:08x}"[1], &"{:08x}"[6], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, unsigned int>>({&"{:08x}"[0], 6}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:1391:33: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("{:08x}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("{:08x}");
}
};
return FMT_COMPILE_STRING();
}())'
1391 | out = fmt::format_to(out, FMT_STRING("{:08x}"), value);
| ^~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1807 | /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1808 | /* Use a macro-like name to avoid shadowing warnings. */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809 | struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1810 | using char_type FMT_MAYBE_UNUSED = fmt::remove_cvref_t<decltype(s[0])>; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1811 | FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1812 | operator fmt::basic_string_view<char_type>() const { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1813 | return fmt::detail_exported::compile_string_to_view<char_type>(s); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1814 | } \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1815 | }; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1816 | return FMT_COMPILE_STRING(); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1817 | }()
| ~~~
In file included from /home/y/.conan2/p/b/fmt7409a887ead41/b/src/src/format.cc:8:
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:1394:33: error: call to consteval function 'fmt::basic_format_string<char, int>::basic_format_string<FMT_COMPILE_STRING, 0>' is not a constant expression
1394 | out = fmt::format_to(out, FMT_STRING("p{}"),
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:779:54: note: subexpression not valid in a constant expression
779 | format_str_.remove_prefix(detail::to_unsigned(it - begin()));
| ~~~^~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2761:5: note: in call to 'this->context_.advance_to(&"p{}"[2])'
2761 | context_.advance_to(begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2756:5: note: in call to 'this->on_format_specs(0, &"p{}"[2], &"p{}"[2])'
2756 | on_format_specs(id, begin, begin); // Call parse() on empty specs.
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2581:5: note: in call to 'handler.on_replacement_field(0, &"p{}"[2])'
2581 | handler.on_replacement_field(handler.on_arg_id(), begin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2613:21: note: in call to 'parse_replacement_field<char, fmt::detail::format_string_checker<char, int> &>(&"p{}"[2], &"p{}"[3], checker(s))'
2613 | begin = p = parse_replacement_field(p - 1, end, handler);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/base.h:2884:7: note: in call to 'parse_format_string<true, char, fmt::detail::format_string_checker<char, int>>({&"p{}"[0], 3}, checker(s))'
2884 | detail::parse_format_string<true>(str_, checker(s));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format-inl.h:1394:33: note: in call to 'basic_format_string<FMT_COMPILE_STRING, 0>([] {
struct __attribute__((visibility("hidden"))) FMT_COMPILE_STRING : fmt::detail::compile_string {
using char_type [[maybe_unused]] = fmt::remove_cvref_t<decltype("p{}"[0])>;
[[maybe_unused]] constexpr operator fmt::basic_string_view<char_type>() const {
return fmt::detail_exported::compile_string_to_view<char_type>("p{}");
}
};
return FMT_COMPILE_STRING();
}())'
1394 | out = fmt::format_to(out, FMT_STRING("p{}"),
| ^~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1827:23: note: expanded from macro 'FMT_STRING'
1827 | #define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string, )
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/y/.conan2/p/b/fmt7409a887ead41/b/src/include/fmt/format.h:1806:3: note: expanded from macro 'FMT_STRING_IMPL'
1806 | [] { \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1807 | /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1808 | /* Use a macro-like name to avoid shadowing warnings. */ \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1809 | struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1810 | using char_type FMT_MAYBE_UNUSED = fmt::remove_cvref_t<decltype(s[0])>; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1811 | FMT_MAYBE_UNUSED FMT_CONSTEXPR explicit \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1812 | operator fmt::basic_string_view<char_type>() const { \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1813 | return fmt::detail_exported::compile_string_to_view<char_type>(s); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1814 | } \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1815 | }; \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1816 | return FMT_COMPILE_STRING(); \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1817 | }()
| ~~~
5 errors generated.
gmake[2]: *** [CMakeFiles/fmt.dir/build.make:79: CMakeFiles/fmt.dir/src/format.cc.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/fmt.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
fmt/11.0.2: ERROR:
Package '106bd81cc827fe34235c03c4a7b9241b95f44be5' build failed
fmt/11.0.2: WARN: Build folder /home/y/.conan2/p/b/fmt7409a887ead41/b/build/Release
ERROR: fmt/11.0.2: Error in build() method, line 106
cmake.build()
ConanException: Error 2 while executing
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Created
October 20, 2025 19:24
-
-
Save yangzhengca/631afd6e9d2707e8dba661fecd941074 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment