3 ms·
The Cargo problem turns out to be a known incompatibility between the version of Cargo which ships with Ubuntu 16.04 LTS and later version of Rust.[1][2][3] "Ol
by Animats 10y ago
The Cargo problem turns out to be a known incompatibility between the version of Cargo which ships with Ubuntu 16.04 LTS and later version of Rust.[1][2][3] "Old versions of cargo cannot install any version of a crate that has a version with a prelease string". It's not the user's .toml file that's the problem; it's an internal dependency within the crate that's breaking Cargo.
It's necessary to run Rust's version of Cargo, not Ubuntu's, when using Rust. Due to a path problem, I was using Ubuntu's older versions of Rust and Cargo, but with libraries from the new Rust installation.
[1] https://users.rust-lang.org/t/crates-io-compatibility-with-old-cargo/9127/19 https://users.rust-lang.org/t/crates-io-compatibility-with-o...
[2] https://github.com/rust-lang/crates.io/issues/584 https://github.com/rust-lang/crates.io/issues/584
[3] https://github.com/rust-lang/cargo/issues/3763 https://github.com/rust-lang/cargo/issues/3763
- steveklabnik 10y agoAh yes. This one is indirectly my fault, as I maintain the semver parsing library, and that included the bug. Sorry about that :(