pub async fn validate_output_or_panic_in_script<S: Debug>(
    stage_number: usize,
    script_name: String,
    output: &S,
    assert: &dyn Predicate<S>,
) -> PredicateResult