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 use cargo install --locked sccache builds a version of sccache with lru-disk-cache v0.4.0 and thus linked-hash-map v0.2.1 (which no longer works as of rust 1.48.0, as reported in #887). If you drop the --locked then cargo (currently) chooses lru-disk-cache v0.4.1 and thus linked-hash-map v0.5.3 which works fine, but doing this undermines repeatability of the build.
This looks to be because the published crate's lockfile specifies old dependencies:
Trying to use
cargo install --locked sccache
builds a version of sccache withlru-disk-cache v0.4.0
and thuslinked-hash-map v0.2.1
(which no longer works as of rust 1.48.0, as reported in #887). If you drop the--locked
then cargo (currently) chooseslru-disk-cache v0.4.1
and thuslinked-hash-map v0.5.3
which works fine, but doing this undermines repeatability of the build.This looks to be because the published crate's lockfile specifies old dependencies:
Weirdly, the
Cargo.lock
at the0.2.14
tag has the updated versions in it, and the.cargo_vcs_info.json
file says:Which agrees with the commit of the tag, but the code in the crate archive doesn't match... Maybe the publish was done on a unclean codebase?
The text was updated successfully, but these errors were encountered: