******************************************************************************** conan test conan-center-index/recipes/fmt/all/test_cmakedeps/conanfile.py fmt/9.0.0@#05368dcd93e08044b688b2c780aad3d4 -pr /home/conan/w/prod/BuildSingleReference/54713/27959cb2-872c-4d33-83a1-9a9d9e789067/profile_linux_5_libstdcpp_gcc_release_64.fmt-header_only-False_fmt-shared-False.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=5 os=Linux [options] fmt:header_only=False fmt:shared=False [build_requires] [env] fmt/9.0.0 (test package): Installing package Requirements fmt/9.0.0 from local cache - Cache Packages fmt/9.0.0:666a5b8336584e2ba4cccd7bf03bd788ead08e4c - Cache Installing (downloading, building) binaries... fmt/9.0.0: Already installed! fmt/9.0.0 (test package): Generator 'CMakeDeps' calling 'generate()' fmt/9.0.0 (test package): Generator txt created conanbuildinfo.txt fmt/9.0.0 (test package): Calling generate() fmt/9.0.0 (test package): Aggregating env generators fmt/9.0.0 (test package): Generated conaninfo.txt fmt/9.0.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK fmt/9.0.0 (test package): Calling build() fmt/9.0.0 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release/conan/conan_toolchain.cmake" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release/conan/conan_toolchain.cmake" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release/conan/conan_toolchain.cmake -- The CXX compiler identification is GNU 5.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'fmt::fmt' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release fmt/9.0.0 (test package): CMake command: cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release' '--' '-j3' ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release' '--' '-j3' ----------------- Scanning dependencies of target test_ranges Scanning dependencies of target test_package [ 25%] Building CXX object CMakeFiles/test_ranges.dir/test_ranges.cpp.o [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:123: recipe for target 'CMakeFiles/test_package.dir/all' failed [ 75%] Linking CXX executable test_ranges [ 75%] Built target test_ranges Makefile:102: recipe for target 'all' failed /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:42:40: error: no matching function for call to ‘format_to(fmt::v9::memory_buffer&, const char [3], double)’ fmt::format_to(buf, "{}", 2.7182818); ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:48:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:8: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:3190:17: note: candidate: template::value), int>::type > OutputIt fmt::v9::format_to(OutputIt, fmt::v9::format_string, T&& ...) FMT_INLINE auto format_to(OutputIt out, format_string fmt, T&&... args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:3190:17: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:3189:11: error: no type named ‘type’ in ‘struct std::enable_if’ FMT_ENABLE_IF(detail::is_output_iterator::value)> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:3189:11: note: invalid template non-type parameter In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:8:0: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:4177:17: note: candidate: template::value && fmt::v9::detail::is_locale::value), int>::type > OutputIt fmt::v9::format_to(OutputIt, const Locale&, fmt::v9::format_string, T&& ...) FMT_INLINE auto format_to(OutputIt out, const Locale& loc, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:4177:17: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:48:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:8: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:4175:11: error: no type named ‘type’ in ‘struct std::enable_if’ FMT_ENABLE_IF(detail::is_output_iterator::value&& ^ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:4175:11: note: invalid template non-type parameter In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:11:0: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/color.h:587:13: note: candidate: template typename std::enable_if::type fmt::v9::format_to(OutputIt, const fmt::v9::text_style&, const S&, Args&& ...) inline auto format_to(OutputIt out, const text_style& ts, const S& format_str, ^ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/color.h:587:13: note: template argument deduction/substitution failed: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:42:40: note: cannot convert ‘"{}"’ (type ‘const char [3]’) to type ‘const fmt::v9::text_style&’ fmt::format_to(buf, "{}", 2.7182818); ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:48:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:8: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h: In instantiation of ‘fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = Date&]’: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:1753:29: required from ‘fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; fmt::v9::detail::type = (fmt::v9::detail::type)15; T = Date&; typename std::enable_if::type = 0]’ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:1877:77: required from ‘fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {Date&}; Context = fmt::v9::basic_format_context; Args = {Date}]’ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:1894:38: required from ‘constexpr fmt::v9::format_arg_store...> fmt::v9::make_format_args(Args&& ...) [with Context = fmt::v9::basic_format_context; Args = {Date&}]’ /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:3163:44: required from ‘std::string fmt::v9::format(fmt::v9::format_string, T&& ...) [with T = {Date}; std::string = std::basic_string; fmt::v9::format_string = fmt::v9::basic_format_string]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/test_package.cpp:45:79: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:1732:3: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt static_assert( ^ make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 fmt/9.0.0 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior fmt/9.0.0 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: fmt/9.0.0 (test package): Error in build() method, line 25 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_cmakedeps/cmake-build-release' '--' '-j3' ******************************************************************************** conan test conan-center-index/recipes/fmt/all/test_package/conanfile.py fmt/9.0.0@#05368dcd93e08044b688b2c780aad3d4 -pr /home/conan/w/prod/BuildSingleReference/54713/27959cb2-872c-4d33-83a1-9a9d9e789067/profile_linux_5_libstdcpp_gcc_release_64.fmt-header_only-False_fmt-shared-False.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=5 os=Linux [options] fmt:header_only=False fmt:shared=False [build_requires] [env] fmt/9.0.0 (test package): Installing package Requirements fmt/9.0.0 from local cache - Cache Packages fmt/9.0.0:666a5b8336584e2ba4cccd7bf03bd788ead08e4c - Cache Installing (downloading, building) binaries... fmt/9.0.0: Already installed! fmt/9.0.0 (test package): Generator cmake_find_package_multi created fmt-config-version.cmake fmt/9.0.0 (test package): Generator cmake_find_package_multi created fmt-config.cmake fmt/9.0.0 (test package): Generator cmake_find_package_multi created fmtTargets.cmake fmt/9.0.0 (test package): Generator cmake_find_package_multi created fmtTarget-release.cmake fmt/9.0.0 (test package): Generator txt created conanbuildinfo.txt fmt/9.0.0 (test package): Generator cmake created conanbuildinfo.cmake fmt/9.0.0 (test package): Aggregating env generators fmt/9.0.0 (test package): Generated conaninfo.txt fmt/9.0.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK fmt/9.0.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DFMT_HEADER_ONLY="False" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package' ----------------- -- The CXX compiler identification is GNU 5.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library fmt found /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/lib/libfmt.a -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++ -- Library fmt found /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/lib/libfmt.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/lib/libfmt.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5' '--' '-j3' ----------------- Scanning dependencies of target test_ranges Scanning dependencies of target test_package [ 25%] Building CXX object CMakeFiles/test_ranges.dir/test_ranges.cpp.o [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:123: recipe for target 'CMakeFiles/test_package.dir/all' failed [ 75%] Linking CXX executable bin/test_ranges [ 75%] Built target test_ranges Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/test_package.cpp:35:25: error: specialization of ‘template struct fmt::v9::formatter’ in different namespace [-fpermissive] template <> struct fmt::formatter : ostream_formatter {}; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/format.h:48:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/test_package.cpp:9: /home/conan/w/prod/BuildSingleReference/.conan/data/fmt/9.0.0/_/_/package/666a5b8336584e2ba4cccd7bf03bd788ead08e4c/include/fmt/core.h:772:8: error: from definition of ‘template struct fmt::v9::formatter’ [-fpermissive] struct formatter { ^ make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [all] Error 2 ERROR: fmt/9.0.0 (test package): Error in build() method, line 14 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/fmt/all/test_package/build/15df457c89819fd188c33d66616f20d2ade048c5' '--' '-j3'