coldsnap
coldsnap copied to clipboard
Install from Cargo on Debian FAILS with "env_logger" version/dependency error. Brand new Debian install upgraded/updated -- Advice?
-
Installed latest Debian
-
Performed update/upgrade
-
Installed Cargo package
-
Attempted to install Coldsnap get this error:
"failed to select a version for 'env_logger'. required by package 'coldsnap v0.6.2' versions that meet the requirements '%0.11' (locked to 0.11.5) are : 0.11.5
the package coldsnap depends on env_logger, with features; anstream but env_logger does not have these features. It has an optional dependcy with that name, but the dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name."
Can anyone advise how to get past this??
maybe the version of cargo available in debian 12 is too old for coldsnap?
https://github.com/rust-lang/mdBook/issues/2318
On debian-12 I think I had cargo --version 1.65 or 1.66.
I tried installing the latest/stable cargo via https://doc.rust-lang.org/cargo/getting-started/installation.html which gets me 1.82.0.
And this seems to work fine for cargo install --locked coldspan.
I also can't reproduce on recent versions of cargo. Do you mind sharing the version of cargo that has the issue, and ensuring that you are passing --locked as suggested by @craigcomstock?