Cargo build hangs with " Blocking waiting for file lock on the registry index" after building parity from source

Naruto Sempai picture Naruto Sempai · Nov 30, 2017 · Viewed 23.1k times · Source

I followed the readme instructions for building Parity from source and then I execute this command:

cargo build --release

and then:

~/.cargo/bin/cargo build --release

.. as instructed; both of which cause me to receive the following message while the prompt hangs:

 Blocking waiting for file lock on the registry index

I'm on a Mac.

Answer

Russel Winder picture Russel Winder · Apr 3, 2018

Running cargo clean seems to fix the problem.