Skip to content

docs.rs shows crate version that doesn't exist on crates.io #1412

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

Closed
soenkehahn opened this issue Jun 5, 2021 · 5 comments
Closed

docs.rs shows crate version that doesn't exist on crates.io #1412

soenkehahn opened this issue Jun 5, 2021 · 5 comments

Comments

@soenkehahn
Copy link

I recently uploaded the first version of the crate cradle to crates.io: https://crates.io/crates/cradle. The versions tab correctly shows that there is only one version (0.0.0). On the corresponding docs.rs link (https://docs.rs/cradle/0.0.0/cradle/) I found that at the top it says 'Go to latest version', which links to a version 0.1.1 of the cradle crate that I didn't upload: https://docs.rs/crate/cradle/0.1.1. That version does not exist on crates.io.

(The text in that version seems to be an attempt at putting pressure on the crates.io team for handling crate squatting differently. I'd like to point out that I didn't write that text. I think the crates.io team is great!)

I thought it wasn't possible to delete crates from crates.io, so I'm not sure how this situation can happen. But more importantly: Can this be fixed somehow? I'd love to have documentation for my crate hosted on docs.rs that doesn't nudge users to see a 'latest version' of the docs that shouldn't be there.

Thanks a lot!

@jyn514
Copy link
Member

jyn514 commented Jun 5, 2021

This is #765, see #766.

@jyn514
Copy link
Member

jyn514 commented Jun 5, 2021

The fix is for me to run #898.

@soenkehahn
Copy link
Author

Thanks @jyn514! So the fix is a manual repair on the docs.rs db, that you can run? If so, could you please perform that repair? And could you ping me when it's done? Thanks a lot!

@jyn514
Copy link
Member

jyn514 commented Jun 12, 2021

I deleted cradle 0.1.1 and updated the owner info so it only shows you. I haven't run a general command to fix all problems of this type.

@jyn514 jyn514 closed this as completed Jun 12, 2021
@soenkehahn
Copy link
Author

Awesome, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants