Caused by : faile to fetch "https://github.com/rust-lang/crates.io-index' if a proxy or similar is necessary ' net-git-fetch-with-cli' may help here.

Reply to this note

Please Login to reply.

Discussion

Then I googled found this : now i fixed it. in china, we need to set a china source for the crates:

cd $HOME/.cargo

But I can not find ~/.cargo, so I think I need to install rust and cargo first.

Now I am installin rust curl https://sh.rustup.rs -sSf | sh

github is blocked?

The source is blocked, need to change to China source mirror.