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

Breaking change in v0.1.12 #60

Open
stevenroose opened this issue Jun 16, 2022 · 3 comments
Open

Breaking change in v0.1.12 #60

stevenroose opened this issue Jun 16, 2022 · 3 comments

Comments

@stevenroose
Copy link

v0.1.12 seems to have made a breaking change:

$ cargo install cargo2junit
    Updating crates.io index
 Downloading crates ...
  Downloaded cargo2junit v0.1.12
  Installing cargo2junit v0.1.12
 Downloading crates ...
  Downloaded vte_generate_state_changes v0.1.1
  Downloaded time-macros v0.2.4
error: failed to compile `cargo2junit v0.1.12`, intermediate artifacts can be found at `/tmp/cargo-install3Oi3Lw`
Caused by:
  failed to parse manifest at `/root/.cargo/registry/src/gitpro.ttaallkk.top-1ecc6299db9ec823/time-macros-0.2.4/Cargo.toml`
Caused by:
  feature `resolver` is required
  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["resolver"]` to enable this feature
@stevenroose
Copy link
Author

stevenroose commented Jun 16, 2022

Hmm, it seems it's because of the time crate that is a (transitive?) dependency. So I guess you can't do much about this, maybe fix the time crate's version.

@johnterickson
Copy link
Owner

Hmm I would have thought the lockfile would pin that...

@tofay
Copy link

tofay commented Aug 11, 2022

Hmm I would have thought the lockfile would pin that...

cargo install doesn't use the lockfile by default, you have to specify cargo install --locked for that. (I recall a discussion on Rust zulip about switching cargo install to use a lockfile by default). So presumably the OP is using cargo < 1.51 (when the new resolver stabilized) but time-macros 0.2.4 requires cargo >= 1.51.

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

3 participants