Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MetaMan2023 opened this issue Nov 2, 2024 · 1 comment

Comments

@MetaMan2023
Copy link

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

@craigcomstock
Copy link

craigcomstock commented Nov 6, 2024

maybe the version of cargo available in debian 12 is too old for coldsnap?

rust-lang/mdBook#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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants