Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_1398_8_0_40/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 3.9 Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=3.9 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_1398_8_0_40/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** [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: 6.423828125 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: ['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 Exporting package recipe json-schema-validator/20190409 exports: File 'conandata.yml' found. Exporting it... json-schema-validator/20190409 exports: Copied 1 '.yml' file: conandata.yml json-schema-validator/20190409 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20190409': {'url': 'https://github.com/pboettch/json-schema-validator/archive/b28c15adea57bc9556cb00a7611536b5899dc67c.zip', 'sha256': 'd98a9a163d42294becb0137b046446995c74dfe6720446d0fcf598694aa040c0'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20190409': sha256: d98a9a163d42294becb0137b046446995c74dfe6720446d0fcf598694aa040c0 url: https://github.com/pboettch/json-schema-validator/archive/b28c15adea57bc9556cb00a7611536b5899dc67c.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK json-schema-validator/20190409: A new conanfile.py version was exported json-schema-validator/20190409: Folder: /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/export json-schema-validator/20190409: Using the exported files summary hash as the recipe revision: a145f116719f3ae819724408823faa92 json-schema-validator/20190409: Exported revision: a145f116719f3ae819724408823faa92 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=clang compiler.libcxx=libc++ compiler.version=3.9 os=Linux os_build=Linux [options] json-schema-validator:shared=True [build_requires] [env] nlohmann_json/3.7.3: Not found in local cache, looking in remotes... nlohmann_json/3.7.3: Trying with 'c3i_PR-1398_9c0943aba9e5680ac6b64b8773befac014f81a3e'... nlohmann_json/3.7.3: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz nlohmann_json/3.7.3: Downloaded recipe revision 728793a4b072ea5a734ac344fc86f2b6 json-schema-validator/20190409: Forced build from source json-schema-validator/20190409 (test package): Installing package Requirements json-schema-validator/20190409 from local cache - Cache nlohmann_json/3.7.3 from 'central' - Downloaded Packages json-schema-validator/20190409:3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1 - Build nlohmann_json/3.7.3:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... nlohmann_json/3.7.3: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz nlohmann_json/3.7.3: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 nlohmann_json/3.7.3: Downloaded package revision b19511b543fe7580727aceec2a323e7b [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK json-schema-validator/20190409: Configuring sources in /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/source Unzipping 297.4KB, this can take a while [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK json-schema-validator/20190409: Copying sources to build folder json-schema-validator/20190409: Building your package in /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1 json-schema-validator/20190409: 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 json-schema-validator/20190409: Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="clang" -DCONAN_COMPILER_VERSION="3.9" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libc++" -DBUILD_SHARED_LIBS="True" -DCMAKE_INSTALL_PREFIX="/tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/package/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1" -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" -DBUILD_TESTS="False" -DBUILD_EXAMPLES="False" -Wno-dev '/tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1' ----------------- -- The C compiler identification is Clang 3.9.1 -- The CXX compiler identification is Clang 3.9.1 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- 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/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- 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: Checking correct version: 3.9 -- Conan: C++ stdlib: libc++ -- /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/build_subfolder/source_subfolder -- Found nlohmann/json.hpp in given path: /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include -- 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: /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/build_subfolder ----Running------ > cmake --build '/tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target nlohmann_json_schema_validator [ 16%] Building CXX object source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/json-schema-draft7.json.cpp.o [ 33%] Building CXX object source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/json-uri.cpp.o [ 50%] Building CXX object source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/json-validator.cpp.o [ 66%] Building CXX object source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/json-patch.cpp.o In file included from /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/source_subfolder/src/json-validator.cpp:9: In file included from /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/source_subfolder/src/nlohmann/json-schema.hpp:24: In file included from /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/nlohmann/json.hpp:37: In file included from /usr/include/c++/v1/algorithm:634: In file included from /usr/include/c++/v1/memory:610: /usr/include/c++/v1/tuple:198:73: error: reference to type 'nlohmann::basic_json, bool, long, unsigned long, double, std::allocator, adl_serializer>' requires an initializer _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) : value() ^ /usr/include/c++/v1/type_traits:2907:38: note: in instantiation of member function 'std::__1::__tuple_leaf<0, nlohmann::basic_json, bool, long, unsigned long, double, std::allocator, adl_serializer> &, false>::__tuple_leaf' requested here : public integral_constant ^ /usr/include/c++/v1/type_traits:3216:14: note: in instantiation of template class 'std::__1::is_constructible, bool, long, unsigned long, double, std::allocator, adl_serializer> &, false>>' requested here : public is_constructible<_Tp> ^ /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/nlohmann/json.hpp:2727:10: note: in instantiation of template class 'std::__1::is_default_constructible, bool, long, unsigned long, double, std::allocator, adl_serializer> &, false> >' requested here std::is_default_constructible::value and ^ [ 83%] Building CXX object source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/string-format-check.cpp.o /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/nlohmann/json.hpp:2753:7: note: during template argument deduction for class template partial specialization 'is_constructible_array_type_impl::value && std::is_default_constructible::value && (std::is_move_assignable::value || std::is_copy_assignable::value) && is_detected::value && is_detected::value && is_complete_type >::value, void>::type>' [with BasicJsonType = nlohmann::basic_json, bool, long, unsigned long, double, std::allocator, adl_serializer>, ConstructibleArrayType = std::__1::__tuple_leaf<0, nlohmann::basic_json, bool, long, unsigned long, double, std::allocator, adl_serializer> &, false>] : is_constructible_array_type_impl {}; ^ /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/nlohmann/json.hpp:3099:15: note: in instantiation of template class 'nlohmann::detail::is_constructible_array_type, bool, long, unsigned long, double, std::allocator, adl_serializer>, std::__1::__tuple_leaf<0, nlohmann::basic_json, bool, long, unsigned long, double, std::allocator, adl_serializer> &, false> >' requested here is_constructible_array_type::value and ^ /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/nlohmann/json.hpp:3105:6: note: (skipping 17 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all) auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr) ^ /usr/include/c++/v1/tuple:1117:12: note: in instantiation of function template specialization 'std::__1::tuple, bool, long, unsigned long, double, std::allocator, adl_serializer> &, nlohmann::json_schema::root_schema *&, const std::__1::vector > &>::tuple' requested here return tuple<_Tp&&...>(_VSTD::forward<_Tp>(__t)...); ^ /usr/include/c++/v1/memory:3808:27: note: in instantiation of function template specialization 'std::__1::forward_as_tuple, bool, long, unsigned long, double, std::allocator, adl_serializer> &, nlohmann::json_schema::root_schema *&, const std::__1::vector > &>' requested here _VSTD::forward_as_tuple(_VSTD::forward<_Args>(__args)...)) {} ^ /usr/include/c++/v1/memory:4423:26: note: in instantiation of function template specialization 'std::__1::__shared_ptr_emplace<(anonymous namespace)::logical_not, std::__1::allocator<(anonymous namespace)::logical_not> >::__shared_ptr_emplace, bool, long, unsigned long, double, std::allocator, adl_serializer> &, nlohmann::json_schema::root_schema *&, const std::__1::vector > &>' requested here ::new(__hold2.get()) _CntrlBlk(__a2, _VSTD::forward<_Args>(__args)...); ^ /usr/include/c++/v1/memory:4787:29: note: in instantiation of function template specialization 'std::__1::shared_ptr<(anonymous namespace)::logical_not>::make_shared, bool, long, unsigned long, double, std::allocator, adl_serializer> &, nlohmann::json_schema::root_schema *&, const std::__1::vector > &>' requested here return shared_ptr<_Tp>::make_shared(_VSTD::forward<_Args>(__args)...); ^ /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/source_subfolder/src/json-validator.cpp:534:26: note: in instantiation of function template specialization 'std::__1::make_shared<(anonymous namespace)::logical_not, nlohmann::basic_json, bool, long, unsigned long, double, std::allocator, adl_serializer> &, nlohmann::json_schema::root_schema *&, const std::__1::vector > &>' requested here logic_.push_back(std::make_shared(attr.value(), root, uris)); ^ In file included from /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/source_subfolder/src/json-validator.cpp:9: In file included from /tmp/c3ipr/pr_1398_8_0_40/.conan/data/json-schema-validator/20190409/_/_/build/3335c8ae84cce001a3ae41a5cf0fb15bb67dc1d1/source_subfolder/src/nlohmann/json-schema.hpp:24: In file included from /tmp/c3ipr/pr_1398_8_0_40/.conan/data/nlohmann_json/3.7.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/nlohmann/json.hpp:37: In file included from /usr/include/c++/v1/algorithm:634: In file included from /usr/include/c++/v1/memory:610: /usr/include/c++/v1/tuple:199:9: error: static_assert failed "Attempted to default construct a reference element in a tuple" {static_assert(!is_reference<_Hp>::value, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/build.make:88: recipe for target 'source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/json-validator.cpp.o' failed make[2]: *** [source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/src/json-validator.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:93: recipe for target 'source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/all' failed make[1]: *** [source_subfolder/CMakeFiles/nlohmann_json_schema_validator.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 json-schema-validator/20190409: JSON file created at '/tmp/c3ipr/pr_1398_8_0_40/_create.json'