Use rust_try_get_task for compat with new rt, and strenghten assumptions about borrow list