swallowed output line visible only upon second compile invocation #48940
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
While encountering this issue, I've noticed a discrepancy in the ouput while compiling Rust:
The compile error was referencing
rustc_driver
but the previous output contained no line(within a decent range from the error) sayingCompiling rustc_driver v0.0.0
, as if that line was somehow lost due to some kind of output buffer not being flushed, or something.I expected to see this happen:
Instead, this happened:
Now, there is one
Compiling rustc_driver
line here however that line is so far from the compile error that it doesn't seem to make any sense that that line is then the first and only line on the subsequent compilation attempt.In other words:
Why is the line with
Compiling rustc_driver
missing in the first compilation attempt here:https://gist.github.com/xftroxgpx/5eef3141eab2e4ccdfe0fa3255ff921d/d05bc152c4c4c02c4e241a60a278a940bb0549db#file-console-rs-L5015-L5018
but it's there in the second compilation attempt:
https://gist.github.com/xftroxgpx/5eef3141eab2e4ccdfe0fa3255ff921d/d05bc152c4c4c02c4e241a60a278a940bb0549db#file-console-rs-L5069-L5072
I even tried the above for a second time:
missing on first time compilation:
https://gist.github.com/xftroxgpx/5eef3141eab2e4ccdfe0fa3255ff921d/212fababd444b3caa8cfde7971a6e79867c61383#file-console-rs-L4996-L4999
visible on second time compilation:
https://gist.github.com/xftroxgpx/5eef3141eab2e4ccdfe0fa3255ff921d/212fababd444b3caa8cfde7971a6e79867c61383#file-console-rs-L5049-L5052
rustc used to compile (probably)
The text was updated successfully, but these errors were encountered: