pub fn ensure_success(output: &Output, message: String) -> Result<(), Error>
Make sure a command finished successfully, otherwise throw an error.