I keep running into this issue when trying to run mxpy contract build for a MultiversX smart contract:
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /home/dubskiski/multiversx-sdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/multiversx-sc-derive-0.39.8/src/lib.rs:4:12
|
4 | #![feature(proc_macro_quote)]
| ^^^^^^^^^^^^^^^^
For more information about this error, try `rustc --explain E0554`.
error: could not compile `multiversx-sc-derive` due to previous error
warning: build failed, waiting for other jobs to finish...
CRITICAL:cli:Build error: None.====> ] 108/119: serde_derive
I have set nightly to override and default (rustup show
):
Default host: x86_64-unknown-linux-gnu
rustup home: /home/dubskiski/snap/rustup/common/rustup
nightly-x86_64-unknown-linux-gnu (environment override by RUSTUP_TOOLCHAIN)
rustc 1.70.0-nightly (17c116721 2023-03-29)
Everywhere I look it says to do 'rustup default nightly
', this does not work for me. I found another thread on here with the same issue that wasn't resolved and closed after 90 days. Please help, thanks!