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

kanils' dependency fails to compile on rustc 1.36.0 #13

Open
koba-e964 opened this issue Jul 30, 2019 · 0 comments
Open

kanils' dependency fails to compile on rustc 1.36.0 #13

koba-e964 opened this issue Jul 30, 2019 · 0 comments

Comments

@koba-e964
Copy link
Member

In rustc 1.36.0, cargo build --release fails with the following error message:

$ cargo build --release
   Compiling trackable v0.2.22
   Compiling structopt v0.2.18
   Compiling rustyline v2.1.0
   Compiling indicatif v0.11.0
error[E0283]: type annotations required: cannot resolve `std::string::String: std::convert::AsRef<_>`
   --> /home/koba-e964/.cargo/registry/src/github.com-1ecc6299db9ec823/rustyline-2.1.0/src/lib.rs:639:43
    |
639 |             editor.add_history_entry(line.as_ref());
    |                                           ^^^^^^

   Compiling prometrics v0.1.11
error: aborting due to previous error

For more information about this error, try `rustc --explain E0283`.
error: Could not compile `rustyline`.
warning: build failed, waiting for other jobs to finish...
error: build failed

Probably we need to upgrade rustyline from 2.1.0 to 5.0.0? https://docs.rs/rustyline/5.0.0/rustyline/
Related issue: rust-lang/rust#60958

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