Fixed a bug where CompanionAnnotationsVerifier was logging errors as warnings.