Failed to install fundoc via cargo
nekitk opened this issue · comments
Nikita Golubov commented
nekitk@192 ~ % cargo install fundoc
Updating crates.io index
Installing fundoc v0.2.5
error: failed to compile `fundoc v0.2.5`, intermediate artifacts can be found at `/var/folders/gx/2tsmxvzx1pxgnm3pg8200t4r0000gn/T/cargo-installcGL3PO`
Caused by:
failed to select a version for the requirement `zeroize = "^0.9.3"`
candidate versions found which didn't match: 1.3.0, 1.2.0, 1.1.1, ...
location searched: crates.io index
required by package `dialoguer v0.7.1`
... which is depended on by `fundoc v0.2.5`
The same error appears when trying to install v0.2.1 though I had successfully installed it via cargo before.
Nikita Golubov commented
Seems like the problem is caused by deletion of zeroize
versions prior to 1.x:
https://crates.io/crates/zeroize/versions
Nikita Golubov commented
Solved by running cargo install fundoc --locked