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

Could not compile tokio on FreeBSD #158

Closed
publicarray opened this issue Feb 27, 2018 · 1 comment
Closed

Could not compile tokio on FreeBSD #158

publicarray opened this issue Feb 27, 2018 · 1 comment

Comments

@publicarray
Copy link

I have no experience in rust but I wanted to run cargo install doh-proxy which failed:

[...] 
  Compiling tokio-io v0.1.5
   Compiling tokio-core v0.1.12
   Compiling tokio v0.1.1
error[E0283]: type annotations required: cannot resolve `_: std::convert::Into<mio::Ready>`
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.1/src/reactor/mod.rs:472:15
    |
472 |         hup() | UnixReady::aio().into()
    |               ^
    |
    = note: required because of the requirements on the impl of `std::ops::BitOr<_>` for `mio::Ready`

error[E0599]: no method named `is_aio` found for type `&mio::Ready` in the current scope
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/tokio-0.1.1/src/reactor/mod.rs:490:15
    |
490 |         ready.is_aio()
    |               ^^^^^^

error: aborting due to 2 previous errors

error: failed to compile `doh-proxy v0.1.5`, intermediate artifacts can be found at `/tmp/cargo-install.w2YK4Rw6Sysm`

Caused by:
  Could not compile `tokio`.

To learn more, run the command again with --verbose.
$ rustc -V
rustc 1.22.1
$ freebsd-version
11.1-RELEASE-p6
@publicarray
Copy link
Author

publicarray commented Feb 27, 2018

Ah thanks for the quick response. While I did search in issues and pull request (like a good internet citizen), I did not search the git history 🤔.

Thanks for your help

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

1 participant