Skip to content

Error pulling (yanked) zip 7.4.0 dependency #1678

@gyscos

Description

@gyscos

Tried to install from crates.io (simply cargo install rustic-rs):

    Updating crates.io index
error: failed to compile `rustic-rs v0.11.0`, intermediate artifacts can be found at `/tmp/cargo-installXYxBKv`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  failed to select a version for the requirement `zip = "^7.4.0"`
    version 7.4.0 is yanked
  location searched: crates.io index
  required by package `rustic-rs v0.11.0`

Looks like that zip version was recently yanked - see zip-rs/zip2#627.

The current workaround is to use --locked (either for cargo install or cargo install-update). To be fair that's indeed the instructions from the Readme (in my case the issue happened when updating, I didn't realize --locked had to be repeated in cargo install-update). Might still be a good idea to move to zip 8.1.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-buildArea: Related to the build systemA-dependenciesArea: Related to updating dependenciesC-upstreamCategory: Issue for a dependency, will be fixed upstreamS-triageStatus: Waiting for a maintainer to triage this issue/PR

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions