Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code #16

Open
ghost opened this issue Sep 12, 2020 · 0 comments
Open

Code #16

ghost opened this issue Sep 12, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 12, 2020

For a real Security
Fresh install, Ubuntu 16.04
stdout log:

Scanning dependencies of target watcher_plugin
[ 95%] Building CXX object additional_plugins/9f79a1f6-ce0b-371c-9c87-15c24fbd5e6f/CMakeFiles/watcher_plugin.dir/src/watcher_plugin.cpp.o
[ 95%] Building CXX object unittests/CMakeFiles/unit_test.dir/producer_schedule_tests.cpp.o
[ 95%] Linking CXX static library libproducer_plugin.a
[ 95%] Built target producer_plugin
[ 95%] Building CXX object unittests/CMakeFiles/unit_test.dir/protocol_feature_tests.cpp.o
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:96:41: error: no member named 'receiver' in 'fc::optionaleosio::chain::action_receipt'; did you mean to
use '->' instead of '.'?
if( filter_on.find({act.receipt.receiver, act.act.name}) != filter_on.end())
^
->
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:98:46: error: no member named 'receiver' in 'fc::optionaleosio::chain::action_receipt'; did you mean to
use '->' instead of '.'?
else if( filter_on.find({act.receipt.receiver, 0}) != filter_on.end())
^
->
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:122:83: error: no member named 'receiver' in 'fc::optionaleosio::chain::action_receipt'; did you mean to
use '->' instead of '.'?
act.receipt.receiver)));
^
->
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:127:39: error: no member named 'inline_traces' in 'eosio::chain::action_trace'
for( const auto& iline : act.inline_traces ) {
~~~ ^
In file included from /root/eosio-watcher-plugin/src/watcher_plugin.cpp:5:
In file included from /root/eosio-watcher-plugin/include/eosio/watcher_plugin/watcher_plugin.hpp:6:
In file included from /root/eos/plugins/chain_plugin/../../libraries/appbase/include/appbase/application.hpp:2:
In file included from /root/eos/plugins/chain_plugin/../../libraries/appbase/include/appbase/plugin.hpp:2:
In file included from /root/src/boost_1_70_0/include/boost/program_options.hpp:15:
In file included from /root/src/boost_1_70_0/include/boost/program_options/options_description.hpp:13:
In file included from /root/src/boost_1_70_0/include/boost/program_options/value_semantic.hpp:13:
In file included from /root/src/boost_1_70_0/include/boost/function/function1.hpp:11:
In file included from /root/src/boost_1_70_0/include/boost/function/detail/maybe_include.hpp:22:
/root/src/boost_1_70_0/include/boost/function/function_template.hpp:158:33: error: no matching function for call to object of type '(lambda at
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)'
BOOST_FUNCTION_RETURN((*f)(BOOST_FUNCTION_ARGS));
^~~~
/root/src/boost_1_70_0/include/boost/function/function_template.hpp:80:36: note: expanded from macro 'BOOST_FUNCTION_RETURN'

define BOOST_FUNCTION_RETURN(X) X

                               ^

/root/src/boost_1_70_0/include/boost/function/function_template.hpp:931:53: note: in instantiation of member function
'boost::detail::function::void_function_obj_invoker1<(lambda at /root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13), void, std::tuple<const
std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &> >::invoke' requested here
{ { &manager_type::manage }, &invoker_type::invoke };
^
/root/src/boost_1_70_0/include/boost/function/function_template.hpp:720:13: note: in instantiation of function template specialization
'boost::function1<void, std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>
>::assign_to<(lambda at /root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)>' requested here
this->assign_to(f);
^
/root/src/boost_1_70_0/include/boost/function/function_template.hpp:1068:5: note: in instantiation of function template specialization
'boost::function1<void, std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>
>::function1<(lambda at /root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)>' requested here
base_type(f)
^
/root/src/boost_1_70_0/include/boost/function/function_template.hpp:1121:5: note: in instantiation of function template specialization 'boost::function<void
(std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>)>::function<(lambda at
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)>' requested here
self_type(f).swap(*this);
^
/root/src/boost_1_70_0/include/boost/signals2/detail/slot_template.hpp:160:24: note: in instantiation of function template specialization
'boost::function<void (std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction
&>)>::operator=<(lambda at /root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)>' requested here
_slot_function = detail::get_invocable_slot(f, detail::tag_type(f));
^
/root/src/boost_1_70_0/include/boost/signals2/detail/slot_template.hpp:85:9: note: in instantiation of function template specialization
'boost::signals2::slot<void (std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>),
boost::function<void (std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>)>
>::init_slot_function<(lambda at /root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)>' requested here
init_slot_function(f);
^
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13: note: in instantiation of function template specialization 'boost::signals2::slot<void
(std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>), boost::function<void
(std::tuple<const std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>)> >::slot<(lambda at
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13)>' requested here
[&](const transaction_trace_ptr& tt) {
^
/root/eosio-watcher-plugin/src/watcher_plugin.cpp:276:13: note: candidate function not viable: no known conversion from 'std::tuple<const
std::shared_ptreosio::chain::transaction_trace &, const eosio::chain::signed_transaction &>' to 'const eosio::chain::transaction_trace_ptr' (aka
'const shared_ptreosio::chain::transaction_trace') for 1st argument
5 errors generated.
additional_plugins/9f79a1f6-ce0b-371c-9c87-15c24fbd5e6f/CMakeFiles/watcher_plugin.dir/build.make:62: recipe for target 'additional_plugins/9f79a1f6-ce0b-371c-9c87-15c24fbd5e6f/CMakeFiles/watcher_plugin.dir/src/watcher_plugin.cpp.o' failed
make[2]: *** [additional_plugins/9f79a1f6-ce0b-371c-9c87-15c24fbd5e6f/CMakeFiles/watcher_plugin.dir/src/watcher_plugin.cpp.o] Error 1
CMakeFiles/Makefile2:4173: recipe for target 'additional_plugins/9f79a1f6-ce0b-371c-9c87-15c24fbd5e6f/CMakeFiles/watcher_plugin.dir/all' failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants