@Vytautas Astrauskas I had kind of forgotten about https://github.com/rust-lang/rust/pull/51139 — were you ever able to reproduce?
Yes, the following commands give a clear repro:
git clone https://github.com/vakaras/rust.git -b issue-50716 issue-50716 cd issue-50716/ ./x.py build ./x.py test src/tools/cargotest src/tools/cargo
However, I have not found yet time to properly investigate it.
Maybe, I'll manage to look into it over the weekend.
I can try to at some point maybe but still in "catch up mode"
OK. I'll most likely ping you once I have more concrete questions/observations.