When compiling the criterion crate, starting with commit 1154c045655bdf6a750d0c3a21b42824e6e996e5 rustc 1.45.0 hangs (> 12 hours). This happens on NixOS with AMD or Intel compiler. The distribution is NixOS with Rust from the master branch of nixpkgs.
git clone https://github.com/bheisler/criterion.rs.git
cd criterion.rs
cargo build --release
Here is a flamegraph (made with HotSpot) of the running rustc
process of 12 minutes of running after running for 12 hours.
I'm wondering if anyone else has experienced this issue.