❌ Error: package solana-program v1.z cannot be built because it requires rustc 1.x or newer, while the currently active rustc version is 1.y-dev
- Run:
solana-install update
- If that doesn't work, explicilty define solana-program's version in your project
cargo update -p solana-program --precise $(solana --version | awk '{print $2}')