compilation-mode has a nice feature so that you can skip over your info and warning level messages and jump right to those nasty errors. Set the variable
2 so that
M-p will jump to the next or previous error respectively. The other possible settings for this variable are:
2 — skip anything less than error
1 — skip anything less than warning, or
0 — don’t skip any messages.
Note that all messages not positively identified as warning or info are considered errors.