pub fn print_on_failure(
    terse_mode: bool,
    warnings: &[CompileWarning],
    errors: &[CompileError]
)