Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Q2: Blocking waiting for file lock on the registry index #2

Open
yangwenmai opened this issue Apr 20, 2019 · 1 comment
Open

Q2: Blocking waiting for file lock on the registry index #2

yangwenmai opened this issue Apr 20, 2019 · 1 comment
Labels
question Further information is requested

Comments

@yangwenmai
Copy link
Owner

yangwenmai commented Apr 20, 2019

问题

cargo buildcargo run 出现:Blocking waiting for file lock on the registry index

产生的原因

~/.cargo/registry/index/* 目录下有一些中间状态的文件。(可能是因为网络不好导致拉取错误。)

解决方案

cargo clean

参考资料

https://stackoverflow.com/questions/47565203/cargo-build-hangs-with-blocking-waiting-for-file-lock-on-the-registry-index-a

@yangwenmai yangwenmai changed the title Blocking waiting for file lock on the registry index Q2: Blocking waiting for file lock on the registry index Apr 20, 2019
@yangwenmai yangwenmai added the question Further information is requested label Apr 20, 2019
@yubaoquan
Copy link

添加了新的依赖的时候也会出现这个, 可能是在下载依赖, 等一下就好了

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants