It depends what kind of mistakes and whether they are repeat mistakes.
Everyone makes mistakes, sure, and that should be accepted, but if they are caused by carelessness or incompetence, or if the same mistake keeps being repeated then there ought to be consequences.
A safe environment does not mean anything goes.