Skip to content
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.toml manifest parsing error for missing README since nightly 2020-06-09 #73279

Closed
timvisee opened this issue Jun 12, 2020 · 3 comments
Closed
Labels
C-bug Category: This is a bug.

Comments

@timvisee
Copy link
Contributor

timvisee commented Jun 12, 2020

I'm seeing Cargo.toml manifest parsing errors using the latest Rust nightly. This started showing up in CI today. It seems this is caused by a missing README file when configured in Cargo.toml of the respective crates.

Here are some of the errors:

  Downloaded rustls v0.17.0
error: failed to parse manifest at `/usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/rustls-0.17.0/Cargo.toml`
Caused by:
  readme file with name '../README.md' was not found
  Downloaded bitvec v0.16.2
error: failed to parse manifest at `/usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/bitvec-0.16.2/Cargo.toml`
Caused by:
  readme file with name 'README.md' was not found
  Downloaded remove_dir_all v0.5.2
error: failed to parse manifest at `/usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/remove_dir_all-0.5.2/Cargo.toml`
Caused by:
  readme file with name 'README.md' was not found

Maybe this should just show a warning instead, to prevent breaking existing crates? Quite a few crates on crates.io seem to suffer from this problem.

Meta

rustc --version --verbose:

rustc 1.46.0-nightly (a37c32e2d 2020-06-11)
cargo 1.46.0-nightly (1ec223eff 2020-06-09)

Here are the CI logs I'm seeing these errors in:

@timvisee timvisee added the C-bug Category: This is a bug. label Jun 12, 2020
@jonas-schievink
Copy link
Contributor

Duplicate of rust-lang/cargo#8351

@sfackler
Copy link
Member

This should probably be filed on the https://github.com/rust-lang/cargo repository.

@timvisee
Copy link
Contributor Author

You're right. Should have posted this in the cargo repository. I'll follow the progress on this there.

Thanks for the quick response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants