coldsnap icon indicating copy to clipboard operation
coldsnap copied to clipboard

Install from Cargo on Debian FAILS with "env_logger" version/dependency error. Brand new Debian install upgraded/updated -- Advice?

Open MetaMan2023 opened this issue 1 year ago • 2 comments

  • 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??

MetaMan2023 avatar Nov 02 '24 14:11 MetaMan2023

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.

craigcomstock avatar Nov 06 '24 20:11 craigcomstock

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?

cbgbt avatar Dec 19 '24 23:12 cbgbt