fn check_thread_count(
    debugging_opts: &DebuggingOptions,
    error_format: ErrorOutputType
)