{"body":"[ 94%] Building CXX object tests/unit_tests/CMakeFiles/unit_tests.dir/output_distribution.cpp.o\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:470:17: error: 'invoke' marked 'override' but does not override any member functions\n    virtual int invoke(int command, const span_t in, slice::bytes &out, context_t &context) override {\n                ^\n/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\n    virtual bool invoke_command_to_peer(int command, const span_t in, string_t& out, const contexts::basic& context) override {\n                 ^\n/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\n    virtual bool invoke_notify_to_peer(int command, const span_t in, const contexts::basic& context) override {\n                 ^\n/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\n    virtual bool relay_notify_to_list(int command, const span_t in, connections_t connections) override {\n                 ^\n/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]\n    virtual int invoke(int command, const span_t in, slice::bytes &out, context_t &context) override {\n                ^\n/Users/selsta/dev/monero/contrib/epee/include/net/levin_base.h:92:17: note: hidden overloaded virtual function 'epee::levin::levin_commands_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> >::invoke' declared here: type mismatch at 3rd parameter ('epee::byte_stream &' vs 'slice::bytes &' (aka 'epee::byte_slice &'))\n    virtual int invoke(int command, const epee::span<const uint8_t> in_buff, byte_stream& buff_out, t_connection_context& context)=0;\n                ^\n/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]\n    virtual bool invoke_notify_to_peer(int command, const span_t in, const contexts::basic& context) override {\n                 ^\n/Users/selsta/dev/monero/src/p2p/net_node_common.h:56:18: note: hidden overloaded virtual function 'nodetool::i_p2p_endpoint<cryptonote::cryptonote_connection_context>::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<const unsigned char>'))\n    virtual bool invoke_notify_to_peer(int command, epee::levin::message_writer message, const epee::net_utils::connection_context_base& context)=0;\n                 ^\n/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]\n    virtual bool relay_notify_to_list(int command, const span_t in, connections_t connections) override {\n                 ^\n/Users/selsta/dev/monero/src/p2p/net_node_common.h:54:18: note: hidden overloaded virtual function 'nodetool::i_p2p_endpoint<cryptonote::cryptonote_connection_context>::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<const unsigned char>'))\n    virtual bool relay_notify_to_list(int command, epee::levin::message_writer message, std::vector<std::pair<epee::net_utils::zone, boost::uuids::uuid>> connections)=0;\n                 ^\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:473:18: error: no matching function for call to 'buff_to_t_adapter'\n          return epee::net_utils::buff_to_t_adapter<void, typename messages::handshake::request, typename messages::handshake::response>(\n                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n/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\n    int buff_to_t_adapter(int command, const epee::span<const uint8_t> in_buff, byte_stream& buff_out, callback_t cb, t_context& context )\n        ^\n/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 &\n    int buff_to_t_adapter(t_owner* powner, int command, const epee::span<const uint8_t> in_buff, callback_t cb, t_context& context)\n        ^\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:486:31: error: no matching member function for call to 'handle_invoke_map'\n        return core_protocol->handle_invoke_map(false, command, in, out, context, handled);\n               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~\n/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\n    BEGIN_INVOKE_MAP2(cryptonote_protocol_handler)\n    ^\n/Users/selsta/dev/monero/contrib/epee/include/storages/levin_abstract_invoke2.h:289:34: note: expanded from macro 'BEGIN_INVOKE_MAP2'\n  template <class t_context> int handle_invoke_map(bool is_notify, int command, const epee::span<const uint8_t> in_buff, epee::byte_stream& buff_out, t_context& context, bool& handled) \\\n                                 ^\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:495:31: error: no matching member function for call to 'handle_invoke_map'\n        return core_protocol->handle_invoke_map(true, command, in, out, context, handled);\n               ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~\n/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\n    BEGIN_INVOKE_MAP2(cryptonote_protocol_handler)\n    ^\n/Users/selsta/dev/monero/contrib/epee/include/storages/levin_abstract_invoke2.h:289:34: note: expanded from macro 'BEGIN_INVOKE_MAP2'\n  template <class t_context> int handle_invoke_map(bool is_notify, int command, const epee::span<const uint8_t> in_buff, epee::byte_stream& buff_out, t_context& context, bool& handled) \\\n                                 ^\n/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<const unsigned char>') to 'epee::levin::message_writer'\n        return shared_state->invoke(command, in, out, context.m_connection_id);\n                                             ^~\n/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<const unsigned char>') to 'const epee::levin::message_writer &' for 1st argument\n    message_writer(const message_writer&) = delete;\n    ^\n/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<const unsigned char>') to 'epee::levin::message_writer &&' for 1st argument\n    message_writer(message_writer&&) = default;\n    ^\n/Users/selsta/dev/monero/contrib/epee/include/net/levin_protocol_handler_async.h:106:42: note: passing argument to parameter 'in_msg' here\n  int invoke(int command, message_writer in_msg, std::string& buff_out, boost::uuids::uuid connection_id);\n                                         ^\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:538:30: error: no member named 'notify' in 'epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::shared_state'\n        return shared_state->notify(command, in, context.m_connection_id);\n               ~~~~~~~~~~~~  ^\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:545:25: error: no member named 'notify' in 'epee::net_utils::connection<epee::levin::async_protocol_handler<nodetool::p2p_connection_context_t<cryptonote::cryptonote_connection_context> > >::shared_state'\n          shared_state->notify(command, in, e.second);\n          ~~~~~~~~~~~~  ^\n/Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:625:16: error: field type 'net_node_t' is an abstract class\n    net_node_t net_node;\n               ^\n/Users/selsta/dev/monero/contrib/epee/include/net/levin_base.h:92:17: note: unimplemented pure virtual method 'invoke' in 'net_node_t'\n    virtual int invoke(int command, const epee::span<const uint8_t> in_buff, byte_stream& buff_out, t_connection_context& context)=0;\n                ^\n/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'\n    virtual bool relay_notify_to_list(int command, epee::levin::message_writer message, std::vector<std::pair<epee::net_utils::zone, boost::uuids::uuid>> connections)=0;\n                 ^\n/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'\n    virtual bool invoke_notify_to_peer(int command, epee::levin::message_writer message, const epee::net_utils::connection_context_base& context)=0;\n                 ^\nIn file included from /Users/selsta/dev/monero/tests/unit_tests/node_server.cpp:32:\nIn file included from /Users/selsta/dev/monero/src/cryptonote_core/cryptonote_core.h:41:\nIn file included from /Users/selsta/dev/monero/src/cryptonote_protocol/cryptonote_protocol_handler_common.h:33:\nIn file included from /Users/selsta/dev/monero/src/cryptonote_protocol/cryptonote_protocol_defs.h:35:\nIn file included from /Users/selsta/dev/monero/src/cryptonote_basic/cryptonote_basic.h:41:\n/Users/selsta/dev/monero/src/serialization/binary_archive.h:200:28: warning: shift count >= width of type [-Wshift-count-overflow]\n      if (1 < sizeof(T)) v >>= 8;\n                           ^   ~\n/Users/selsta/dev/monero/src/serialization/binary_archive.h:193:5: note: in instantiation of function template specialization 'binary_archive<true>::serialize_uint<unsigned char>' requested here\n    serialize_uint(static_cast<typename boost::make_unsigned<T>::type>(v));\n    ^\n/Users/selsta/dev/monero/src/serialization/binary_archive.h:233:5: note: in instantiation of function template specialization 'binary_archive<true>::serialize_int<unsigned char>' requested here\n    serialize_int(t);\n    ^\n4 warnings and 11 errors generated.\nmake[3]: *** [tests/unit_tests/CMakeFiles/unit_tests.dir/node_server.cpp.o] Error 1\nmake[3]: *** Waiting for unfinished jobs....\nmake[2]: *** [tests/unit_tests/CMakeFiles/unit_tests.dir/all] Error 2\nmake[1]: *** [all] Error 2\nmake: *** [release-all] Error 2\n","name":"","extension":"txt","url":"https://www.irccloud.com/pastebin/SEHFPD7v","modified":1618597879,"id":"SEHFPD7v","size":11344,"lines":108,"own_paste":false,"theme":"","date":1618597879}