I am getting below error
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:276:39
|
276 | if let Async::NotReady = self.poll_read() {
| ^^^^^^^^^ expected 1 parameter
^^^^^^^^^^^^^^^ expected enum std::result::Result, found enum futures::Async
= note: expected type `std::result::Result<futures::Async<usize>, std::io::Error>`
found type `futures::Async<_>`
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:289:39
|
289 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^ expected 1 parameter
^^^^^^^^^^^^^^^ expected enum std::result::Result, found enum futures::Async
= note: expected type `std::result::Result<futures::Async<usize>, std::io::Error>`
found type `futures::Async<_>`
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:300:39
|
300 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^ expected 1 parameter
^^^^^^^^^^^^^^^ expected enum std::result::Result, found enum futures::Async
= note: expected type `std::result::Result<futures::Async<usize>, std::io::Error>`
found type `futures::Async<_>`
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:335:39
|
335 | if let Async::NotReady = self.poll_read() {
| ^^^^^^^^^ expected 1 parameter
^^^^^^^^^^^^^^^ expected enum std::result::Result, found enum futures::Async
= note: expected type `std::result::Result<futures::Async<usize>, std::io::Error>`
found type `futures::Async<_>`
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:350:39
|
350 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^ expected 1 parameter
^^^^^^^^^^^^^^^ expected enum std::result::Result, found enum futures::Async
= note: expected type `std::result::Result<futures::Async<usize>, std::io::Error>`
found type `futures::Async<_>`
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:361:39
|
361 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^ expected 1 parameter
^^^^^^^^^^^^^^^ expected enum std::result::Result, found enum futures::Async
= note: expected type `std::result::Result<futures::Async<usize>, std::io::Error>`
found type `futures::Async<_>`
error: aborting due to 12 previous errors
Some errors occurred: E0061, E0308.
For more information about an error, try rustc --explain E0061.
error: Could not compile tokio-core.
warning: build failed, waiting for other jobs to finish...
error: build failed
I am getting below error error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:276:39 | 276 | if let Async::NotReady = self.poll_read() { | ^^^^^^^^^ expected 1 parameter
std::result::Result
, found enumfutures::Async
error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:289:39 | 289 | if let Async::NotReady = self.poll_write() { | ^^^^^^^^^^ expected 1 parameter
std::result::Result
, found enumfutures::Async
error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:300:39 | 300 | if let Async::NotReady = self.poll_write() { | ^^^^^^^^^^ expected 1 parameter
std::result::Result
, found enumfutures::Async
error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:335:39 | 335 | if let Async::NotReady = self.poll_read() { | ^^^^^^^^^ expected 1 parameter
std::result::Result
, found enumfutures::Async
error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:350:39 | 350 | if let Async::NotReady = self.poll_write() { | ^^^^^^^^^^ expected 1 parameter
std::result::Result
, found enumfutures::Async
error[E0061]: this function takes 1 parameter but 0 parameters were supplied --> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:361:39 | 361 | if let Async::NotReady = self.poll_write() { | ^^^^^^^^^^ expected 1 parameter
std::result::Result
, found enumfutures::Async
error: aborting due to 12 previous errors
Some errors occurred: E0061, E0308. For more information about an error, try
rustc --explain E0061
. error: Could not compiletokio-core
. warning: build failed, waiting for other jobs to finish... error: build failed