The first time that command runs, it needs to download Rust libraries, and if your internet connection is slow that may be taking a long time - you could monitor the download using the network tab of activity monitor.
Yes, in China the internet connection with the sever is too slow. I switched to a mirror server but I kept getting error when running the codes. After several hours waiting it finished. Now I can run the codes successfully.