fn check_thread_count(
    unstable_opts: &UnstableOptions,
    error_format: ErrorOutputType
)