Consolidated checks for build success/failure, warnings, added [WARNING]

Added the missing `[WARNING]` colorization, and consolidated the other checks while at it.

`[WARNING]` was actually partially covered by the `WARN` check, but the first `[` wasn't colorized.