Incorrect load rustc version #3028
Labels
cli
compile error
Issues related to compile errors
duplicate
This issue or pull request already exists
lang
My rustc is latest one
% rustc -V
rustc 1.79.0 (129f3b996 2024-06-10)
but when I run anchor test for project I just init through command:
anchor init day1
It shows I am using rustc version 1.68.0-dev
$anchor test --skip-local-validator
error: package
solana-program v1.18.16
cannot be built because it requires rustc 1.75.0 or newer, while the currently active rustc version is 1.68.0-devEither upgrade to rustc 1.75.0 or newer, or use
cargo update -p [email protected] --precise ver
where
ver
is the latest version ofsolana-program
supporting rustc 1.68.0-devThe text was updated successfully, but these errors were encountered: