执行时出现错误cargo run
。我将该行添加byteorder = "0.3.13"
到我的 Cargo.toml 中,这是输出cargo run --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)
当我删除线路时,一切正常。如何修复此错误?