-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build because of error in frame-support v2.0.0-rc2 #276
Comments
Hi @udibr Thanks for trying out the recipes. I've run the command myself, and I did not hit the error you reported. You may be getting this error because of your rust compiler version. Can you please run joshy@pop-os:~/ProgrammingProjects/recipes$ cargo build --release -p kitchen-node
Updating git repository `https://github.com/encointer/substrate-fixed.git`
Compiling syn v1.0.27
Compiling sp-std v2.0.0-rc2
...
Compiling sc-cli v0.8.0-rc2
Finished release [optimized] target(s) in 6m 04s
joshy@pop-os:~/ProgrammingProjects/recipes$ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/joshy/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-2020-03-01-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu
1.43.1-x86_64-unknown-linux-gnu (default)
installed targets for active toolchain
--------------------------------------
wasm32-unknown-unknown
x86_64-unknown-linux-gnu
active toolchain
----------------
1.43.1-x86_64-unknown-linux-gnu (default)
rustc 1.43.1 (8d69840ab 2020-05-04) |
|
Indeed this was caused by a compiler problem. Here is the corresponding issue in Substrate itself paritytech/substrate#6167 It seems the compiler was reverted to its old behavior, so you should be able to update your toolchain (just run |
Works! Thanks!! (I tried before doing |
I run
cargo build --release -p kitchen-node
and get
The text was updated successfully, but these errors were encountered: