Cargo regression: regex crate broken on 2016-08-05 nightly

As a heads up, looks like a regression snuck into Cargo’s nightly last night which is preventing the regex crate from compiling with an error like:

error: unable to get packages from source

Caused by:
  failed to parse manifest at `/home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.73/Cargo.toml`

Caused by:
  duplicate build target found: `/home/travis/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.73/src/lib.rs`

This error is a bug in Cargo and should be fixed in tomorrow’s nightly by rust-lang/cargo#2962. In the meantime, I’d hold off on your daily dose of rustup update, and apologies for the breakage!

8 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.