You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used this default.nix from another issue on this repository and received build errors due to the unmaintained proc-macro-error crate (the flake.nix file wants me to rebuild rustc). I think the clap crate is the problem.
> error[E0277]: the trait bound `proc_macro2::Span: From<proc_macro::Span>` is not satisfied
> --> /build/c2rust-unstable-vendor.tar.gz/proc-macro-error/src/lib.rs:549:37
> |
> 549 | first: self.clone().into(),
> | ^^^^ the trait `From<proc_macro::Span>` is not implemented for `proc_macro2::Span`, which is required by `proc_macro::Span: Into<_>`
> |
> = note: required for `proc_macro::Span` to implement `Into<proc_macro2::Span>`
>
> error[E0277]: the trait bound `proc_macro2::Span: From<proc_macro::Span>` is not satisfied
> --> /build/c2rust-unstable-vendor.tar.gz/proc-macro-error/src/lib.rs:550:36
> |
> 550 | last: self.clone().into(),
> | ^^^^ the trait `From<proc_macro::Span>` is not implemented for `proc_macro2::Span`, which is required by `proc_macro::Span: Into<_>`
> |
> = note: required for `proc_macro::Span` to implement `Into<proc_macro2::Span>`
>
> For more information about this error, try `rustc --explain E0277`.
> error: could not compile `proc-macro-error` (lib) due to 2 previous errors
> warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
Hi @theoparis, I doubt we'll be able to land a PR that upgrades all crate versions. Some crates depend on a newer rustc toolchain which is difficult and risky to migrate to. (Not saying we shouldn't do it, just that it is a huge task.) May I suggest you try a more targeted update that resolves exactly the issue you're hitting - assuming that's an option?
I used this default.nix from another issue on this repository and received build errors due to the unmaintained proc-macro-error crate (the flake.nix file wants me to rebuild rustc). I think the clap crate is the problem.
Error:
The text was updated successfully, but these errors were encountered: