write warnings to reason_failed