-
Notifications
You must be signed in to change notification settings - Fork 643
embedded-hal-nb v1.0.0-alpha.2 missing from index. #6306
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
Comments
Thanks for the report! I have raised this with our infrastructure people. |
some of my gh workers have the same problem, but on my local dev environment i don't have an issue. Some output from my local env:
note that this does not have the 1.0.0-alpha.2 version in it. But i can do the follwing and get an correct 304 -> and if i want to download it manually with
|
i was got is that problem too |
I yanked version |
The issue is discussed here on Zulip. @ehuss @Turbo87 should we transfer this to rust-lang/crates.io repository? |
@weihanglo yes, please! 👍 |
as a short term fix, we ran a complete sync from the git index to the sparse index. https://index.crates.io/em/be/embedded-hal-nb for me now shows the missing version. the cause of the issue is described in the Zulip thread that was linked above and still needs a more long-term fix though, so I'll keep this issue open for now. |
@Turbo87 just in case you missed it, I yanked the dummy Thanks guys for all your work btw, crates.io is awesome :) |
@Dirbaio oops, I missed that comment 😅 it looks like we had a few more unsynced crates though, so performing this syncing operation was apparently still useful. unfortunately now we have to find a solution to prevent the desync from happening in the first place 🙈 |
Problem
embedded-hal-nb v1.0.0-alpha.2
was released yesterday, however trying to use it as a dependency fails, as if it wasn't there.Steps
Possible Solution(s)
Looking with
CARGO_LOG=trace
, it seems it's downloading this https://index.crates.io/em/be/embedded-hal-nb, and indeedv1.0.0-alpha.2
is missing.It seems to be an issue of the new sparse protocol only. Forcing using the old one works:
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=git cargo build
Notes
No response
Version
The text was updated successfully, but these errors were encountered: