pub fn report_error_new(
    engine_state: &EngineState,
    error: &(dyn Diagnostic + Send + Sync + 'static)
)