Up until version 2.26.0, for all compilation failures the error message:
ERROR: Build did NOT complete successfully
used to be logged.
This is particularly helpful to distinguish between compilation failures or any other failures in complex projects like bazel (or any script failures).
Post 2.27.0, this message stopped coming.