I wouldn't use any compost that had an active infestation of a potential pest of affected crops/ornamentals.
Vine weevils live at least part of their life in the soil, which is why they are in the compost, and also why they are hard to treat with pesticides. Some beneficial nematode treatments work, also some biologic treatments based on fungi.
You might be able to spread it on the lawn far from potentially-affected crops or ornamentals.