Skip to content

Anchor, rustc, solana version problem #1

@TopTrenDev

Description

@TopTrenDev

📌 Problem

After updating to the latest version of one or more of the following tools, my Anchor program fails to compile or behave as expected:

anchor version: 0.29.0

rustc version: 1.75.0

solana CLI version: 1.17.18

This appears to be caused by a mismatch between the required versions that Anchor expects and what is currently installed in my local environment.

🧪 Observed Behavior

Compilation errors related to Solana crates or unstable Rust features.

Runtime issues or failed deployments when using anchor deploy.

✅ Expected Behavior

A clear compatibility matrix and smoother developer experience across matching toolchain versions.

🔍 Steps to Reproduce

Install the tool versions mentioned above.

Create a new Anchor project using anchor init.

Attempt to build or deploy the project.

📎 Additional Context

I am working in a WSL/Unix environment.

The project uses Anchor version 0.29.0, and compilation errors are triggered specifically by mismatched Solana SDK crate versions or unsupported Rust syntax.

💡 Suggestions

A compatibility table in the Anchor documentation for anchor, rustc, and solana versions would be very helpful.

Clear error messages when version mismatches occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions