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

Incompatibility between different versions of nightly rustc that is not managed by rustup #1364

Closed
figsoda opened this issue Oct 20, 2022 · 0 comments · Fixed by #1402
Closed

Comments

@figsoda
Copy link
Contributor

figsoda commented Oct 20, 2022

I found #666 which seems to solve the issue only for rustup

I am using fenix, also tried rust-overlay which ran into the same issue, both are ways of managing nightly rust without rustup

error[E0514]: found crate `version_check` compiled by an incompatible version of rustc
 --> /home/figsoda/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/proc-macro-error-attr-1.0.4/build.rs:2:8
  |
2 |     if version_check::is_max_version("1.36.0").unwrap_or(false) {
  |        ^^^^^^^^^^^^^
  |
  = note: the following crate versions were found:
          crate `version_check` compiled by rustc 1.66.0-nightly (a24a020e6 2022-10-18): /home/figsoda/sagoin/target/release/deps/libversion_check-18c6e0c918cf4ef9.rli
b
  = help: please recompile that crate using this compiler (rustc 1.66.0-nightly (4b8f43199 2022-10-19)) (consider running `cargo clean` first)
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 a pull request may close this issue.

1 participant