RUSTC PL rust/libquote.rlib error[E0464]: multiple candidates for `rmeta` dependency `proc_macro2` found --> rust/quote/ext.rs:5:5 | 5 | use proc_macro2::{TokenStream, TokenTree}; | ^^^^^^^^^^^ | = note: candidate #1: /usr/lib64/rustlib/aarch64-unknown-linux-gnu/lib/libproc_macro2-e7d557b4ab85aa8b.rmeta = note: candidate #2: ./rust/libproc_macro2.rlib error[E0282]: type annotations needed --> rust/quote/spanned.rs:31:44 | 31 | let mut iter = tokens.into_iter().map(|tt| tt.span()); | ^^ -- type must be known at this point | help: consider giving this closure parameter an explicit type | 31 | let mut iter = tokens.into_iter().map(|tt: /* Type */| tt.span()); | ++++++++++++ error[E0282]: type annotations needed --> rust/quote/spanned.rs:33:9 | 33 | let first = match iter.next() { | ^^^^^ ... 39 | .and_then(|last| first.join(last)) | ----- type must be known at this point | help: consider giving `first` an explicit type | 33 | let first: /* Type */ = match iter.next() { | ++++++++++++ error: aborting due to 3 previous errors Some errors have detailed explanations: E0282, E0464. For more information about an error, try `rustc --explain E0282`. make[2]: *** [rust/Makefile:525: rust/libquote.rlib] Error 1