******************************************************************************** conan test cci-ce8d9de1/recipes/libqasm/all/test_package/conanfile.py libqasm/0.6.4@#61a805b8519c4ae28f0f008f397d2dfd -pr /home/conan/workspace/prod-v1/bsr/30834/eeaeb/profile_linux_13_libcpp_clang_release_64.libqasm-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/workspace/prod-v1/bsr/30834/cbadf/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 13.0 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=13 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/workspace/prod-v1/bsr/30834/cbadf/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libc++ compiler.version=13 os=Linux [options] libqasm:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True fmt/10.2.1: Not found in local cache, looking in remotes... fmt/10.2.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz fmt/10.2.1: Downloaded recipe revision 9199a7a0611866dea5c8849a77467b25 range-v3/0.12.0: Not found in local cache, looking in remotes... range-v3/0.12.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz range-v3/0.12.0: Downloaded recipe revision 4c05d91d7b40e6b91b44b5345ac64408 tree-gen/1.0.7: Not found in local cache, looking in remotes... tree-gen/1.0.7: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz tree-gen/1.0.7: Downloaded recipe revision 67f46698a518323751cd76e1b8b03f6a antlr4-cppruntime/4.13.1: Not found in local cache, looking in remotes... antlr4-cppruntime/4.13.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz antlr4-cppruntime/4.13.1: Downloaded recipe revision a173ea06e501a0f833003e679d5f3fb4 libqasm/0.6.4 (test package): Installing package Requirements antlr4-cppruntime/4.13.1 from 'conan-center' - Downloaded fmt/10.2.1 from 'conan-center' - Downloaded libqasm/0.6.4 from local cache - Cache range-v3/0.12.0 from 'conan-center' - Downloaded tree-gen/1.0.7 from 'conan-center' - Downloaded Packages antlr4-cppruntime/4.13.1:5ff5c28500993ef8e3801901fe5ce2891dde0858 - Download fmt/10.2.1:425520cd3d52bc8dfea7013ac3c402455eea4a71 - Download libqasm/0.6.4:474ef0fdb20c6edc9f88a3e718be8a5c9998421a - Download range-v3/0.12.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download tree-gen/1.0.7:bc42e6600df3e12b4566c588bc062862ea7d5c12 - Download Installing (downloading, building) binaries... antlr4-cppruntime/4.13.1: Retrieving package 5ff5c28500993ef8e3801901fe5ce2891dde0858 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz antlr4-cppruntime/4.13.1: Package installed 5ff5c28500993ef8e3801901fe5ce2891dde0858 antlr4-cppruntime/4.13.1: Downloaded package revision 6386e8246485ddf7a738130d0642baa8 fmt/10.2.1: Retrieving package 425520cd3d52bc8dfea7013ac3c402455eea4a71 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz fmt/10.2.1: Package installed 425520cd3d52bc8dfea7013ac3c402455eea4a71 fmt/10.2.1: Downloaded package revision d22f00bb8c9cd4a2cd5b9e556f96b5f3 range-v3/0.12.0: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz range-v3/0.12.0: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 range-v3/0.12.0: Downloaded package revision 271b73c5ee4544d49503413fe72c1f85 tree-gen/1.0.7: Retrieving package bc42e6600df3e12b4566c588bc062862ea7d5c12 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz tree-gen/1.0.7: Package installed bc42e6600df3e12b4566c588bc062862ea7d5c12 tree-gen/1.0.7: Downloaded package revision d3fcc48093d3b7d6b6c53772914ecf01 libqasm/0.6.4: Retrieving package 474ef0fdb20c6edc9f88a3e718be8a5c9998421a from remote 'c3i_PR-17719' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libqasm/0.6.4: Package installed 474ef0fdb20c6edc9f88a3e718be8a5c9998421a libqasm/0.6.4: Downloaded package revision ddf75c614d4de34a4902722e350e363c libqasm/0.6.4 (test package): Generator 'CMakeToolchain' calling 'generate()' libqasm/0.6.4 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' libqasm/0.6.4 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' libqasm/0.6.4 (test package): Generator txt created conanbuildinfo.txt libqasm/0.6.4 (test package): Generator 'CMakeDeps' calling 'generate()' libqasm/0.6.4 (test package): Generator 'VirtualRunEnv' calling 'generate()' libqasm/0.6.4 (test package): Aggregating env generators libqasm/0.6.4 (test package): Generated conaninfo.txt libqasm/0.6.4 (test package): Generated graphinfo Using lockfile: '/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release/generators/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 libqasm/0.6.4 (test package): Calling build() libqasm/0.6.4 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is Clang 13.0.1 -- Check for working CXX compiler: /usr/local/bin/clang++ -- Check for working CXX compiler: /usr/local/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'libqasm::libqasm' -- Conan: Component target declared 'fmt::fmt' -- Conan: Component target declared 'range-v3::range-v3-meta' -- Conan: Component target declared 'range-v3::range-v3-concepts' -- Conan: Target declared 'range-v3::range-v3' -- Conan: Target declared 'tree-gen::tree-gen' -- Conan: Including build module from '/home/conan/workspace/prod-v1/bsr/30834/cbadf/.conan/data/tree-gen/1.0.7/_/_/package/bc42e6600df3e12b4566c588bc062862ea7d5c12/lib/cmake/generate_tree.cmake' -- Conan: Target declared 'antlr4_shared' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release libqasm/0.6.4 (test package): CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/src/test_package.cpp.o [100%] Linking CXX executable test_package [100%] Built target test_package libqasm/0.6.4 (test package): Running test() ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-ce8d9de1/recipes/libqasm/all/test_package/build/Release/generators/conanrun.sh" && ./test_package ----------------- {"Program":{"api_version":"3.0","version":{"Version":{"items":"3.0"}},"qubit_variable_declaration":{"Variable":{"name":"q","typ":{"QubitArray":{"size":"2"}},"annotations":"[]"}},"block":{"Block":{"statements":[{"Instruction":{"instruction_ref":"H(qubit)","name":"H","operands":[{"IndexRef":{"variable":{"Variable":{"name":"q","typ":{"QubitArray":{"size":"2"}},"annotations":"[]"}},"indices":[{"ConstInt":{"value":"0"}}]}}],"annotations":"[]"}},{"Instruction":{"instruction_ref":"CNOT(qubit, qubit)","name":"CNOT","operands":[{"IndexRef":{"variable":{"Variable":{"name":"q","typ":{"QubitArray":{"size":"2"}},"annotations":"[]"}},"indices":[{"ConstInt":{"value":"0"}}]}},{"IndexRef":{"variable":{"Variable":{"name":"q","typ":{"QubitArray":{"size":"2"}},"annotations":"[]"}},"indices":[{"ConstInt":{"value":"1"}}]}}],"annotations":"[]"}},{"Instruction":{"instruction_ref":"measure(qubit array)","name":"measure","operands":[{"VariableRef":{"variable":{"Variable":{"name":"q","typ":{"QubitArray":{"size":"2"}},"annotations":"[]"}}}}],"annotations":"[]"}}]}}}}CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 *** libqasm/0.6.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 libqasm/0.6.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