Rust 无法用字节顺序更新注册表

Rust 无法用字节顺序更新注册表,rust,rust-cargo,Rust,Rust Cargo,我在执行货物运行时出错。我在my Cargo.toml中添加了行byteorder=“0.3.13”,下面是货物运行--verbose的输出: Updating registry `https://github.com/rust-lang/crates.io-index` Unable to update registry https://github.com/rust-lang/crates.io-index Caused by: failed to fetch `https://githu

我在执行
货物运行
时出错。我在my Cargo.toml中添加了行
byteorder=“0.3.13”
,下面是
货物运行--verbose的输出:

Updating registry `https://github.com/rust-lang/crates.io-index`
Unable to update registry https://github.com/rust-lang/crates.io-index

Caused by:
failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
[9] Object not found - failed to find pack entry (c7c0b5bc32630012be674d1cacd1487d09a2c0b5)

当我拆下线路时,一切正常。如何修复此错误?

已修复!我刚刚用multirust每晚重新安装了rust:)

看起来索引存储库由于某种原因被破坏了。考虑删除<代码> ~/货物/注册表/索引/GITHUB.COMXXXXXX < /代码>并再次运行生成。或者你可以完全删除
~/.cargo
目录,从头开始。谢谢你的回答,我已经这样做了,总是同样的错误。