pub(crate) fn main_options(options: Options) -> Result<(), ErrorGuaranteed>