VIZ-Blockchain / viz-cpp-node

VIZ C++ node
Other
14 stars 5 forks source link

Mongo build broken #71

Open bitphage opened 4 years ago

bitphage commented 4 years ago
[ 95%] Building CXX object plugins/tags/CMakeFiles/graphene_tags.dir/discussion_query.cpp.o
In file included from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/types.hpp:20:0,
                 from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/base.hpp:3,
                 from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/block_header.hpp:3,
                 from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/block.hpp:3,
                 from /usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_writer.hpp:2,
                 from /usr/local/src/viz/plugins/mongo_db/mongo_db_writer.cpp:1:
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp: In instantiation of ‘static typename visitor::result_type fc::impl::storage_ops<N, T, Ts ...>::apply(int, const void*, visitor&) [with visitor = graphene::plugins::mongo_db::state_writer; int N = 35; T = graphene::protocol::committee_worker_create_request_operation; Ts = {graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = void]’:
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:126:60:   recursively required from ‘static typename visitor::result_type fc::impl::storage_ops<N, T, Ts ...>::apply(int, const void*, visitor&) [with visitor = graphene::plugins::mongo_db::state_writer; int N = 1; T = graphene::protocol::content_operation; Ts = {graphene::protocol::transfer_operation, graphene::protocol::transfer_to_vesting_operation, graphene::protocol::withdraw_vesting_operation, graphene::protocol::account_update_operation, graphene::protocol::witness_update_operation, graphene::protocol::account_witness_vote_operation, graphene::protocol::account_witness_proxy_operation, graphene::protocol::delete_content_operation, graphene::protocol::custom_operation, graphene::protocol::set_withdraw_vesting_route_operation, graphene::protocol::request_account_recovery_operation, graphene::protocol::recover_account_operation, graphene::protocol::change_recovery_account_operation, graphene::protocol::escrow_transfer_operation, graphene::protocol::escrow_dispute_operation, graphene::protocol::escrow_release_operation, graphene::protocol::escrow_approve_operation, graphene::protocol::delegate_vesting_shares_operation, graphene::protocol::account_create_operation, graphene::protocol::account_metadata_operation, graphene::protocol::proposal_create_operation, graphene::protocol::proposal_update_operation, graphene::protocol::proposal_delete_operation, graphene::protocol::chain_properties_update_operation, graphene::protocol::author_reward_operation, graphene::protocol::curation_reward_operation, graphene::protocol::content_reward_operation, graphene::protocol::fill_vesting_withdraw_operation, graphene::protocol::shutdown_witness_operation, graphene::protocol::hardfork_operation, graphene::protocol::content_payout_update_operation, graphene::protocol::content_benefactor_reward_operation, graphene::protocol::return_vesting_delegation_operation, graphene::protocol::committee_worker_create_request_operation, graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = void]’
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:126:60:   required from ‘static typename visitor::result_type fc::impl::storage_ops<N, T, Ts ...>::apply(int, const void*, visitor&) [with visitor = graphene::plugins::mongo_db::state_writer; int N = 0; T = graphene::protocol::vote_operation; Ts = {graphene::protocol::content_operation, graphene::protocol::transfer_operation, graphene::protocol::transfer_to_vesting_operation, graphene::protocol::withdraw_vesting_operation, graphene::protocol::account_update_operation, graphene::protocol::witness_update_operation, graphene::protocol::account_witness_vote_operation, graphene::protocol::account_witness_proxy_operation, graphene::protocol::delete_content_operation, graphene::protocol::custom_operation, graphene::protocol::set_withdraw_vesting_route_operation, graphene::protocol::request_account_recovery_operation, graphene::protocol::recover_account_operation, graphene::protocol::change_recovery_account_operation, graphene::protocol::escrow_transfer_operation, graphene::protocol::escrow_dispute_operation, graphene::protocol::escrow_release_operation, graphene::protocol::escrow_approve_operation, graphene::protocol::delegate_vesting_shares_operation, graphene::protocol::account_create_operation, graphene::protocol::account_metadata_operation, graphene::protocol::proposal_create_operation, graphene::protocol::proposal_update_operation, graphene::protocol::proposal_delete_operation, graphene::protocol::chain_properties_update_operation, graphene::protocol::author_reward_operation, graphene::protocol::curation_reward_operation, graphene::protocol::content_reward_operation, graphene::protocol::fill_vesting_withdraw_operation, graphene::protocol::shutdown_witness_operation, graphene::protocol::hardfork_operation, graphene::protocol::content_payout_update_operation, graphene::protocol::content_benefactor_reward_operation, graphene::protocol::return_vesting_delegation_operation, graphene::protocol::committee_worker_create_request_operation, graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = void]’
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:346:57:   required from ‘typename visitor::result_type fc::static_variant<Types>::visit(visitor&) const [with visitor = graphene::plugins::mongo_db::state_writer; Types = {graphene::protocol::vote_operation, graphene::protocol::content_operation, graphene::protocol::transfer_operation, graphene::protocol::transfer_to_vesting_operation, graphene::protocol::withdraw_vesting_operation, graphene::protocol::account_update_operation, graphene::protocol::witness_update_operation, graphene::protocol::account_witness_vote_operation, graphene::protocol::account_witness_proxy_operation, graphene::protocol::delete_content_operation, graphene::protocol::custom_operation, graphene::protocol::set_withdraw_vesting_route_operation, graphene::protocol::request_account_recovery_operation, graphene::protocol::recover_account_operation, graphene::protocol::change_recovery_account_operation, graphene::protocol::escrow_transfer_operation, graphene::protocol::escrow_dispute_operation, graphene::protocol::escrow_release_operation, graphene::protocol::escrow_approve_operation, graphene::protocol::delegate_vesting_shares_operation, graphene::protocol::account_create_operation, graphene::protocol::account_metadata_operation, graphene::protocol::proposal_create_operation, graphene::protocol::proposal_update_operation, graphene::protocol::proposal_delete_operation, graphene::protocol::chain_properties_update_operation, graphene::protocol::author_reward_operation, graphene::protocol::curation_reward_operation, graphene::protocol::content_reward_operation, graphene::protocol::fill_vesting_withdraw_operation, graphene::protocol::shutdown_witness_operation, graphene::protocol::hardfork_operation, graphene::protocol::content_payout_update_operation, graphene::protocol::content_benefactor_reward_operation, graphene::protocol::return_vesting_delegation_operation, graphene::protocol::committee_worker_create_request_operation, graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = void]’
/usr/local/src/viz/plugins/mongo_db/mongo_db_writer.cpp:95:51:   required from here
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:124:29: error: no match for call to ‘(graphene::plugins::mongo_db::state_writer) (const graphene::protocol::committee_worker_create_request_operation&)’
                     return v(*reinterpret_cast<const T *>(data));
                             ^
In file included from /usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_writer.hpp:8:0,
                 from /usr/local/src/viz/plugins/mongo_db/mongo_db_writer.cpp:1:
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:25:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::vote_operation&)
         result_type operator()(const vote_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:25:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::vote_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:26:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::content_operation&)
         result_type operator()(const content_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:26:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:27:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::transfer_operation&)
         result_type operator()(const transfer_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:27:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::transfer_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:28:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::transfer_to_vesting_operation&)
         result_type operator()(const transfer_to_vesting_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:28:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::transfer_to_vesting_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:29:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::withdraw_vesting_operation&)
         result_type operator()(const withdraw_vesting_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:29:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::withdraw_vesting_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:30:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::account_update_operation&)
         result_type operator()(const account_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:30:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:31:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::witness_update_operation&)
         result_type operator()(const witness_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:31:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::witness_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:32:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::account_witness_vote_operation&)
         result_type operator()(const account_witness_vote_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:32:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_witness_vote_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:33:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::account_witness_proxy_operation&)
         result_type operator()(const account_witness_proxy_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:33:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_witness_proxy_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:34:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::delete_content_operation&)
         result_type operator()(const delete_content_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:34:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::delete_content_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:35:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::custom_operation&)
         result_type operator()(const custom_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:35:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::custom_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:36:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::set_withdraw_vesting_route_operation&)
         result_type operator()(const set_withdraw_vesting_route_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:36:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::set_withdraw_vesting_route_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:37:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::request_account_recovery_operation&)
         result_type operator()(const request_account_recovery_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:37:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::request_account_recovery_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:38:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::recover_account_operation&)
         result_type operator()(const recover_account_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:38:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::recover_account_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:39:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::change_recovery_account_operation&)
         result_type operator()(const change_recovery_account_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:39:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::change_recovery_account_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:40:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::escrow_transfer_operation&)
         result_type operator()(const escrow_transfer_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:40:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_transfer_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:41:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::escrow_dispute_operation&)
         result_type operator()(const escrow_dispute_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:41:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_dispute_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:42:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::escrow_release_operation&)
         result_type operator()(const escrow_release_operation&op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:42:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_release_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:43:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::escrow_approve_operation&)
         result_type operator()(const escrow_approve_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:43:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_approve_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:44:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::delegate_vesting_shares_operation&)
         result_type operator()(const delegate_vesting_shares_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:44:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::delegate_vesting_shares_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:45:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::account_create_operation&)
         result_type operator()(const account_create_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:45:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_create_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:46:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::account_metadata_operation&)
         result_type operator()(const account_metadata_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:46:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_metadata_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:47:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::proposal_create_operation&)
         result_type operator()(const proposal_create_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:47:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::proposal_create_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:48:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::proposal_update_operation&)
         result_type operator()(const proposal_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:48:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::proposal_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:49:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::proposal_delete_operation&)
         result_type operator()(const proposal_delete_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:49:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::proposal_delete_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:50:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::author_reward_operation&)
         result_type operator()(const author_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:50:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::author_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:51:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::curation_reward_operation&)
         result_type operator()(const curation_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:51:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::curation_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:52:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::content_reward_operation&)
         result_type operator()(const content_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:52:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:53:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::fill_vesting_withdraw_operation&)
         result_type operator()(const fill_vesting_withdraw_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:53:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::fill_vesting_withdraw_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:54:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::shutdown_witness_operation&)
         result_type operator()(const shutdown_witness_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:54:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::shutdown_witness_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:55:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::hardfork_operation&)
         result_type operator()(const hardfork_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:55:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::hardfork_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:56:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::content_payout_update_operation&)
         result_type operator()(const content_payout_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:56:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_payout_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:57:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::content_benefactor_reward_operation&)
         result_type operator()(const content_benefactor_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:57:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_benefactor_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:58:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::return_vesting_delegation_operation&)
         result_type operator()(const return_vesting_delegation_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:58:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::return_vesting_delegation_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:59:21: note: candidate: graphene::plugins::mongo_db::state_writer::result_type graphene::plugins::mongo_db::state_writer::operator()(const graphene::protocol::chain_properties_update_operation&)
         result_type operator()(const chain_properties_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_state.hpp:59:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::chain_properties_update_operation&’
In file included from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/types.hpp:20:0,
                 from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/base.hpp:3,
                 from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/block_header.hpp:3,
                 from /usr/local/src/viz/libraries/protocol/include/graphene/protocol/block.hpp:3,
                 from /usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_writer.hpp:2,
                 from /usr/local/src/viz/plugins/mongo_db/mongo_db_writer.cpp:1:
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:124:64: error: return-statement with a value, in function returning 'void' [-fpermissive]
                     return v(*reinterpret_cast<const T *>(data));
                                                                ^
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp: In instantiation of ‘static typename visitor::result_type fc::impl::storage_ops<N, T, Ts ...>::apply(int, const void*, visitor&) [with visitor = graphene::plugins::mongo_db::operation_writer; int N = 35; T = graphene::protocol::committee_worker_create_request_operation; Ts = {graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = bsoncxx::v_noabi::builder::stream::document]’:
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:126:60:   recursively required from ‘static typename visitor::result_type fc::impl::storage_ops<N, T, Ts ...>::apply(int, const void*, visitor&) [with visitor = graphene::plugins::mongo_db::operation_writer; int N = 1; T = graphene::protocol::content_operation; Ts = {graphene::protocol::transfer_operation, graphene::protocol::transfer_to_vesting_operation, graphene::protocol::withdraw_vesting_operation, graphene::protocol::account_update_operation, graphene::protocol::witness_update_operation, graphene::protocol::account_witness_vote_operation, graphene::protocol::account_witness_proxy_operation, graphene::protocol::delete_content_operation, graphene::protocol::custom_operation, graphene::protocol::set_withdraw_vesting_route_operation, graphene::protocol::request_account_recovery_operation, graphene::protocol::recover_account_operation, graphene::protocol::change_recovery_account_operation, graphene::protocol::escrow_transfer_operation, graphene::protocol::escrow_dispute_operation, graphene::protocol::escrow_release_operation, graphene::protocol::escrow_approve_operation, graphene::protocol::delegate_vesting_shares_operation, graphene::protocol::account_create_operation, graphene::protocol::account_metadata_operation, graphene::protocol::proposal_create_operation, graphene::protocol::proposal_update_operation, graphene::protocol::proposal_delete_operation, graphene::protocol::chain_properties_update_operation, graphene::protocol::author_reward_operation, graphene::protocol::curation_reward_operation, graphene::protocol::content_reward_operation, graphene::protocol::fill_vesting_withdraw_operation, graphene::protocol::shutdown_witness_operation, graphene::protocol::hardfork_operation, graphene::protocol::content_payout_update_operation, graphene::protocol::content_benefactor_reward_operation, graphene::protocol::return_vesting_delegation_operation, graphene::protocol::committee_worker_create_request_operation, graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = bsoncxx::v_noabi::builder::stream::document]’
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:126:60:   required from ‘static typename visitor::result_type fc::impl::storage_ops<N, T, Ts ...>::apply(int, const void*, visitor&) [with visitor = graphene::plugins::mongo_db::operation_writer; int N = 0; T = graphene::protocol::vote_operation; Ts = {graphene::protocol::content_operation, graphene::protocol::transfer_operation, graphene::protocol::transfer_to_vesting_operation, graphene::protocol::withdraw_vesting_operation, graphene::protocol::account_update_operation, graphene::protocol::witness_update_operation, graphene::protocol::account_witness_vote_operation, graphene::protocol::account_witness_proxy_operation, graphene::protocol::delete_content_operation, graphene::protocol::custom_operation, graphene::protocol::set_withdraw_vesting_route_operation, graphene::protocol::request_account_recovery_operation, graphene::protocol::recover_account_operation, graphene::protocol::change_recovery_account_operation, graphene::protocol::escrow_transfer_operation, graphene::protocol::escrow_dispute_operation, graphene::protocol::escrow_release_operation, graphene::protocol::escrow_approve_operation, graphene::protocol::delegate_vesting_shares_operation, graphene::protocol::account_create_operation, graphene::protocol::account_metadata_operation, graphene::protocol::proposal_create_operation, graphene::protocol::proposal_update_operation, graphene::protocol::proposal_delete_operation, graphene::protocol::chain_properties_update_operation, graphene::protocol::author_reward_operation, graphene::protocol::curation_reward_operation, graphene::protocol::content_reward_operation, graphene::protocol::fill_vesting_withdraw_operation, graphene::protocol::shutdown_witness_operation, graphene::protocol::hardfork_operation, graphene::protocol::content_payout_update_operation, graphene::protocol::content_benefactor_reward_operation, graphene::protocol::return_vesting_delegation_operation, graphene::protocol::committee_worker_create_request_operation, graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = bsoncxx::v_noabi::builder::stream::document]’
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:346:57:   required from ‘typename visitor::result_type fc::static_variant<Types>::visit(visitor&) const [with visitor = graphene::plugins::mongo_db::operation_writer; Types = {graphene::protocol::vote_operation, graphene::protocol::content_operation, graphene::protocol::transfer_operation, graphene::protocol::transfer_to_vesting_operation, graphene::protocol::withdraw_vesting_operation, graphene::protocol::account_update_operation, graphene::protocol::witness_update_operation, graphene::protocol::account_witness_vote_operation, graphene::protocol::account_witness_proxy_operation, graphene::protocol::delete_content_operation, graphene::protocol::custom_operation, graphene::protocol::set_withdraw_vesting_route_operation, graphene::protocol::request_account_recovery_operation, graphene::protocol::recover_account_operation, graphene::protocol::change_recovery_account_operation, graphene::protocol::escrow_transfer_operation, graphene::protocol::escrow_dispute_operation, graphene::protocol::escrow_release_operation, graphene::protocol::escrow_approve_operation, graphene::protocol::delegate_vesting_shares_operation, graphene::protocol::account_create_operation, graphene::protocol::account_metadata_operation, graphene::protocol::proposal_create_operation, graphene::protocol::proposal_update_operation, graphene::protocol::proposal_delete_operation, graphene::protocol::chain_properties_update_operation, graphene::protocol::author_reward_operation, graphene::protocol::curation_reward_operation, graphene::protocol::content_reward_operation, graphene::protocol::fill_vesting_withdraw_operation, graphene::protocol::shutdown_witness_operation, graphene::protocol::hardfork_operation, graphene::protocol::content_payout_update_operation, graphene::protocol::content_benefactor_reward_operation, graphene::protocol::return_vesting_delegation_operation, graphene::protocol::committee_worker_create_request_operation, graphene::protocol::committee_worker_cancel_request_operation, graphene::protocol::committee_vote_request_operation, graphene::protocol::committee_cancel_request_operation, graphene::protocol::committee_approve_request_operation, graphene::protocol::committee_payout_request_operation, graphene::protocol::committee_pay_request_operation, graphene::protocol::witness_reward_operation, graphene::protocol::create_invite_operation, graphene::protocol::claim_invite_balance_operation, graphene::protocol::invite_registration_operation, graphene::protocol::versioned_chain_properties_update_operation, graphene::protocol::award_operation, graphene::protocol::receive_award_operation, graphene::protocol::benefactor_award_operation, graphene::protocol::set_paid_subscription_operation, graphene::protocol::paid_subscribe_operation, graphene::protocol::paid_subscription_action_operation, graphene::protocol::cancel_paid_subscription_operation, graphene::protocol::set_account_price_operation, graphene::protocol::set_subaccount_price_operation, graphene::protocol::buy_account_operation, graphene::protocol::account_sale_operation}; typename visitor::result_type = bsoncxx::v_noabi::builder::stream::document]’
/usr/local/src/viz/plugins/mongo_db/mongo_db_writer.cpp:165:63:   required from here
/usr/local/src/viz/thirdparty/fc/include/fc/static_variant.hpp:124:29: error: no match for call to ‘(graphene::plugins::mongo_db::operation_writer) (const graphene::protocol::committee_worker_create_request_operation&)’
                     return v(*reinterpret_cast<const T *>(data));
                             ^
In file included from /usr/local/src/viz/plugins/mongo_db/mongo_db_writer.cpp:2:0:
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:19:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::vote_operation&)
         result_type operator()(const vote_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:19:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::vote_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:20:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::content_operation&)
         result_type operator()(const content_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:20:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:21:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::transfer_operation&)
         result_type operator()(const transfer_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:21:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::transfer_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:22:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::transfer_to_vesting_operation&)
         result_type operator()(const transfer_to_vesting_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:22:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::transfer_to_vesting_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:23:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::withdraw_vesting_operation&)
         result_type operator()(const withdraw_vesting_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:23:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::withdraw_vesting_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:24:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::account_update_operation&)
         result_type operator()(const account_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:24:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:25:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::witness_update_operation&)
         result_type operator()(const witness_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:25:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::witness_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:26:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::account_witness_vote_operation&)
         result_type operator()(const account_witness_vote_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:26:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_witness_vote_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:27:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::account_witness_proxy_operation&)
         result_type operator()(const account_witness_proxy_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:27:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_witness_proxy_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:28:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::delete_content_operation&)
         result_type operator()(const delete_content_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:28:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::delete_content_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:29:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::custom_operation&)
         result_type operator()(const custom_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:29:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::custom_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:30:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::set_withdraw_vesting_route_operation&)
         result_type operator()(const set_withdraw_vesting_route_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:30:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::set_withdraw_vesting_route_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:31:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::request_account_recovery_operation&)
         result_type operator()(const request_account_recovery_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:31:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::request_account_recovery_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:32:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::recover_account_operation&)
         result_type operator()(const recover_account_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:32:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::recover_account_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:33:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::change_recovery_account_operation&)
         result_type operator()(const change_recovery_account_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:33:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::change_recovery_account_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:34:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::escrow_transfer_operation&)
         result_type operator()(const escrow_transfer_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:34:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_transfer_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:35:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::escrow_dispute_operation&)
         result_type operator()(const escrow_dispute_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:35:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_dispute_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:36:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::escrow_release_operation&)
         result_type operator()(const escrow_release_operation&op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:36:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_release_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:37:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::escrow_approve_operation&)
         result_type operator()(const escrow_approve_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:37:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::escrow_approve_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:39:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::delegate_vesting_shares_operation&)
         result_type operator()(const delegate_vesting_shares_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:39:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::delegate_vesting_shares_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:40:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::account_create_operation&)
         result_type operator()(const account_create_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:40:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_create_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:41:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::account_metadata_operation&)
         result_type operator()(const account_metadata_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:41:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::account_metadata_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:42:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::proposal_create_operation&)
         result_type operator()(const proposal_create_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:42:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::proposal_create_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:43:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::proposal_update_operation&)
         result_type operator()(const proposal_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:43:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::proposal_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:44:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::proposal_delete_operation&)
         result_type operator()(const proposal_delete_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:44:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::proposal_delete_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:46:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::author_reward_operation&)
         result_type operator()(const author_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:46:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::author_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:47:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::curation_reward_operation&)
         result_type operator()(const curation_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:47:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::curation_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:48:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::content_reward_operation&)
         result_type operator()(const content_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:48:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:49:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::fill_vesting_withdraw_operation&)
         result_type operator()(const fill_vesting_withdraw_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:49:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::fill_vesting_withdraw_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:50:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::shutdown_witness_operation&)
         result_type operator()(const shutdown_witness_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:50:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::shutdown_witness_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:51:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::hardfork_operation&)
         result_type operator()(const hardfork_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:51:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::hardfork_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:52:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::content_payout_update_operation&)
         result_type operator()(const content_payout_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:52:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_payout_update_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:53:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::content_benefactor_reward_operation&)
         result_type operator()(const content_benefactor_reward_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:53:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::content_benefactor_reward_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:55:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::return_vesting_delegation_operation&)
         result_type operator()(const return_vesting_delegation_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:55:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::return_vesting_delegation_operation&’
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:57:21: note: candidate: graphene::plugins::mongo_db::operation_writer::result_type graphene::plugins::mongo_db::operation_writer::operator()(const graphene::protocol::chain_properties_update_operation&)
         result_type operator()(const chain_properties_update_operation& op);
                     ^
/usr/local/src/viz/plugins/mongo_db/include/graphene/plugins/mongo_db/mongo_db_operations.hpp:57:21: note:   no known conversion for argument 1 from ‘const graphene::protocol::committee_worker_create_request_operation’ to ‘const graphene::protocol::chain_properties_update_operation&’
plugins/mongo_db/CMakeFiles/graphene_mongo_db.dir/build.make:86: recipe for target 'plugins/mongo_db/CMakeFiles/graphene_mongo_db.dir/mongo_db_writer.cpp.o' failed
make[2]: *** [plugins/mongo_db/CMakeFiles/graphene_mongo_db.dir/mongo_db_writer.cpp.o] Error 1
CMakeFiles/Makefile2:1633: recipe for target 'plugins/mongo_db/CMakeFiles/graphene_mongo_db.dir/all' failed
make[1]: *** [plugins/mongo_db/CMakeFiles/graphene_mongo_db.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Building CXX object plugins/database_api/CMakeFiles/graphene_database_api.dir/proposal_api_object.cpp.o
[ 95%] Linking CXX static library libgraphene_database_api.a
[ 95%] Built target graphene_database_api
[ 95%] Linking CXX static library libgraphene_tags.a
[ 95%] Built target graphene_tags
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
The command '/bin/sh -c cd $APPDIR &&     git reset --hard &&     git submodule deinit -f . &&     git submodule update --init --recursive -f &&     mkdir build &&     cd build &&     cmake         -DCMAKE_BUILD_TYPE=Release         -DBUILD_SHARED_LIBRARIES=FALSE         -DLOW_MEMORY_NODE=FALSE         -DCHAINBASE_CHECK_LOCKING=FALSE         -DENABLE_MONGO_PLUGIN=TRUE         ..     &&     make -j$(nproc)' returned a non-zero code: 2
v
bitphage commented 4 years ago

Maybe related https://github.com/golos-blockchain/golos/issues/102