Quantcast
Channel: Active questions tagged rustc - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 37

"package solana-program v1.18.7 cannot be built" error [duplicate]

$
0
0

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?


Viewing all articles
Browse latest Browse all 37

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>