-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
cargo 1.50.0 can not cope with filedescriptor-0.8.0 #9610
Comments
It can be helpful to post the full message:
As you may see, 1.50 does not support this feature. You'll need at least 1.51. When a project uses new features or syntax, they may require a newer version of Rust to use. Also, from what I can see, |
I'm going to close, as I believe the error message indicates why it is unable to use that package. I think that is about the best the error message can do, as it does not know when a particular feature gets stabilized. Of course, if you have any suggestions on how it could be clearer, feel free to suggest them. |
Yes, but how does telling me to right nightly cargo, sync with the VERY VERY clear message in the generated Cargo.toml, that tells me that if it doesn't work, then it's a bug that should be reported.
so, this has nothing to do with a nightly feature, but in fact a feature deployed. Perhaps when the Cargo toml is updated, then it should contain a minimum Cargo version that it can be used with? |
Ah, I think I understand. I think the error message could be improved when it comes from a registry dependency, since the user does not have control over those. The preamble in the rewritten Cargo.toml also probably isn't too helpful. There is an unstable enhancement to add specifying the rust version, but it has not been stabilized, yet. |
Don't recommend filing issues on rust-lang/cargo for Cargo.toml errors. I don't think this suggestion has ever led to something useful, and is just confusing. cc #9610
dooku-~ mcr 10001 %cargo install filedescriptor
Updating crates.io index
Downloaded filedescriptor v0.8.0
error: failed to parse manifest at
/home/mcr/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/filedescriptor-0.8.0/Cargo.toml
I expected to get installed. (I came across this after an cargo update on another project)
Steps
Possible Solution(s)
Upgrade to cargo 1.53.0
Notes
The comment at the top of that file says:
I think that the goal of the rewriting is to keep people from being forced to upgrade.
The text was updated successfully, but these errors were encountered: