Skip to content

Cargo build giving checksum mismatch error #13414

@neetabisht

Description

@neetabisht

Problem

Hi All,
I have cargo.toml file present in windows 11 machine where trying to use rumqtt 0.31.0 version.

cargo-toml
But when i am running "cargo build" cli, I'm getting below error:

**$ cargo build
    Updating crates.io index
  Downloaded autocfg v0.1.8
error: failed to download replaced source registry `crates-io`

Caused by:
  failed to verify the checksum of `autocfg v0.1.8`**

can anyone please help me with this error.

Steps

steps:

  1. Install rust
  2. Install gitbash to run all commands.
  3. Modify the cargo.toml file as per above screen shot.
  4. execute "cargo build" cli.

Possible Solution(s)

No response

Notes

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bugS-needs-infoStatus: Needs more info, such as a reproduction or more background for a feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions