I have a new Rust project that gives the following error when I compile it.
package `solana-program v1.18.7` cannot be built because it requires rustc 1.72.0 or newer, while the currently active rustc version is 1.68.0-devEither upgrade to rustc 1.72.0 or newer, or usecargo update -p solana-program@1.18.7 --precise verwhere `ver` is the latest version of `solana-program` supporting rustc 1.68.0-dev
How can I solve this error?