******************************************************************************** conan install foonathan-lexy/2022.05.01@#211c480d7e8bc9286638505b382342e0 --build=foonathan-lexy -pr C:\J\w\prod\BuildSingleReference\123860\61c60e36-17c2-44e6-86ee-a9089596fe1c/profile_windows_15_mt_vs_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=15 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True foonathan-lexy/2022.05.01: Forced build from source cmake/3.18.0: Not found in local cache, looking in remotes... cmake/3.18.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cmake/3.18.0: Downloaded recipe revision d85d56cdd3312d55ebb6b2cb4fe5c07d Installing package: foonathan-lexy/2022.05.01 Requirements foonathan-lexy/2022.05.01 from local cache - Cache Packages foonathan-lexy/2022.05.01:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Build Build requirements cmake/3.18.0 from 'conan-center' - Downloaded Build requirements packages cmake/3.18.0:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Download Installing (downloading, building) binaries... cmake/3.18.0: Retrieving package 0a420ff5c47119e668867cdb51baff0eca1fdb68 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cmake/3.18.0: Package installed 0a420ff5c47119e668867cdb51baff0eca1fdb68 cmake/3.18.0: Downloaded package revision 8c3e1c2e15ec31bc73c416ba58283981 cmake/3.18.0: Appending PATH environment variable: C:\J\w\prod\BuildSingleReference\.conan\data\cmake\3.18.0\_\_\package\0a420ff5c47119e668867cdb51baff0eca1fdb68\bin foonathan-lexy/2022.05.01: Applying build-requirement: cmake/3.18.0 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK foonathan-lexy/2022.05.01: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\source\src foonathan-lexy/2022.05.01: foonathan-lexy/2022.05.01: Unzipping 845.7KB, this can take a while foonathan-lexy/2022.05.01: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK foonathan-lexy/2022.05.01: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 foonathan-lexy/2022.05.01: Generator txt created conanbuildinfo.txt foonathan-lexy/2022.05.01: Calling generate() foonathan-lexy/2022.05.01: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' foonathan-lexy/2022.05.01: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE=C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' foonathan-lexy/2022.05.01: Aggregating env generators [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 foonathan-lexy/2022.05.01: Calling build() foonathan-lexy/2022.05.01: CMake command: cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\source\src" ----Running------ > cmake -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\source\src" ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.16.27048.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/build foonathan-lexy/2022.05.01: CMake command: cmake --build "C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\build" --config Release ----Running------ > cmake --build "C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\build" --config Release ----------------- Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/prod/BuildSingleReference/.conan/data/foonathan-lexy/2022.05.01/_/_/source/src/src/CMakeLists.txt file.cpp C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\source\src\src\..\include\lexy/grammar.hpp(273): error C3779: 'lexy::production_value_callback::_return_type_callback': a function that returns 'auto' cannot be used before it is defined [C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\build\src\lexy_file.vcxproj] C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\source\src\src\..\include\lexy/grammar.hpp(252): note: see declaration of 'lexy::production_value_callback::_return_type_callback' C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\source\src\src\..\include\lexy/grammar.hpp(320): note: see reference to class template instantiation 'lexy::production_value_callback' being compiled foonathan-lexy/2022.05.01: foonathan-lexy/2022.05.01: 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 foonathan-lexy/2022.05.01: ERROR: Package '7bd6f2c3d5c4e48a75805376b58cde753392f711' build failed foonathan-lexy/2022.05.01: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\build ERROR: foonathan-lexy/2022.05.01: Error in build() method, line 74 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J\w\prod\BuildSingleReference\.conan\data\foonathan-lexy\2022.05.01\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\build" --config Release