-
Notifications
You must be signed in to change notification settings - Fork 2.6k
build failed when running cargo build --release
#5837
Comments
In master? |
@bkchr yeah it's in master. But the same error happens even if I checkout other branches like v2.0.0-alpha.6.
|
Which rust version are you using? |
I am going to get a substrate docker image in case there is something wrong with my local environment... BTW I tried with another ubuntu 18.04 laptop and same error occurred. |
I am having a similar error too.
Caused by: --- stderr error[E0282]: type annotations needed error[E0282]: type annotations needed error: aborting due to 3 previous errors For more information about this error, try To learn more, run the command again with --verbose. I am using |
This is an rustc error: rust-lang/rust#77638 |
Is the problem solved?I am having the same error too. |
i had the same issue and i solved it using the nightly-2020-10-06 compiler version as the documentation says: https://substrate.dev/docs/en/knowledgebase/getting-started/#webassembly-compilation Then i run the command setting the env variable WASM_BUILD_TOOLCHAIN:
|
I had the same error @hbulgarini suggestion fixed it 🎉 after I changed the
|
This solves it @manuelpolzhofer |
@bkchr I try to build a kitchen node but got: There is any place where I can find versions of Rust and toolchains required to build the node?
|
thank you |
not work for me T_T error[E0635]: unknown feature error: aborting due to previous error For more information about this error, try To learn more, run the command again with --verbose. |
work in Debian 10; cargo 1.51.0 (43b129a20 2021-03-16); |
just to install curl helped with ubuntu sudo apt install curl |
Thank You!! |
I got the following error on Ubuntu 20.04 by running
cargo build --release
The text was updated successfully, but these errors were encountered: