error: rustc 1.79.0-dev is not supported by the following package:
Note that this is the rustc version that ships with Solana tools and not your system's rustc version. Use `solana-install update` or head over to to install a newer version.
[email protected] requires rustc 1.84
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.79.0-dev
I am getting this error, and I did follow the solana development setup from solana official website.
error: rustc 1.79.0-dev is not supported by the following package:
Note that this is the rustc version that ships with Solana tools and not your system's rustc version. Use `solana-install update` or head over to https://docs.solanalabs/cli/install to install a newer version.
[email protected] requires rustc 1.84
Either upgrade rustc or select compatible dependency versions with
`cargo update <name>@<current-ver> --precise <compatible-ver>`
where `<compatible-ver>` is the latest version supporting rustc 1.79.0-dev
I am getting this error, and I did follow the solana development setup from solana official website.
Share Improve this question asked Mar 23 at 19:03 AdityaAditya 11 bronze badge3 Answers
Reset to default 2you can refer these links where they suggest using version 1.8.1
.
1] https://github/coral-xyz/anchor/issues/3614#issuecomment-2745025030
2] https://github/coral-xyz/anchor/issues/3606#issuecomment-2738357920
downgrade the bytemuck_derive package from version 1.9.2 to version 1.8.4
cargo update -p [email protected] --precise 1.8.4
@ri-dev answered correctly, you can also patch your Cargo.lock instead:
[[package]]
name = "bytemuck_derive"
version = "1.8.0"
source = "registry+https://github/rust-lang/crates.io-index"
checksum = "bcfcc3cd946cb52f0bbfdbbcfa2f4e24f75ebb6c0e1002f7c25904fada18b9ec"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.90",
]