Brazil says plane warning systems failed