[HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 7.1005859375 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: ['patches/**', 'CMakeLists.txt'] [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK [HOOK - conan-center.py] pre_export(): [NO FINAL ENDLINE (KB-H041)] OK [HOOK - conan-center.py] pre_export(): [NO REQUIRES.ADD() (KB-H044)] OK [HOOK - conan-center.py] pre_export(): [DELETE OPTIONS (KB-H045)] OK [HOOK - conan-center.py] pre_export(): [NO ASCII CHARACTERS (KB-H047)] OK [HOOK - conan-center.py] pre_export(): [CMAKE VERBOSE MAKEFILE (KB-H046)] OK [HOOK - conan-center.py] pre_export(): [CMAKE VERSION REQUIRED (KB-H048)] OK [HOOK - conan-center.py] pre_export(): [CMAKE WINDOWS EXPORT ALL SYMBOLS (KB-H049)] OK [HOOK - conan-center.py] pre_export(): [DEFAULT OPTIONS AS DICTIONARY (KB-H051)] OK [HOOK - conan-center.py] pre_export(): [CONFIG.YML HAS NEW VERSION (KB-H052)] OK [HOOK - conan-center.py] pre_export(): [PRIVATE IMPORTS (KB-H053)] OK Exporting package recipe cppcommon/1.0.0.0 exports: File 'conandata.yml' found. Exporting it... cppcommon/1.0.0.0 exports: Copied 1 '.yml' file: conandata.yml cppcommon/1.0.0.0 exports_sources: Copied 1 '.patch' file: 00001-update-cmakelists.patch cppcommon/1.0.0.0 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'1.0.0.0': {'url': 'https://github.com/chronoxor/CppCommon/archive/1.0.0.0.tar.gz', 'sha256': 'd6124dd4cd430e5f10c2942ff02a95636369875b652e66a499b01f1fb3ecfd6d'}}, 'patches': {'1.0.0.0': [{'patch_file': 'patches/00001-update-cmakelists.patch', 'base_path': 'source_subfolder'}]}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: patches: 1.0.0.0: - base_path: source_subfolder patch_file: patches/00001-update-cmakelists.patch sources: 1.0.0.0: sha256: d6124dd4cd430e5f10c2942ff02a95636369875b652e66a499b01f1fb3ecfd6d url: https://github.com/chronoxor/CppCommon/archive/1.0.0.0.tar.gz [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK [HOOK - conan-center.py] post_export(): [DEFAULT SHARED OPTION VALUE (KB-H050)] OK cppcommon/1.0.0.0: The stored package has not changed cppcommon/1.0.0.0: Using the exported files summary hash as the recipe revision: 860db403f62e2011dba6a2ce99b2c093 cppcommon/1.0.0.0: Exported revision: 860db403f62e2011dba6a2ce99b2c093 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++ compiler.version=9 os=Linux os_build=Linux [options] cppcommon:shared=False [build_requires] [env] cppcommon/1.0.0.0: Forced build from source cppcommon/1.0.0.0 (test package): Installing package Requirements cppcommon/1.0.0.0 from local cache - Cache fmt/7.0.3 from 'central' - Cache Packages cppcommon/1.0.0.0:e98598522b7c484d9220bffc7ec84474515facbc - Build fmt/7.0.3:50a5030bbbb13ae56bc4be41915ecd48549cb895 - Cache Installing (downloading, building) binaries... fmt/7.0.3: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK cppcommon/1.0.0.0: Copying sources to build folder cppcommon/1.0.0.0: Building your package in /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc cppcommon/1.0.0.0: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK cppcommon/1.0.0.0: Calling build() ----Running------ > cd '/home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="/home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/package/e98598522b7c484d9220bffc7ec84474515facbc" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCPPCOMMON_MODULE="ON" -Wno-dev '/home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc' ----------------- -- The C compiler identification is GNU 9.2.1 -- The CXX compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler GCC>=5, checking major version 9 -- Conan: Checking correct version: 9 -- Conan: C++ stdlib: libstdc++ -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done 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 -- Build files have been written to: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/build_subfolder ----Running------ > cmake --build '/home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target cppcommon [ 1%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/algorithms/token_bucket.cpp.o [ 5%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/cache/filecache.cpp.o [ 5%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/common/reader.cpp.o In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:13, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:40:36: error: ‘std::wstring_view’ has not been declared 40 | static std::string ToUTF8(std::wstring_view wstr); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:49:39: error: ‘std::string_view’ has not been declared 49 | static std::wstring FromUTF8(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:56:44: error: ‘std::string_view’ has not been declared 56 | static std::u16string UTF8toUTF16(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:62:44: error: ‘std::string_view’ has not been declared 62 | static std::u32string UTF8toUTF32(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:69:41: error: ‘std::u16string_view’ has not been declared 69 | static std::string UTF16toUTF8(std::u16string_view str); | ^~~~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:75:45: error: ‘std::u16string_view’ has not been declared 75 | static std::u32string UTF16toUTF32(std::u16string_view str); | ^~~~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:82:41: error: ‘std::u32string_view’ has not been declared 82 | static std::string UTF32toUTF8(std::u32string_view str); | ^~~~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:88:45: error: ‘std::u32string_view’ has not been declared 88 | static std::u16string UTF32toUTF16(std::u32string_view str); | ^~~~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:95:42: error: ‘std::string_view’ has not been declared 95 | static std::string Base16Encode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:101:42: error: ‘std::string_view’ has not been declared 101 | static std::string Base16Decode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:108:42: error: ‘std::string_view’ has not been declared 108 | static std::string Base32Encode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:114:42: error: ‘std::string_view’ has not been declared 114 | static std::string Base32Decode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:121:42: error: ‘std::string_view’ has not been declared 121 | static std::string Base64Encode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:127:42: error: ‘std::string_view’ has not been declared 127 | static std::string Base64Decode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:134:39: error: ‘std::string_view’ has not been declared 134 | static std::string URLEncode(std::string_view str); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:140:39: error: ‘std::string_view’ has not been declared 140 | static std::string URLDecode(std::string_view str); | ^~~~~~~~~~~ [ 7%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/common/uint128.cpp.o In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h: In constructor ‘CppCommon::Path::Path(const wchar_t*)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:107:56: error: invalid conversion from ‘const wchar_t*’ to ‘int’ [-fpermissive] 107 | Path(const wchar_t* path) : _path(Encoding::ToUTF8(path)) {} | ^~~~ | | | const wchar_t* In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:13, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:40:49: note: initializing argument 1 of ‘static std::string CppCommon::Encoding::ToUTF8(int)’ 40 | static std::string ToUTF8(std::wstring_view wstr); | ~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h: In constructor ‘CppCommon::Path::Path(const wstring&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:112:61: error: cannot convert ‘const wstring’ {aka ‘const std::basic_string’} to ‘int’ 112 | Path(const std::wstring& path) : _path(Encoding::ToUTF8(path)) {} | ^~~~ | | | const wstring {aka const std::basic_string} In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:13, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:40:49: note: initializing argument 1 of ‘static std::string CppCommon::Encoding::ToUTF8(int)’ 40 | static std::string ToUTF8(std::wstring_view wstr); | ~~~~~~~~~~~~~~~~~~^~~~ In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h: In member function ‘std::wstring CppCommon::Path::wstring() const’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:152:62: error: cannot convert ‘const string’ {aka ‘const std::basic_string’} to ‘int’ 152 | std::wstring wstring() const { return Encoding::FromUTF8(_path); } | ^~~~~ | | | const string {aka const std::basic_string} In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:13, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:49:51: note: initializing argument 1 of ‘static std::wstring CppCommon::Encoding::FromUTF8(int)’ 49 | static std::wstring FromUTF8(std::string_view str); | ~~~~~~~~~~~~~~~~~^~~ [ 9%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/common/uint256.cpp.o In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h: At global scope: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:81:26: error: ‘string_view’ is not a member of ‘std’ 81 | std::pair find(const std::string& key); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:81:26: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:81:26: error: ‘string_view’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:81:26: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:81:37: error: template argument 2 is invalid 81 | std::pair find(const std::string& key); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:88:26: error: ‘string_view’ is not a member of ‘std’ 88 | std::pair find(const std::string& key, Timestamp& timeout); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:88:26: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:88:26: error: ‘string_view’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:88:26: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:88:37: error: template argument 2 is invalid 88 | std::pair find(const std::string& key, Timestamp& timeout); | ^ In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:139:18: error: ‘shared_mutex’ in namespace ‘std’ does not name a type 139 | mutable std::shared_mutex _lock; | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:139:13: note: ‘std::shared_mutex’ is only available from C++17 onwards 139 | mutable std::shared_mutex _lock; | ^~~ In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:178, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl: In member function ‘bool CppCommon::FileCache::empty() const’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:13:27: error: ‘shared_mutex’ is not a member of ‘std’ 13 | std::shared_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:13:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:13:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:13:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:13:39: error: template argument 1 is invalid 13 | std::shared_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:13:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 13 | std::shared_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl: In member function ‘size_t CppCommon::FileCache::size() const’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:19:27: error: ‘shared_mutex’ is not a member of ‘std’ 19 | std::shared_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:19:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:19:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:19:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:19:39: error: template argument 1 is invalid 19 | std::shared_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.inl:19:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 19 | std::shared_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::emplace(std::string&&, std::string&&, const CppCommon::Timespan&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:15:27: error: ‘shared_mutex’ is not a member of ‘std’ 15 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:15:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:15:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:15:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:15:39: error: template argument 1 is invalid 15 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:15:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 15 | std::unique_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::insert(const string&, const string&, const CppCommon::Timespan&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:36:27: error: ‘shared_mutex’ is not a member of ‘std’ 36 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:36:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:36:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:36:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:36:39: error: template argument 1 is invalid 36 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:36:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 36 | std::unique_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: At global scope: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:55:22: error: ‘string_view’ is not a member of ‘std’ 55 | std::pair FileCache::find(const std::string& key) | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:55:22: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:55:22: error: ‘string_view’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:55:22: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:55:33: error: template argument 2 is invalid 55 | std::pair FileCache::find(const std::string& key) | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘int CppCommon::FileCache::find(const string&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:57:27: error: ‘shared_mutex’ is not a member of ‘std’ 57 | std::shared_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:57:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:57:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:57:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:57:39: error: template argument 1 is invalid 57 | std::shared_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:57:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 57 | std::shared_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:62:43: error: ‘string_view’ is not a member of ‘std’ 62 | return std::make_pair(false, std::string_view()); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:62:43: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:64:38: error: ‘string_view’ is not a member of ‘std’ 64 | return std::make_pair(true, std::string_view(it->second.value)); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:64:38: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: At global scope: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:67:22: error: ‘string_view’ is not a member of ‘std’ 67 | std::pair FileCache::find(const std::string& key, Timestamp& timeout) | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:67:22: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:67:22: error: ‘string_view’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:67:22: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:67:33: error: template argument 2 is invalid 67 | std::pair FileCache::find(const std::string& key, Timestamp& timeout) | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘int CppCommon::FileCache::find(const string&, CppCommon::Timestamp&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:69:27: error: ‘shared_mutex’ is not a member of ‘std’ 69 | std::shared_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:69:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:69:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:69:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:69:39: error: template argument 1 is invalid 69 | std::shared_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:69:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 69 | std::shared_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:74:43: error: ‘string_view’ is not a member of ‘std’ 74 | return std::make_pair(false, std::string_view()); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:74:43: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:77:38: error: ‘string_view’ is not a member of ‘std’ 77 | return std::make_pair(true, std::string_view(it->second.value)); | ^~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:77:38: note: ‘std::string_view’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::remove(const string&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:82:27: error: ‘shared_mutex’ is not a member of ‘std’ 82 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:82:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:82:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:82:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:82:39: error: template argument 1 is invalid 82 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:82:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 82 | std::unique_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::insert_path(const CppCommon::Path&, const string&, const CppCommon::Timespan&, const InsertHandler&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:113:27: error: ‘shared_mutex’ is not a member of ‘std’ 113 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:113:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:113:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:113:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:113:39: error: template argument 1 is invalid 113 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:113:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 113 | std::unique_lock locker(_lock); | ^~~~~ | clock [ 11%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/common/writer.cpp.o /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::insert_path_internal(const CppCommon::Path&, const string&, const CppCommon::Timespan&, const InsertHandler&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:139:104: error: cannot convert ‘const string’ {aka ‘const std::basic_string’} to ‘int’ 139 | const std::string key = key_prefix + CppCommon::Encoding::URLDecode(entry.filename().string()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ | | | const string {aka const std::basic_string} In file included from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/path.h:13, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory_iterator.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/filesystem/directory.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/cache/filecache.h:12, from /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:9: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/include/string/encoding.h:140:51: note: initializing argument 1 of ‘static std::string CppCommon::Encoding::URLDecode(int)’ 140 | static std::string URLDecode(std::string_view str); | ~~~~~~~~~~~~~~~~~^~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::find_path(const CppCommon::Path&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:168:27: error: ‘shared_mutex’ is not a member of ‘std’ 168 | std::shared_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:168:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:168:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:168:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:168:39: error: template argument 1 is invalid 168 | std::shared_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:168:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 168 | std::shared_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::find_path(const CppCommon::Path&, CppCommon::Timestamp&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:180:27: error: ‘shared_mutex’ is not a member of ‘std’ 180 | std::shared_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:180:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:180:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:180:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:180:39: error: template argument 1 is invalid 180 | std::shared_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:180:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 180 | std::shared_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘bool CppCommon::FileCache::remove_path_internal(const CppCommon::Path&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:198:27: error: ‘shared_mutex’ is not a member of ‘std’ 198 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:198:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:198:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:198:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:198:39: error: template argument 1 is invalid 198 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:198:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 198 | std::unique_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘void CppCommon::FileCache::clear()’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:217:27: error: ‘shared_mutex’ is not a member of ‘std’ 217 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:217:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:217:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:217:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:217:39: error: template argument 1 is invalid 217 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:217:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 217 | std::unique_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘void CppCommon::FileCache::watchdog(const CppCommon::UtcTimestamp&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:228:27: error: ‘shared_mutex’ is not a member of ‘std’ 228 | std::unique_lock locker(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:228:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:228:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:228:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:228:39: error: template argument 1 is invalid 228 | std::unique_lock locker(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:228:48: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 228 | std::unique_lock locker(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:262:20: error: request for member ‘unlock’ in ‘locker’, which is of non-class type ‘int’ 262 | locker.unlock(); | ^~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:264:20: error: request for member ‘lock’ in ‘locker’, which is of non-class type ‘int’ 264 | locker.lock(); | ^~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp: In member function ‘void CppCommon::FileCache::swap(CppCommon::FileCache&)’: /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:275:27: error: ‘shared_mutex’ is not a member of ‘std’ 275 | std::unique_lock locker1(_lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:275:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:275:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:275:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:275:39: error: template argument 1 is invalid 275 | std::unique_lock locker1(_lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:275:49: error: ‘_lock’ was not declared in this scope; did you mean ‘clock’? 275 | std::unique_lock locker1(_lock); | ^~~~~ | clock /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:276:27: error: ‘shared_mutex’ is not a member of ‘std’ 276 | std::unique_lock locker2(cache._lock); | ^~~~~~~~~~~~ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:276:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:276:27: error: ‘shared_mutex’ is not a member of ‘std’ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:276:27: note: ‘std::shared_mutex’ is only available from C++17 onwards /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:276:39: error: template argument 1 is invalid 276 | std::unique_lock locker2(cache._lock); | ^ /home/conan/w/cci_PR-3224/.conan/data/cppcommon/1.0.0.0/_/_/build/e98598522b7c484d9220bffc7ec84474515facbc/source_subfolder/source/cache/filecache.cpp:276:55: error: ‘class CppCommon::FileCache’ has no member named ‘_lock’ 276 | std::unique_lock locker2(cache._lock); | ^~~~~ make[2]: *** [source_subfolder/CMakeFiles/cppcommon.dir/build.make:76: source_subfolder/CMakeFiles/cppcommon.dir/source/cache/filecache.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 13%] Building CXX object source_subfolder/CMakeFiles/cppcommon.dir/source/errors/exceptions.cpp.o make[1]: *** [CMakeFiles/Makefile2:94: source_subfolder/CMakeFiles/cppcommon.dir/all] Error 2 make: *** [Makefile:130: all] Error 2 cppcommon/1.0.0.0: JSON file created at '/home/conan/w/cci_PR-3224/6/0fb9b7bd-9d2b-4fc8-8f4a-c736c0cc4ae2/_create.json'