task::with_task_name is deprecated