Closed stratosgear closed 4 years ago
hm, what version of rust/cargo are you running? (cargo --version
). I'm guessing it's fairly old, and doesn't understand the "edition" keyword (which was added in 1.31, released in december 2018).
I'm not exactly sure what our "MSRP" (Minimum Supported Rust Version) is. We're running CI against rust-1.41, and the current release is rust-1.42, so it at least works on those. I just ran tests locally against rust-1.37 and that seemed to work too. From what I've seen, a lot of people are always using the most recent stable release of rust (there's a new one every six weeks), so it takes a bit of deliberate effort to establish and maintain an MSRP, and it's easy to get kind of careless and accidentally require newer features.
I'm using rustup
to keep my rust up-to-date, and I think rustup
is also the recommended way to install rust in the first place. If you're using rustup then maybe you just need to ask it to upgrade your installation: rustup update
. If not, maybe the easiest path is to install it.. the instructions are at https://www.rust-lang.org/learn/get-started .
Let me know how it goes!
I had rust/cargo installed with pacman (in arch) and I though that it will be always kept updated to latest version (I regularly update with pacman).
Nonetheless, running rustup update
seems to have updated to something more recent and now I can install fine.
Thanks...
great!
I get a:
Not being very familiar with Rust, and failing to find a google solution, how would I proceed fixing this?
Thanks!