[constraints] fix FormatConstraint.failed_message [applied]