# Pastebin SEHFPD7v [ 94%] Building CXX object tests/unit_tests/CMakeFiles/unit_tests.dir/output_distribution.cpp.o /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:470:17: error: 'invoke' marked 'override' but does not override any member functions virtual int invoke(int command, const span_t in, slice::bytes &out, context_t &context) override { ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:530:18: error: 'invoke_command_to_peer' marked 'override' but does not override any member functions virtual bool invoke_command_to_peer(int command, const span_t in, string_t& out, const contexts::basic& context) override { ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:536:18: error: 'invoke_notify_to_peer' marked 'override' but does not override any member functions virtual bool invoke_notify_to_peer(int command, const span_t in, const contexts::basic& context) override { ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:542:18: error: 'relay_notify_to_list' marked 'override' but does not override any member functions virtual bool relay_notify_to_list(int command, const span_t in, connections_t connections) override { ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:470:17: warning: 'cryptonote_protocol_handler_race_condition_Test::TestBody()::net_node_t::invoke' hides overloaded virtual function [-Woverloaded-virtual] virtual int invoke(int command, const span_t in, slice::bytes &out, context_t &context) override { ^ /Users/selsta/dev/monero/contrib/epee/include/net/levin_base.h:92:17: note: hidden overloaded virtual function 'epee::levin::levin_commands_handler >::invoke' declared here: type mismatch at 3rd parameter ('epee::byte_stream &' vs 'slice::bytes &' (aka 'epee::byte_slice &')) virtual int invoke(int command, const epee::span in_buff, byte_stream& buff_out, t_connection_context& context)=0; ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:536:18: warning: 'cryptonote_protocol_handler_race_condition_Test::TestBody()::net_node_t::invoke_notify_to_peer' hides overloaded virtual function [-Woverloaded-virtual] virtual bool invoke_notify_to_peer(int command, const span_t in, const contexts::basic& context) override { ^ /Users/selsta/dev/monero/src/p2p/net_node_common.h:56:18: note: hidden overloaded virtual function 'nodetool::i_p2p_endpoint::invoke_notify_to_peer' declared here: type mismatch at 2nd parameter ('epee::levin::message_writer' vs 'const net_node_t::span_t' (aka 'const span')) virtual bool invoke_notify_to_peer(int command, epee::levin::message_writer message, const epee::net_utils::connection_context_base& context)=0; ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:542:18: warning: 'cryptonote_protocol_handler_race_condition_Test::TestBody()::net_node_t::relay_notify_to_list' hides overloaded virtual function [-Woverloaded-virtual] virtual bool relay_notify_to_list(int command, const span_t in, connections_t connections) override { ^ /Users/selsta/dev/monero/src/p2p/net_node_common.h:54:18: note: hidden overloaded virtual function 'nodetool::i_p2p_endpoint::relay_notify_to_list' declared here: type mismatch at 2nd parameter ('epee::levin::message_writer' vs 'const net_node_t::span_t' (aka 'const span')) virtual bool relay_notify_to_list(int command, epee::levin::message_writer message, std::vector> connections)=0; ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:473:18: error: no matching function for call to 'buff_to_t_adapter' return epee::net_utils::buff_to_t_adapter( ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/selsta/dev/monero/contrib/epee/include/storages/levin_abstract_invoke2.h:200:9: note: candidate function template not viable: no known conversion from 'slice::bytes' (aka 'epee::byte_slice') to 'epee::byte_stream &' for 3rd argument int buff_to_t_adapter(int command, const epee::span in_buff, byte_stream& buff_out, callback_t cb, t_context& context ) ^ /Users/selsta/dev/monero/contrib/epee/include/storages/levin_abstract_invoke2.h:233:9: note: candidate function template not viable: no known conversion from 'int' to 'void *' for 1st argument; take the address of the argument with & int buff_to_t_adapter(t_owner* powner, int command, const epee::span in_buff, callback_t cb, t_context& context) ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:486:31: error: no matching member function for call to 'handle_invoke_map' return core_protocol->handle_invoke_map(false, command, in, out, context, handled); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /Users/selsta/dev/monero/src/cryptonote_protocol/cryptonote_protocol_handler.h:88:5: note: candidate function template not viable: no known conversion from 'slice::bytes' (aka 'epee::byte_slice') to 'epee::byte_stream &' for 4th argument BEGIN_INVOKE_MAP2(cryptonote_protocol_handler) ^ /Users/selsta/dev/monero/contrib/epee/include/storages/levin_abstract_invoke2.h:289:34: note: expanded from macro 'BEGIN_INVOKE_MAP2' template int handle_invoke_map(bool is_notify, int command, const epee::span in_buff, epee::byte_stream& buff_out, t_context& context, bool& handled) \ ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:495:31: error: no matching member function for call to 'handle_invoke_map' return core_protocol->handle_invoke_map(true, command, in, out, context, handled); ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /Users/selsta/dev/monero/src/cryptonote_protocol/cryptonote_protocol_handler.h:88:5: note: candidate function template not viable: no known conversion from 'slice::bytes' (aka 'epee::byte_slice') to 'epee::byte_stream &' for 4th argument BEGIN_INVOKE_MAP2(cryptonote_protocol_handler) ^ /Users/selsta/dev/monero/contrib/epee/include/storages/levin_abstract_invoke2.h:289:34: note: expanded from macro 'BEGIN_INVOKE_MAP2' template int handle_invoke_map(bool is_notify, int command, const epee::span in_buff, epee::byte_stream& buff_out, t_context& context, bool& handled) \ ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:532:46: error: no viable conversion from 'const net_node_t::span_t' (aka 'const span') to 'epee::levin::message_writer' return shared_state->invoke(command, in, out, context.m_connection_id); ^~ /Users/selsta/dev/monero/contrib/epee/include/net/levin_base.h:139:5: note: candidate constructor not viable: no known conversion from 'const net_node_t::span_t' (aka 'const span') to 'const epee::levin::message_writer &' for 1st argument message_writer(const message_writer&) = delete; ^ /Users/selsta/dev/monero/contrib/epee/include/net/levin_base.h:140:5: note: candidate constructor not viable: no known conversion from 'const net_node_t::span_t' (aka 'const span') to 'epee::levin::message_writer &&' for 1st argument message_writer(message_writer&&) = default; ^ /Users/selsta/dev/monero/contrib/epee/include/net/levin_protocol_handler_async.h:106:42: note: passing argument to parameter 'in_msg' here int invoke(int command, message_writer in_msg, std::string& buff_out, boost::uuids::uuid connection_id); ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:538:30: error: no member named 'notify' in 'epee::net_utils::connection > >::shared_state' return shared_state->notify(command, in, context.m_connection_id); ~~~~~~~~~~~~ ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:545:25: error: no member named 'notify' in 'epee::net_utils::connection > >::shared_state' shared_state->notify(command, in, e.second); ~~~~~~~~~~~~ ^ /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:625:16: error: field type 'net_node_t' is an abstract class net_node_t net_node; ^ /Users/selsta/dev/monero/contrib/epee/include/net/levin_base.h:92:17: note: unimplemented pure virtual method 'invoke' in 'net_node_t' virtual int invoke(int command, const epee::span in_buff, byte_stream& buff_out, t_connection_context& context)=0; ^ /Users/selsta/dev/monero/src/p2p/net_node_common.h:54:18: note: unimplemented pure virtual method 'relay_notify_to_list' in 'net_node_t' virtual bool relay_notify_to_list(int command, epee::levin::message_writer message, std::vector> connections)=0; ^ /Users/selsta/dev/monero/src/p2p/net_node_common.h:56:18: note: unimplemented pure virtual method 'invoke_notify_to_peer' in 'net_node_t' virtual bool invoke_notify_to_peer(int command, epee::levin::message_writer message, const epee::net_utils::connection_context_base& context)=0; ^ In file included from /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:32: In file included from /Users/selsta/dev/monero/src/cryptonote_core/cryptonote_core.h:41: In file included from /Users/selsta/dev/monero/src/cryptonote_protocol/cryptonote_protocol_handler_common.h:33: In file included from /Users/selsta/dev/monero/src/cryptonote_protocol/cryptonote_protocol_defs.h:35: In file included from /Users/selsta/dev/monero/src/cryptonote_basic/cryptonote_basic.h:41: /Users/selsta/dev/monero/src/serialization/binary_archive.h:200:28: warning: shift count >= width of type [-Wshift-count-overflow] if (1 < sizeof(T)) v >>= 8; ^ ~ /Users/selsta/dev/monero/src/serialization/binary_archive.h:193:5: note: in instantiation of function template specialization 'binary_archive::serialize_uint' requested here serialize_uint(static_cast::type>(v)); ^ /Users/selsta/dev/monero/src/serialization/binary_archive.h:233:5: note: in instantiation of function template specialization 'binary_archive::serialize_int' requested here serialize_int(t); ^ 4 warnings and 11 errors generated. make[3]: *** [tests/unit_tests/CMakeFiles/unit_tests.dir/node_server.cpp.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [tests/unit_tests/CMakeFiles/unit_tests.dir/all] Error 2 make[1]: *** [all] Error 2 make: *** [release-all] Error 2