You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then the project will not compile since the rust-toolchain file
the version of "rustc" is 1.72.1 and the build requires version 1.76
This error is not critical, just a simple user will not be able to fix it, since it is recommended to simply update everywhere, but it will not fix the error
This is the error returned
This is the error that is returned if you do not change the version in the file or delete it:
"
error: failed to compile snarkvm v0.16.19 (D:\snarkvm), intermediate artifacts can be found at D:\snarkvm\target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
Caused by:
package clap_lex v0.7.0 cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.72.1
Either upgrade to rustc 1.74 or newer, or use
cargo update -p clap_lex@0.7.0 --precise ver
where ver is the latest version of clap_lex supporting rustc 1.72.1
"
Environment
snarkVM Version = -
Rust Version = rustc 1.76.0
cargo 1.76.0
rustup 1.26.0
Computer OS = Windows
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
If you try to install snarkVM using the gitHub method :
https://github.com/AleoHQ/snarkVM?tab=readme-ov-file#22b-build-from-source-code
"
Download the source code
git clone https://github.com/AleoHQ/snarkvm && cd snarkvm
Install snarkVM
$ cargo install --path .
"
then the project will not compile since the rust-toolchain file
the version of "rustc" is 1.72.1 and the build requires version 1.76
This error is not critical, just a simple user will not be able to fix it, since it is recommended to simply update everywhere, but it will not fix the error
Steps to Reproduce
To see this error, follow these steps:
"
Download the source code
git clone https://github.com/AleoHQ/snarkvm && cd snarkvm
Install snarkVM
$ cargo install --path .
"
This is the error returned
This is the error that is returned if you do not change the version in the file or delete it:
"
error: failed to compile snarkvm v0.16.19 (D:\snarkvm), intermediate artifacts can be found at D:\snarkvm\target.
To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path.
Caused by:
package clap_lex v0.7.0 cannot be built because it requires rustc 1.74 or newer, while the currently active rustc version is 1.72.1
Either upgrade to rustc 1.74 or newer, or use
cargo update -p clap_lex@0.7.0 --precise ver
where ver is the latest version of clap_lex supporting rustc 1.72.1
"
Environment
cargo 1.76.0
rustup 1.26.0
The text was updated successfully, but these errors were encountered: