Skip to content

build version issue #3614

@z-hanwen

Description

@z-hanwen

here is my anchor build error.
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 updateor head over to https://docs.solanalabs.com/cli/install to install a newer version. bytemuck_derive@1.9.2 requires rustc 1.84 Either upgrade rustc or select compatible dependency versions withcargo update @ --precise where is the latest version supporting rustc 1.79.0-dev

here is my all versions;
solana --version solana-cli 2.1.16 (src:a5744e79; feat:3271415109, client:Agave)

rustc --version rustc 1.85.1 (4eb161250 2025-03-15)

anchor --version anchor-cli 0.31.0

Should I lower the version of rust??

Metadata

Metadata

Assignees

No one assigned

    Labels

    compile errorIssues related to compile errorsduplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions