******************************************************************************** conan test conan-center-index/recipes/arduinojson/all/test_package/conanfile.py arduinojson/6.19.4@#8b63440ae25a998171f4a7ff493a1ce9 -pr /home/conan/w/prod/BuildSingleReference/86324/a82c6d03-c7f9-4625-95e0-f0c753074318/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True arduinojson/6.19.4 (test package): Installing package Requirements arduinojson/6.19.4 from local cache - Cache Packages arduinojson/6.19.4:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... arduinojson/6.19.4: Already installed! arduinojson/6.19.4 (test package): Generator 'CMakeDeps' calling 'generate()' arduinojson/6.19.4 (test package): Generator 'CMakeToolchain' calling 'generate()' arduinojson/6.19.4 (test package): Generator 'VirtualRunEnv' calling 'generate()' arduinojson/6.19.4 (test package): Generator txt created conanbuildinfo.txt arduinojson/6.19.4 (test package): Aggregating env generators arduinojson/6.19.4 (test package): Generated conaninfo.txt arduinojson/6.19.4 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/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 arduinojson/6.19.4 (test package): Calling build() arduinojson/6.19.4 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/generators/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 'ArduinoJson' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/Release arduinojson/6.19.4 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package [100%] Built target test_package arduinojson/6.19.4 (test package): Running test() ----Running------ > . "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/generators/conanrun.sh" && ./test_package ----------------- Capturing current environment in /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/build/generators/deactivate_conanrunenv-release-x86_64.sh Configuring environment variables sensor: gps time: 1351824120 latitude: 48.7561 longitude: 2.30204 /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/test_package.cpp:12:50: warning: ‘typename ArduinoJson6194_31::enable_if::value, const char*>::type ArduinoJson6194_31::MemberProxy::as() const [with T = char*; TObject = ArduinoJson6194_31::JsonDocument&; TStringRef = const char*; typename ArduinoJson6194_31::enable_if::value, const char*>::type = const char*]’ is deprecated: Replace as() with as() [-Wdeprecated-declarations] const char* sensor = doc["sensor"].as(); ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Document/JsonDocument.hpp:9:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Document/BasicJsonDocument.hpp:7, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Document/DynamicJsonDocument.hpp:7, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson.hpp:28, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson.h:9, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/test_package.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Object/MemberProxy.hpp:79:7: note: declared here as() const { ^ arduinojson/6.19.4 (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 arduinojson/6.19.4 (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 ******************************************************************************** conan test conan-center-index/recipes/arduinojson/all/test_v1_package/conanfile.py arduinojson/6.19.4@#8b63440ae25a998171f4a7ff493a1ce9 -pr /home/conan/w/prod/BuildSingleReference/86324/a82c6d03-c7f9-4625-95e0-f0c753074318/profile_linux_5_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True arduinojson/6.19.4 (test package): Installing package Requirements arduinojson/6.19.4 from local cache - Cache Packages arduinojson/6.19.4:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... arduinojson/6.19.4: Already installed! arduinojson/6.19.4 (test package): Generator cmake_find_package_multi created ArduinoJsonConfigVersion.cmake arduinojson/6.19.4 (test package): Generator cmake_find_package_multi created ArduinoJsonConfig.cmake arduinojson/6.19.4 (test package): Generator cmake_find_package_multi created ArduinoJsonTargets.cmake arduinojson/6.19.4 (test package): Generator cmake_find_package_multi created ArduinoJsonTarget-release.cmake arduinojson/6.19.4 (test package): Generator cmake created conanbuildinfo.cmake arduinojson/6.19.4 (test package): Generator txt created conanbuildinfo.txt arduinojson/6.19.4 (test package): Aggregating env generators arduinojson/6.19.4 (test package): Generated conaninfo.txt arduinojson/6.19.4 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8/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 arduinojson/6.19.4 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8' && 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++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8/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/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_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 -- 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++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_v1_package/build/aa812f66cc25d52e62cde1f093beffcc1fbfe3f8' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/test_package.cpp.o [100%] Linking CXX executable bin/test_package [100%] Built target test_package arduinojson/6.19.4 (test package): Running test() ----Running------ > bin/test_package ----------------- sensor: gps time: 1351824120 latitude: 48.7561 longitude: 2.30204 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/arduinojson/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/test_package.cpp:12:50: warning: ‘typename ArduinoJson6194_31::enable_if::value, const char*>::type ArduinoJson6194_31::MemberProxy::as() const [with T = char*; TObject = ArduinoJson6194_31::JsonDocument&; TStringRef = const char*; typename ArduinoJson6194_31::enable_if::value, const char*>::type = const char*]’ is deprecated: Replace as() with as() [-Wdeprecated-declarations] const char* sensor = doc["sensor"].as(); ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Document/JsonDocument.hpp:9:0, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Document/BasicJsonDocument.hpp:7, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Document/DynamicJsonDocument.hpp:7, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson.hpp:28, from /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson.h:9, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/arduinojson/all/test_package/test_package.cpp:1: /home/conan/w/prod/BuildSingleReference/.conan/data/arduinojson/6.19.4/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/ArduinoJson/Object/MemberProxy.hpp:79:7: note: declared here as() const { ^