phiresky / ripgrep-all

rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.
Other
8.21k stars 177 forks source link

build fails because cachedir version is outdated #122

Closed Volker-Weissmann closed 2 years ago

Volker-Weissmann commented 2 years ago
$ cargo install ripgrep_all
    Updating crates.io index
  Installing ripgrep_all v0.9.6
error: failed to compile `ripgrep_all v0.9.6`, intermediate artifacts can be found at `/tmp/cargo-installlN9h7S`

Caused by:
  failed to select a version for the requirement `cachedir = "^0.1.1"`
  candidate versions found which didn't match: 0.3.0, 0.2.0
  location searched: crates.io index
  required by package `ripgrep_all v0.9.6`
$ cargo --version
cargo 1.58.0 (7f08ace4f 2021-11-24)
rickhg12hs commented 2 years ago

Reference: #67 (last comment)

Does cargo install --locked ripgrep_all work for you?

Volker-Weissmann commented 2 years ago

Closing in favor of #67