thaler icon indicating copy to clipboard operation
thaler copied to clipboard

Problem: upgrade to jsonrpc-* 16.0.0 fails to compile

Open tomtau opened this issue 5 years ago • 0 comments

   Compiling client-rpc v0.6.0 (/home/runner/work/chain/chain/client-rpc/server)
856
error[E0277]: the trait bound `jsonrpc_http_server::jsonrpc_core::MetaIoHandler<_, _>: std::convert::From<jsonrpc_core::io::IoHandler>` is not satisfied
857
##[error]  --> client-rpc/server/src/server.rs:75:22
858
   |
859
75 |         let server = ServerBuilder::new(handler.io)
860
   |                      ^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<jsonrpc_core::io::IoHandler>` is not implemented for `jsonrpc_http_server::jsonrpc_core::MetaIoHandler<_, _>`
861
   |
862
   = help: the following implementations were found:
863
             <jsonrpc_http_server::jsonrpc_core::MetaIoHandler<()> as std::convert::From<jsonrpc_http_server::jsonrpc_core::IoHandler>>
864

https://github.com/crypto-com/chain/pull/2237/checks?check_run_id=1135532376

tomtau avatar Sep 21 '20 01:09 tomtau