pub(crate) fn format_and_emit_report<T: Write>(
    session: &mut Session<'_, T>,
    input: Input
)