Issue:I installed everything needed to start developing on Solana.I am trying to test a simple contract but when i run: anchor test, it errors out the following:
error: package `solana-program v1.18.11` cannot be built because it requires rustc 1.75.0 or newer, while the currently active rustc version is 1.72.0-devEither upgrade to rustc 1.75.0 or newer, or usecargo update -p solana-program@1.18.11 --precise verwhere `ver` is the latest version of `solana-program` supporting rustc 1.72.0-dev
I tried fixing it in every possible way but this problem is persistent.
I got version 1.77 installed.
Did anyone encounter this before?
Hardware:Apple Macbook Air M2