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
error[E0658]: use of unstable library feature 'proc_macro_is_available'
--> /home/user2038/.cargo/registry/src/github.com-1ecc6299db9ec823/proc-macro2-1.0.37/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
warning: build failed, waiting for other jobs to finish...
error: build failed
my Rust compiler was chosen by the rust-toolchain file:
pureStakeCrowdloanReward git:(moonbeam-polkadot-v0.9.18) $ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/user2038/.rustup
installed toolchains
stable-x86_64-unknown-linux-gnu
nightly-2021-09-10-x86_64-unknown-linux-gnu
nightly-2021-11-12-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
bpf
1.59.0-x86_64-unknown-linux-gnu (default)
installed targets for active toolchain
wasm32-unknown-unknown
x86_64-unknown-linux-gnu
active toolchain
nightly-2021-09-10-x86_64-unknown-linux-gnu (overridden by '/mnt/sda3/polkadot/pureStakeCrowdloanReward/rust-toolchain')
rustc 1.57.0-nightly (497ee321a 2021-09-09)
The text was updated successfully, but these errors were encountered:
@notlesh for me, both "cargo test" and "cargo build --release" in the moonbeam-polkadot-v0.9.18 branch result in the same error above. Yes the compiler in rust-toolchain is very old... I suggest using Rust 1.59.0, not to use the latest Rust 1.60.0 because I have problem compiling Parity's Frontier repo as well: polkadot-evm/frontier#633. Rust 1.59.0 is good to compile that. Thank you
my Rust compiler was chosen by the rust-toolchain file:
pureStakeCrowdloanReward git:(moonbeam-polkadot-v0.9.18) $ rustup show
The text was updated successfully, but these errors were encountered: