You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to download crates from crates.io with the sparse registry feature enabled results in a failure
> rob@pop-os:/mnt/Primary/projects/sparse-error-test$ cargo +nightly -Z sparse-registry check
Updating crates.io index
error: failed to get `tokio` as a dependency of package `sparse-error-test v0.1.0 (/mnt/Primary/projects/sparse-error-test)`
Caused by:
failed to query replaced source registry `crates-io`
Caused by:
download of config.json failed
Caused by:
failed to download from `sparse+https://index.crates.io/config.json`
Caused by:
[1] Unsupported protocol (Protocol "sparse+https" not supported or disabled in libcurl)
> rob@pop-os:/mnt/Primary/projects/sparse-error-test$ cargo version
cargo 1.66.0-nightly (b332991a5 2022-10-13)
Running with cargo 1.66.0-nightly (b8f30cb23 2022-10-10) works fine.
Steps
Create a new project.
Add any crate to your Cargo.toml.
Run cargo +nightly -Z sparse-registry check.
Possible Solution(s)
No response
Notes
I see there were a bunch of commits between the nightly-2022-10-10 and nightly-2022-10-13 release relating to sparse registry, but I didn't see anything signalling a change from the prior behaviour or usage.
Problem
Trying to download crates from crates.io with the sparse registry feature enabled results in a failure
Running with
cargo 1.66.0-nightly (b8f30cb23 2022-10-10)
works fine.Steps
Cargo.toml
.cargo +nightly -Z sparse-registry check
.Possible Solution(s)
No response
Notes
I see there were a bunch of commits between the
nightly-2022-10-10
andnightly-2022-10-13
release relating to sparse registry, but I didn't see anything signalling a change from the prior behaviour or usage.Version
The text was updated successfully, but these errors were encountered: