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

bug: build after upgrading process_lib dep errors out #277

Open
nick1udwig opened this issue Nov 18, 2024 · 0 comments
Open

bug: build after upgrading process_lib dep errors out #277

nick1udwig opened this issue Nov 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nick1udwig
Copy link
Collaborator

nick1udwig commented Nov 18, 2024

Describe the bug

ERROR src/main.rs:1289: 
   0: `cargo metadata` exited with an error: error: failed to select a version for `backtrace`.
          ... required by package `color-eyre v0.6.0`
          ... which satisfies dependency `color-eyre = "^0.6"` of package `kinode_process_lib v0.9.6`
          ... which satisfies dependency `kinode_process_lib = "^0.9.6"` (locked to 0.9.6) of package `dial-test v0.1.0 (/Users/fresh/us/mrmcmuffin/TEMP/dial/test/dial-test/dial-test)`
      versions that meet the requirements `^0.3.48` (locked to 0.3.74) are: 0.3.74

      the package `color-eyre` depends on `backtrace`, with features: `gimli-symbolize` but `backtrace` does not have these features.


      failed to select a version for `backtrace` which could resolve this conflict
   0: 

Location:
   src/build/mod.rs:737

This is fixed by removing Cargo.lock and building again.

  • Can we detect this and auto-remove Cargo.lock?
  • Is this a desirable behavior?
  • If not, can we give user a more helpful error message?
@nick1udwig nick1udwig added the bug Something isn't working label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant