pub(crate) async fn run_index(state: State, opts: IndexOpts) -> Result<()>