-
Notifications
You must be signed in to change notification settings - Fork 115
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
Compilation error for version 0.1.9 #328
Comments
I was just running into this as well with I ran
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
error[E0308]: mismatched types
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:276:16
|
276 | if let Async::NotReady = self.poll_read() {
| ^^^^^^^^^^^^^^^ expected enum
std::result::Result
, found enumfutures::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
error[E0308]: mismatched types
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:289:16
|
289 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^^^^^^ expected enum
std::result::Result
, found enumfutures::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
error[E0308]: mismatched types
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:300:16
|
300 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^^^^^^ expected enum
std::result::Result
, found enumfutures::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
error[E0308]: mismatched types
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:335:16
|
335 | if let Async::NotReady = self.poll_read() {
| ^^^^^^^^^^^^^^^ expected enum
std::result::Result
, found enumfutures::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
error[E0308]: mismatched types
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:350:16
|
350 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^^^^^^ expected enum
std::result::Result
, found enumfutures::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
error[E0308]: mismatched types
--> /home/suraj.prakash/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-core-0.1.9/src/reactor/poll_evented.rs:361:16
|
361 | if let Async::NotReady = self.poll_write() {
| ^^^^^^^^^^^^^^^ expected enum
std::result::Result
, found enumfutures::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
The text was updated successfully, but these errors were encountered: