PSA: the 2015-02-25 nightly contains a broken cargo [now fixed]


#1

Running cargo build gives errors like:

Process didn't exit successfully: `rustc - --crate-name - --crate-type dylib --crate-type bin --print=file-names` (status=101)
--- stderr
error: crate name cannot start with a hyphen: -
error: aborting due to previous error

The nightly before that latest one is 2015-02-22, which you can obtain/reobtain with the --date=2015-02-22 argument to rustup.sh, or via multirust default nightly-2015-02-22.

This was possibly issue #1342, which is apparently fixed in master, but seemingly not in time to get into that nightly.


Category suggestions
#2

"https://github.com/rust-lang/cargo/issues/1342"
Can’t use the link directly…


#3

Good point. :smile: (Edited in to the main description.)


#4

NB. If you build it manually, it’s fine.

Don’t forget to run .travis.install.deps.sh :smile:


#5

Now fixed! The recently-released 2015-02-26 nightly works fine.

(Since it was only recently uploaded, you may have to use the dated versions (listed above) of the rustup/multirust commands to download it, to side-step the caching.)