******************************************************************************** conan test conan-center-index/recipes/foxglove-websocket/all/test_package/conanfile.py foxglove-websocket/0.0.1@ --profile=/home/conan/w/BuildSingleReference/72368/247f664a-c433-40e4-9336-f49ec2610187/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] [build_requires] [env] foxglove-websocket/0.0.1 (test package): Installing package Requirements asio/1.21.0 from 'conan-center' - Cache foxglove-websocket/0.0.1 from local cache - Cache nlohmann_json/3.10.5 from 'conan-center' - Cache openssl/1.1.1l from 'conan-center' - Cache websocketpp/0.8.2 from 'conan-center' - Cache zlib/1.2.11 from 'conan-center' - Cache Packages asio/1.21.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache foxglove-websocket/0.0.1:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache nlohmann_json/3.10.5:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache openssl/1.1.1l:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache websocketpp/0.8.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache zlib/1.2.11:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache Installing (downloading, building) binaries... asio/1.21.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK nlohmann_json/3.10.5: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK openssl/1.1.1l: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK websocketpp/0.8.2: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK foxglove-websocket/0.0.1: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK foxglove-websocket/0.0.1 (test package): Generator cmake created conanbuildinfo.cmake foxglove-websocket/0.0.1 (test package): Generator txt created conanbuildinfo.txt foxglove-websocket/0.0.1 (test package): Aggregating env generators foxglove-websocket/0.0.1 (test package): Generated conaninfo.txt foxglove-websocket/0.0.1 (test package): Generated graphinfo Using lockfile: '/home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/build/2e073b3db4f539b3bf8bc63d12a7a1f2009106b4/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 foxglove-websocket/0.0.1 (test package): Calling build() ----Running------ > cd '/home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/build/2e073b3db4f539b3bf8bc63d12a7a1f2009106b4' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/build/2e073b3db4f539b3bf8bc63d12a7a1f2009106b4/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_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package' ----------------- -- The CXX compiler identification is GNU 7.2.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 global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/build/2e073b3db4f539b3bf8bc63d12a7a1f2009106b4 ----Running------ > cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/build/2e073b3db4f539b3bf8bc63d12a7a1f2009106b4' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 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:94: recipe for target 'CMakeFiles/test_package.dir/all' failed 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 In file included from /usr/include/c++/7/string_view:39:0, from /home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/test_package.cpp:1: /usr/include/c++/7/bits/c++17_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2017 standard. This support must be enabled with the -std=c++17 or -std=gnu++17 compiler options. #error This file requires compiler and library support \ ^~~~~ In file included from /home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/test_package.cpp:2:0: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:86:63: error: ‘std::string_view’ has not been declared void sendMessage(ChannelId chanId, uint64_t timestamp, std::string_view data); ^~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:114:34: warning: inline variables are only available with -std=c++1z or -std=gnu++1z inline const std::string Server::SUPPORTED_SUBPROTOCOL = "foxglove.websocket.v1"; ^~~~~~~~~~~~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘void foxglove::websocket::Server::handleConnectionOpened(foxglove::websocket::ConnHandle)’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:168:20: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z for (const auto& [id, channel] : _channels) { ^ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘void foxglove::websocket::Server::handleConnectionClosed(foxglove::websocket::ConnHandle)’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:191:20: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z for (const auto& [chanId, subs] : oldSubscriptionsByChannel) { ^ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘void foxglove::websocket::Server::stop()’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:210:20: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z for (const auto& [hdl, clientInfo] : _clients) { ^ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘void foxglove::websocket::Server::handleMessage(foxglove::websocket::ConnHandle, foxglove::websocket::MessagePtr)’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:308:13: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z if (const auto& subs = clientInfo.subscriptionsByChannel.find(chanId); ^~~~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘foxglove::websocket::ChannelId foxglove::websocket::Server::addChannel(foxglove::websocket::ChannelWithoutId&&)’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:340:20: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z for (const auto& [hdl, clientInfo] : _clients) { ^ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: At global scope: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:351:76: error: ‘std::string_view’ has not been declared inline void Server::sendMessage(ChannelId chanId, uint64_t timestamp, std::string_view data) { ^~~~~~~~~~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘void foxglove::websocket::Server::sendMessage(foxglove::websocket::ChannelId, uint64_t, int)’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:353:20: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z for (const auto& [hdl, client] : _clients) { ^ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:360:41: error: request for member ‘size’ in ‘data’, which is of non-class type ‘int’ message.resize(1 + 4 + 8 + data.size()); ^~~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:370:24: error: request for member ‘begin’ in ‘data’, which is of non-class type ‘int’ std::copy(data.begin(), data.end(), message.data() + 1 + 4 + 8); ^~~~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:370:38: error: request for member ‘end’ in ‘data’, which is of non-class type ‘int’ std::copy(data.begin(), data.end(), message.data() + 1 + 4 + 8); ^~~ /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp: In member function ‘bool foxglove::websocket::Server::anySubscribed(foxglove::websocket::ChannelId) const’: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/foxglove/websocket/server.hpp:382:20: warning: decomposition declaration only available with -std=c++1z or -std=gnu++1z for (const auto& [hdl, client] : _clients) { ^ make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 asio/1.21.0: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/asio/1.21.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib nlohmann_json/3.10.5: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/nlohmann_json/3.10.5/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib websocketpp/0.8.2: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/websocketpp/0.8.2/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib foxglove-websocket/0.0.1: WARN: Lib folder doesn't exist, can't collect libraries: /home/conan/w/BuildSingleReference/.conan/data/foxglove-websocket/0.0.1/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/lib ERROR: foxglove-websocket/0.0.1 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/BuildSingleReference/conan-center-index/recipes/foxglove-websocket/all/test_package/build/2e073b3db4f539b3bf8bc63d12a7a1f2009106b4' '--' '-j3'