fn task_set_from_state<'a>( state: &'a ImportState, state_path: &Path, ) -> Result<BTreeSet<(u32, &'a str)>>