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

error: failed to select a version for env_logger #52

Open
czardien opened this issue Jan 12, 2025 · 1 comment
Open

error: failed to select a version for env_logger #52

czardien opened this issue Jan 12, 2025 · 1 comment

Comments

@czardien
Copy link

Hi,

Cloned the project, followed first two instructions from the "Building and Running without Docker" section, and ran into the following error:

$ cargo build --release
    Updating crates.io index
error: failed to select a version for `env_logger`.
    ... required by package `inv_sig_helper_rust v0.1.0 (/home/adrien/.aur/inv_sig_helper)`
versions that meet the requirements `^0.11.5` are: 0.11.5, 0.11.6

the package `inv_sig_helper_rust` depends on `env_logger`, with features: `anstream` but `env_logger` does not have these features.
 It has an optional dependency with that name, but that dependency uses the "dep:" syntax in the features table, so it does not have an implicit feature with that name.


failed to select a version for `env_logger` which could resolve this conflict

Not sure if I missed something? This is my Cargo version:

$ cargo --version
cargo 1.71.0-nightly (569b648b5 2023-05-05)

Also, this might be related to this previous MR by @friedkiwi: #24.

@friedkiwi
Copy link
Contributor

I'm using these versions:

friedkiwi@cbrvid01:~$ rustc --version
rustc 1.81.0 (eeb90cda1 2024-09-04)
friedkiwi@cbrvid01:~$ cargo --version 
cargo 1.81.0 (2dbb1af80 2024-08-20)

You're using an older nightly build of Rust. Try upgrading to the latest stable and see if that fixes it?

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