Since the last commit, I can’t compile anymore Valutwarden.
Here the error:
error[E0658]: use of unstable library feature 'proc_macro_is_available'
--> /home/adrien/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.34/src/detection.rs:28:21
|
28 | let available = proc_macro::is_available();
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #71436 <https://github.com/rust-lang/rust/issues/71436> for more information
= help: add `#![feature(proc_macro_is_available)]` to the crate attributes to enable
For more information about this error, try `rustc --explain E0658`.
error: could not compile `proc-macro2` due to previous error
error: build failed
Rustup version:
rustup -V
rustup 1.24.3 (ce5817a94 2021-05-31)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.57.0-nightly (003d8d3f5 2021-10-04)`
You are using an older nightly version of rust then is configured via the rust-toolchain file, it should be using 2021-12-24, you are still using an older version. Maybe that causes an issue here.
If you are within the vaultwarden source folder, you should see the following output when you run rustc -vV and cargo -vV
both rustc and cargo check the file rust-toolchain and adjust the version to be used upon that.
The latest main branch has nightly-2021-12-25 (Which shows the nightly 2021-12-24).