Work around #8256, do not fail the task, just return None
auto merge of #8278 : cmr/rust/workaround, r=brson