Auto merge of #7502 - matthiaskrgr:dont_lock_target_dir_7490, r=ehuss
Auto merge of #7502 - matthiaskrgr:dont_lock_target_dir_7490, r=ehuss

don't lock the package cache when cleaning target dir.

Fixes #7490

vojtechkral/cargo,nipunn1313/cargo,tshepang/cargo,tsurai/cargo,tshepang/cargo,eminence/cargo,eminence/cargo,rust-lang/cargo,rust-lang/cargo,rust-lang/cargo,eminence/cargo,rust-lang/cargo,rustyhorde/cargo,vojtechkral/cargo,rustyhorde/cargo,vojtechkral/cargo,nipunn1313/cargo,nipunn1313/cargo,vojtechkral/cargo,rustyhorde/cargo,tshepang/cargo,nipunn1313/cargo,tsurai/cargo,tsurai/cargo,eminence/cargo,tsurai/cargo,tsurai/cargo,rustyhorde/cargo,tshepang/cargo