fn format_optimize_error_msg(v: impl Display) -> String