report

Function report 

Source
pub(crate) fn report<'a>(
    installers_res: &'a [(&'a str, Result<Result<()>>)],
) -> Result<(), Vec<&'a str>>
Expand description

Summarize installer thread outcomes; collect failing bin names.

§Errors

  • Does not construct a rich error enum; instead returns failing bin names. Individual installers are expected to have already printed detailed stderr output.
  • A thread panic is logged immediately and its bin name added to the returned list.

§Rationale

  • Simple bin-name list keeps aggregation lightweight for CI scripting.
  • Delegates detailed formatting to installers; central function only normalizes aggregation.
  • Easier to extend with JSON output later (convert list directly).