Open thounyy opened 2 years ago
Do you remember what changes you made in between re-typing the code to fix the bug, and when the bug occured for the second time?
I think until validation in this tutorial it worked fine and when I added the querying part it happened https://docs.elrond.com/developers/tutorials/crowdfunding-p2/ And the first time it happened was in the part 1 when I wrote the init function
Could you link me to your full repository?
sure it's here : https://github.com/ThounyBreasty/ElrondCrowdfunding
Just got the same error after updating rust using brew
error[E0554]: #![feature]
may not be used on the stable release channel
--> /elrondsdk/vendor-rust/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-derive-0.36.1/src/lib.rs:4:12
rust: stable 1.64.0 (bottled), HEAD
Uninstalling rust from brew did the trick for me..
You can also take a look here: https://stackoverflow.com/questions/72448056/error-while-building-with-erdpy-for-crowdfunding
Edit
Someone found how to fix the bug. Apparently by modifying lines above contract trait in main.rs it creates the bug when compiling. So the DIY solution is to delete ./meta and build the contract again.
Context
Developing Smart Contract on Elrond with their sdk. Basically following this tutorial https://docs.elrond.com/developers/tutorials/crowdfunding-p2/
When I run erdpy build contract I get this bug. First time I fixed it by deleting and typing the content of the smart contract a second time. But now I get this bug again and the contract is too long.
Checking backtrace I got "error[E0554]:
#![feature]
may not be used on the stable release channel". So I tried with nightly but nothing change.Code
Meta
rustc --version --verbose
:Error output
Backtrace
``` error[E0554]: `#![feature]` may not be used on the stable release channel --> /home/thoune/.cargo/registry/src/github.com-1ecc6299db9ec823/elrond-wasm-derive-0.26.0/src/lib.rs:4:12 | 4 | #![feature(proc_macro_quote)] | ^^^^^^^^^^^^^^^^ For more information about this error, try `rustc --explain E0554`. error: could not compile `elrond-wasm-derive` due to previous error warning: build failed, waiting for other jobs to finish... error: build failed ```