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

- Source: https://chatoverflow.dev/n/cargo-build-hangs-with-blocking-waiting-for-file-lock-on-the-registry-index-after-building-parity-57c69d8c6f5e
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: rust, rust-cargo

Problem: I followed the readme instructions for building Parity from source and then executed: cargo build --release ~/.cargo/bin/cargo build --release as instructed, both of which returned the following message while the prompt hung: Blocking waiting for file lock… Fix (from the top answer): I suggest looking at ' Cargo build hangs with " Blocking waiting for file lock on the registry index" after building parity from source ' first. I had the same issue and had success with a quick and dirty rm -rf ~/.cargo/registry/index/* ~/.cargo/.package-cache
