It’s not uncommon to have cargo check outputting a little more than what fits the screen.
In most languages looking at the start would be a good idea because most tail errors are really consequences of the ones at head.
In rust we could for example use something like
cargo --color always check 2>&1 | head -n 80
but I’m unsure for rust, as the last outputted errors don’t seem irrelevant.
Is there a reason to prefer one end ? What’s your practice ?
- read head first
- read tail first