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

chore: cargo update to fix dep resolution issue #36

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

chenrui333
Copy link
Contributor

In release build, https://github.com/sstadick/crabz/actions/runs/8317134736/job/22757518845, there is some dependency resolution issue with env_logger, thus running cargo update to refresh the cargo.lock file

 Downloading crates ...
  Downloaded cargo-deb v2.1.0
  Installing cargo-deb v2.1.0
error: failed to compile `cargo-deb v2.1.0`, intermediate artifacts can be found at `/tmp/cargo-installhljkiy`

Caused by:
  failed to select a version for `env_logger`.
      ... required by package `cargo-deb v2.1.0`
  versions that meet the requirements `^0.11` are: 0.11.3, 0.11.2, 0.11.1, 0.11.0

  the package `cargo-deb` 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

relates to #35

In release build, https://github.com/sstadick/crabz/actions/runs/8317134736/job/22757518845, there is some dependency resolution issue with `env_logger`, thus running `cargo update` to refresh the cargo.lock file

```
 Downloading crates ...
  Downloaded cargo-deb v2.1.0
  Installing cargo-deb v2.1.0
error: failed to compile `cargo-deb v2.1.0`, intermediate artifacts can be found at `/tmp/cargo-installhljkiy`

Caused by:
  failed to select a version for `env_logger`.
      ... required by package `cargo-deb v2.1.0`
  versions that meet the requirements `^0.11` are: 0.11.3, 0.11.2, 0.11.1, 0.11.0

  the package `cargo-deb` 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
```

Signed-off-by: Rui Chen <[email protected]>
@sstadick sstadick merged commit 803ce75 into sstadick:main Mar 19, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants