Closed gjf2a closed 2 years ago
I was not able to reproduce. But I'm not sure what could cause this problem.
Maybe something wrong with incremental compilation, in which case a cargo clean
would fix it.
I did try cargo clean
, but it had no impact whatsoever. I'm definitely happy to entertain any other suggestions that might come to mind.
And thank you @Eh2406 for taking a look so quickly!
I wonder if something got corrupted in ~/.cargo/registry
. If you dell that folder, cargo will redownload what it needs. That may help.
I'm not sure what happened here either, but since https://github.com/rust-lang/crates.io-index/blob/master/ad/le/adler exists this appears to be an issue on the cargo
side. unfortunately I can't transfer the issue to the cargo
repo due to permissions, so I guess it might be best if you could close it here and copy over the details into https://github.com/rust-lang/cargo/issues/new?assignees=&labels=C-bug&template=bug_report.yml 🙏
Transferred.
Deleting .cargo/registry
did the trick. It now works fine! Thank you for the suggestion!
Current Behavior
When I try to include the
adler
crate, the Rust compiler complains it cannot find it:Here is my include line in
Cargo.toml
:If I replace the above line with a link to the Github repo, it works fine:
Expected Behavior
I expect the program to compile properly when I use the
crates.io
include line.Steps To Reproduce
cargo build
to try to compile it.Cargo.toml
to getadler
from Github instead.cargo build
to compile it.Environment
OS:
Machine:
Rust/Cargo:
Anything else?
No response