Skip to content

solana-verify build does not play nicely with rust-toolchain.toml of different cargo versions #50

@buffalu

Description

@buffalu

When using rust-toolchain.toml, one often runs into the following error:

Finished fetching build dependencies
error: Unable to update registry `crates-io`

Caused by:
  attempting to make an HTTP request, but --frozen was specified
Finished building program
Program Solana version: v1.16.20
Docker image Solana version: v1.16.20

This can happen even when the rust-toolchain.toml matches the version in the solana v1.16.20 repository.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions