Cargo build blocking message

~ $ cargo build

Blocking waiting for file lock on the git checkouts

This message will apear recently and for a lang time while compiling rust project.

How to fix it.

Something else is also running git or cargo, and it's waiting for it to finish. Perhaps your IDE is doing this?