- [ 86%] Building CXX object CMakeFiles/unittests.elf.dir/src/rpc/rpc.cpp.o
- In file included from /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:2:0:
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:21:32: error: ?std::function? has not been declared
- void test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)>);
- ^~~~~~~~
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:21:40: error: expected ?,? or ?...? before ?<? token
- void test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)>);
- ^
- In file included from /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:2:0:
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:34:78: error: variable or field ?test_buffer_size? declared void
- void crypto_test<F, max_buff_size, max_threads_count>::test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)> init_buffer_lambda)
- ^~~~~~~~
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:34:78: error: ?function? is not a member of ?std?
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:34:78: note: suggested alternative: ?is_function?
- void crypto_test<F, max_buff_size, max_threads_count>::test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)> init_buffer_lambda)
- ^~~~~~~~
- is_function
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:34:87: error: expected primary-expression before ?void?
- void crypto_test<F, max_buff_size, max_threads_count>::test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)> init_buffer_lambda)
- ^~~~
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp: In function ?int sodium_tests_main()?:
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:23:124: error: invalid user-defined conversion from ?sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>? to ?int? [-fpermissive]
- crypt.test_buffer_size([](unsigned char* buff, unsigned char*, size_t size, size_t){std::fill_n(buff, size, 0xfd);});
- ^
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:23:91: note: candidate is: sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>::operator void (*)(unsigned char*, unsigned char*, size_t, size_t)() const <near match>
- crypt.test_buffer_size([](unsigned char* buff, unsigned char*, size_t size, size_t){std::fill_n(buff, size, 0xfd);});
- ^
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:23:91: note: no known conversion from ?void (*)(unsigned char*, unsigned char*, size_t, size_t) {aka void (*)(unsigned char*, unsigned char*, long unsigned int, long unsigned int)}? to ?int?
- In file included from /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:2:0:
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:21:10: note: initializing argument 1 of ?void crypto_test<F, max_buff_size, max_threads_count>::test_buffer_size(int) [with F = sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>; long unsigned int max_buff_size = 65536; long unsigned int max_threads_count = 16]?
- void test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)>);
- ^~~~~~~~~~~~~~~~
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:40:44: error: no matching function for call to ?crypto_test<sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)> >::test_buffer_size(sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>&)?
- crypt.test_buffer_size(init_buffers);
- ^
- In file included from /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.cpp:2:0:
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:21:10: note: candidate: void crypto_test<F, max_buff_size, max_threads_count>::test_buffer_size(int) [with F = sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>; long unsigned int max_buff_size = 65536; long unsigned int max_threads_count = 16]
- void test_buffer_size(std::function<void(unsigned char*, unsigned char*, size_t, size_t)>);
- ^~~~~~~~~~~~~~~~
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:21:10: note: no known conversion for argument 1 from ?sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>? to ?int?
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp: At global scope:
- /home/srv_galaxy/galaxy42/src-tools/netmodel/crypto_bench/sodium_tests.hpp:21:10: warning: ?void crypto_test<F, max_buff_size, max_threads_count>::test_buffer_size(int) [with F = sodium_tests_main()::<lambda(unsigned char*, unsigned char*, size_t, size_t)>; long unsigned int max_buff_size = 65536; long unsigned int max_threads_count = 16]? used but never defined
- CMakeFiles/unittests.elf.dir/build.make:1958: recipe for target 'CMakeFiles/unittests.elf.dir/src-tools/netmodel/crypto_bench/sodium_tests.cpp.o' failed
- make[2]: *** [CMakeFiles/unittests.elf.dir/src-tools/netmodel/crypto_bench/sodium_tests.cpp.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- CMakeFiles/Makefile2:134: recipe for target 'CMakeFiles/unittests.elf.dir/all' failed
- make[1]: *** [CMakeFiles/unittests.elf.dir/all] Error 2
- Makefile:129: recipe for target 'all' failed
- make: *** [all] Error 2
- + fail 'Error: the Make build failed - look above for any other warnings, and read FAQ section in the README.md'
- + set +x