"cargo build" Reported During TiKV Compilation
Symptom
The message "error: failed to fetch `https://github.com/rust-lang/crates.io-index`" is displayed during TiKV compilation.

Key Process and Cause Analysis
HTTP or HTTPS
Conclusion and Solution
- Add the following content to the $HOME/.cargo/config file:
1 2
[net] git-fetch-with-cli = true
- Compile TiKV again.
Parent topic: Troubleshooting