Cargo build hangs with ” Blocking waiting for file lock on the registry index” after building parity from source October 24, 2022 by Tarik Running cargo clean seems to fix the problem.