******************************************************************************** conan test conan-center-index/recipes/bs-thread-pool/all/test_package/conanfile.py bs-thread-pool/2.0.0@#7bf53bdcb06748ab65ed297176fc0e43 -pr /home/conan/w/prod/BuildSingleReference/45613/c2a32340-ab58-4cf4-a5a5-3a3dd7237236/profile_linux_5_libstdcpp11_gcc_release_64..txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [options] [build_requires] [env] bs-thread-pool/2.0.0 (test package): Installing package Requirements bs-thread-pool/2.0.0 from local cache - Cache Packages bs-thread-pool/2.0.0:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... bs-thread-pool/2.0.0: Already installed! bs-thread-pool/2.0.0 (test package): Generator cmake created conanbuildinfo.cmake bs-thread-pool/2.0.0 (test package): Generator txt created conanbuildinfo.txt bs-thread-pool/2.0.0 (test package): Generator cmake_find_package_multi created bs-thread-pool-config-version.cmake bs-thread-pool/2.0.0 (test package): Generator cmake_find_package_multi created bs-thread-pool-config.cmake bs-thread-pool/2.0.0 (test package): Generator cmake_find_package_multi created bs-thread-poolTargets.cmake bs-thread-pool/2.0.0 (test package): Generator cmake_find_package_multi created bs-thread-poolTarget-release.cmake bs-thread-pool/2.0.0 (test package): Aggregating env generators bs-thread-pool/2.0.0 (test package): Generated conaninfo.txt bs-thread-pool/2.0.0 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f/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 bs-thread-pool/2.0.0 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package' ----------------- -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 5 -- Conan: Checking correct version: 5 -- Conan: C++ stdlib: libstdc++11 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f' '--' '-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 /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:225:70: error: ‘is_void_v’ is not a member of ‘std’ template , std::decay_t...>>>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:225:70: error: ‘is_void_v’ is not a member of ‘std’ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:225:85: error: ‘invoke_result_t’ is not a member of ‘std’ template , std::decay_t...>>>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:225:138: error: pack expansion argument for non-pack parameter ‘_Tp’ of alias template ‘template using enable_if_t = typename std::enable_if::type’ template , std::decay_t...>>>> ^ In file included from /usr/include/c++/5/bits/move.h:57:0, from /usr/include/c++/5/bits/stl_pair.h:59, from /usr/include/c++/5/bits/stl_algobase.h:64, from /usr/include/c++/5/bits/char_traits.h:39, from /usr/include/c++/5/ios:40, from /usr/include/c++/5/istream:38, from /usr/include/c++/5/fstream:38, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:6, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/type_traits:2387:24: note: declared here template ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:225:143: error: expected unqualified-id before ‘>>’ token template , std::decay_t...>>>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:261:60: error: ‘invoke_result_t’ in namespace ‘std’ does not name a template type template , std::decay_t...>, typename = std::enable_if_t>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:261:75: error: expected ‘>’ before ‘<’ token template , std::decay_t...>, typename = std::enable_if_t>> ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:314:32: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic paused = false; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:411:33: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic running = true; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:66:5: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:70:15: note: after user-defined conversion: constexpr std::atomic::atomic(bool) constexpr atomic(bool __i) noexcept : _M_base(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:416:48: error: converting to ‘std::queue >’ from initializer list would use explicit constructor ‘std::queue<_Tp, _Sequence>::queue(_Sequence&&) [with _Tp = std::function; _Sequence = std::deque, std::allocator > >]’ std::queue> tasks = {}; ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:431:37: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic tasks_total = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In member function ‘thread_pool::ui64 thread_pool::get_tasks_queued() const’: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:78:20: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock lock(queue_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In member function ‘void thread_pool::push_task(const F&)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:176:24: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock lock(queue_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In member function ‘bool thread_pool::pop_task(std::function&)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:356:20: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock lock(queue_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In member function ‘void synced_stream::print(const T& ...)’: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:463:20: error: ‘scoped_lock’ in namespace ‘std’ does not name a type const std::scoped_lock lock(stream_mutex); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:464:24: error: expected primary-expression before ‘...’ token (out_stream << ... << items); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:464:24: error: expected ‘)’ before ‘...’ token In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In function ‘ui32 count_unique_threads()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:124:3: error: ‘sort’ is not a member of ‘std’ std::sort(thread_IDs.begin(), thread_IDs.end()); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:126:14: error: ‘unique’ is not a member of ‘std’ (ui32)(std::unique(thread_IDs.begin(), thread_IDs.end()) - ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In function ‘void check_submit()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:205:58: error: no matching function for call to ‘thread_pool::submit(check_submit()::)’ auto my_future = pool.submit([&flag] { flag = true; }); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:212:73: error: no matching function for call to ‘thread_pool::submit(check_submit()::, bool*)’ auto my_future = pool.submit([](bool *flag) { *flag = true; }, &flag); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:222:35: error: no matching function for call to ‘thread_pool::submit(check_submit()::, bool*, bool*)’ &flag1, &flag2); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:232:6: error: no matching function for call to ‘thread_pool::submit(check_submit()::)’ }); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:244:14: error: no matching function for call to ‘thread_pool::submit(check_submit()::, bool*)’ &flag); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:257:23: error: no matching function for call to ‘thread_pool::submit(check_submit()::, bool*, bool*)’ &flag1, &flag2); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In function ‘void check_exceptions()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:468:72: error: no matching function for call to ‘thread_pool::submit(check_exceptions()::)’ pool.submit([] { throw std::runtime_error("Exception thrown!"); }); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: candidate: template std::future thread_pool::submit(const F&, const A& ...) std::future submit(const F &task, const A &...args) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:262:20: note: template argument deduction/substitution failed: In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In function ‘double print_speedup(const std::vector&)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:900:14: error: expected unqualified-id before ‘[’ token const auto [min_time, max_time] = ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:902:25: error: ‘max_time’ was not declared in this scope double max_speedup = *max_time / *min_time; ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:902:37: error: ‘min_time’ was not declared in this scope double max_speedup = *max_time / *min_time; ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In function ‘std::pair analyze(const std::vector&)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:923:19: error: missing template arguments before ‘(’ token return std::pair(mean, sd); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In function ‘void check_performance()’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:1079:8: error: ‘max_element’ is not a member of ‘std’ *std::max_element(std::begin(speedups), std::end(speedups)); ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘thread_pool::push_task(const F&, const A& ...):: [with F = void(std::thread::id*); A = {std::thread::id*}]’: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:193:30: required from ‘struct thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]::’ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:193:9: required from ‘void thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:122:33: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:194:19: error: variable ‘task’ has function type { task(args...); }); ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:194:19: error: variable ‘task’ has function type /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘struct thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]::’: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:193:9: required from ‘void thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:122:33: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:193:20: error: field ‘thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]::::’ invalidly declared function type push_task([task, args...] ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = long int; T2 = long int; F = check_parallelize_loop(i32, i32, const ui32&)::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:303:16: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In instantiation of ‘matrix multiply_matrices(const matrix&, const matrix&, const ui32&)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:867:53: required from here /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:699:54: error: binding ‘const ui64 {aka const long unsigned int}’ to reference of type ‘long unsigned int&’ discards qualifiers [&a, &b, &c, &a_cols = a.cols, &b_cols = b.cols](const ui64 &start, ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:699:54: error: binding ‘const ui64 {aka const long unsigned int}’ to reference of type ‘long unsigned int&’ discards qualifiers /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp: In instantiation of ‘matrix multiply_matrices(const matrix&, const matrix&, const ui32&)’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:987:60: required from here /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:699:54: error: binding ‘const ui64 {aka const long unsigned int}’ to reference of type ‘long unsigned int&’ discards qualifiers /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:699:54: error: binding ‘const ui64 {aka const long unsigned int}’ to reference of type ‘long unsigned int&’ discards qualifiers In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = long int; D = std::uniform_int_distribution; ui64 = long unsigned int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:787:7: required from ‘matrix random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = long int; D = std::uniform_int_distribution; ui64 = long unsigned int; ui32 = long unsigned int]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:849:63: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = add_matrices(const matrix&, const matrix&, const ui32&)::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:667:7: required from ‘matrix add_matrices(const matrix&, const matrix&, const ui32&)’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:853:48: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = matrix::transpose(const ui32&) const [with T = long int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:635:7: required from ‘matrix matrix::transpose(const ui32&) const [with T = long int; ui32 = long unsigned int]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:860:40: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = double; D = std::uniform_real_distribution; ui64 = long unsigned int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:787:7: required from ‘matrix random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = double; D = std::uniform_real_distribution; ui64 = long unsigned int; ui32 = long unsigned int]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:964:66: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = add_matrices(const matrix&, const matrix&, const ui32&)::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:667:7: required from ‘matrix add_matrices(const matrix&, const matrix&, const ui32&)’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:985:55: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: In instantiation of ‘void thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = matrix::transpose(const ui32&) const [with T = double; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:635:7: required from ‘matrix matrix::transpose(const ui32&) const [with T = double; ui32 = long unsigned int]’ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:986:48: required from here /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:147:44: error: use of deleted function ‘std::atomic::atomic(const std::atomic&)’ std::atomic blocks_running = 0; ^ In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:17:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /usr/include/c++/5/atomic:669:7: note: declared here atomic(const atomic&) = delete; ^ /usr/include/c++/5/atomic:673:17: note: after user-defined conversion: constexpr std::atomic::atomic(std::atomic::__integral_type) constexpr atomic(__integral_type __i) noexcept : __base_type(__i) { } ^ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/./include/thread_pool_test.hpp:12:0, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/test_package.cpp:6: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp: At global scope: /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]::]’, declared using local type ‘const thread_pool::push_task(const F&, const A& ...) [with F = void(std::thread::id*); A = {std::thread::id*}]::’, is used but never defined [-fpermissive] void push_task(const F &task) ^ /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = long int; T2 = long int; F = check_parallelize_loop(i32, i32, const ui32&)::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = long int; T2 = long int; F = check_parallelize_loop(i32, i32, const ui32&)::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = long int; D = std::uniform_int_distribution; ui64 = long unsigned int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = long int; D = std::uniform_int_distribution; ui64 = long unsigned int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = add_matrices(const matrix&, const matrix&, const ui32&)::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = add_matrices(const matrix&, const matrix&, const ui32&)::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = matrix::transpose(const ui32&) const [with T = long int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = matrix::transpose(const ui32&) const [with T = long int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = double; D = std::uniform_real_distribution; ui64 = long unsigned int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = random_matrix_generator::generate_matrix(const ui64&, const ui64&, const ui32&) [with T = double; D = std::uniform_real_distribution; ui64 = long unsigned int; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = add_matrices(const matrix&, const matrix&, const ui32&)::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = add_matrices(const matrix&, const matrix&, const ui32&)::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] /home/conan/w/prod/BuildSingleReference/.conan/data/bs-thread-pool/2.0.0/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/bs_thread_pool/thread_pool.hpp:172:10: error: ‘void thread_pool::push_task(const F&) [with F = thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = matrix::transpose(const ui32&) const [with T = double; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::]’, declared using local type ‘const thread_pool::parallelize_loop(const T1&, const T2&, const F&, thread_pool::ui32) [with T1 = int; T2 = long unsigned int; F = matrix::transpose(const ui32&) const [with T = double; ui32 = long unsigned int]::; thread_pool::ui32 = long unsigned int]::’, is used but never defined [-fpermissive] 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 ERROR: bs-thread-pool/2.0.0 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/bs-thread-pool/all/test_package/build/2da8b83836e27aacd43916b404a0e9d98f21239f' '--' '-j3'