Grin: Error while compiling GRIN wallet. error: Edition 2018 is unstable and only available for nightly builds of rustc.

Created on 11 Jan 2019  路  3Comments  路  Source: mimblewimble/grin

Ive had the wallet up and running before, i dont know why this error keeps happening, ive tried a few suggestions from grin discord with no avail. Ive seen a similar issue #2102 and have tried those fixes with no avail. here is the readout of the error. oh also i have tried rustup install nightly and rustup default nightly commands with no avail.

error: Edition 2018 is unstable and only available for nightly builds of rustc.

error:Could not compile zeroize warning: build failed, waiting for other jobs to finish... error: build failed
this output is after running command sudo cargo build --release
also after i curl https://sh.rustup.rs/ -sSf | sh; source $HOME/.cargo/env
is still have to manually install cargo via sudo apt-get install cargo not sure if that has anything to do with this as well
Thanks

Most helpful comment

ill fix my own ticket i guess. I should probably pay attention better when following builds, because sometimes you have to pay attention to the outputs of commands you are running there can be useful information at the bottom. With that said while building grin wallet after running:
curl https://sh.rustup.rs/ -sSf | sh; source $HOME/.cargo/env
One will probably want to run after:
source $HOME/.cargo/env
then continue wtih the build. This may or may not help with other problems that are similar that require rustup update perhaps or the apt remove rustc
Thanks

All 3 comments

ill fix my own ticket i guess. I should probably pay attention better when following builds, because sometimes you have to pay attention to the outputs of commands you are running there can be useful information at the bottom. With that said while building grin wallet after running:
curl https://sh.rustup.rs/ -sSf | sh; source $HOME/.cargo/env
One will probably want to run after:
source $HOME/.cargo/env
then continue wtih the build. This may or may not help with other problems that are similar that require rustup update perhaps or the apt remove rustc
Thanks

thanks, I had the exact same issue and you saved me a lot of time working out why.

gracias, did the tricks :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

antiochp picture antiochp  路  3Comments

garyyu picture garyyu  路  4Comments

antiochp picture antiochp  路  7Comments

yeastplume picture yeastplume  路  3Comments

ignopeverell picture ignopeverell  路  3Comments