fn extract_inconclusive_errors(&self, out: &str) -> Vec<BoogieError> {
        INCONCLUSIVE_DIAG_STARTS
            .captures_iter(out)
            .filter_map(|cap| {
                let str = cap.name("str").unwrap().as_str();
                if str.contains("$verify_inconsistency") {
                    // Masks the timeout from the negative test for the inconsistency checking, and
                    // skips the error report of this instance.
                    None
                } else {
                    let line = cap.name("line").unwrap().as_str();
                    let col = cap.name("col").unwrap().as_str();
                    let msg = cap.get(0).unwrap().as_str();
                    let loc = self
                        .get_loc_from_pos(make_position(line, col))
                        .unwrap_or_else(|| self.env.unknown_loc());
                    Some(BoogieError {
                        kind: BoogieErrorKind::Inconclusive,
                        loc,
                        message: if msg.contains("out of resource") || msg.contains("timed out") {
                            let timeout = self.options.adjust_timeout(self.options.vc_timeout);
                            format!(
                                "verification out of resources/timeout (global timeout set to {}s)",
                                timeout
                            )
                        } else {
                            "verification inconclusive".to_string()
                        },
                        execution_trace: vec![],
                        model: None,
                    })
                }
            })
            .collect_vec()
    }
/// Extracts inconclusive (timeout) errors.
Extracts inconclusive (timeout) errors.
Extracts inconclusive ( timeout ) errors .
fn extract_inconclusive_errors(&self, out: &str) -> Vec<BoogieError> {
        INCONCLUSIVE_DIAG_STARTS
            .captures_iter(out)
            .filter_map(|cap| {
                let str = cap.name("str").unwrap().as_str();
                if str.contains("$verify_inconsistency") {
                    // Masks the timeout from the negative test for the inconsistency checking, and
                    // skips the error report of this instance.
                    None
                } else {
                    let line = cap.name("line").unwrap().as_str();
                    let col = cap.name("col").unwrap().as_str();
                    let msg = cap.get(0).unwrap().as_str();
                    let loc = self
                        .get_loc_from_pos(make_position(line, col))
                        .unwrap_or_else(|| self.env.unknown_loc());
                    Some(BoogieError {
                        kind: BoogieErrorKind::Inconclusive,
                        loc,
                        message: if msg.contains("out of resource") || msg.contains("timed out") {
                            let timeout = self.options.adjust_timeout(self.options.vc_timeout);
                            format!(
                                "verification out of resources/timeout (global timeout set to {}s)",
                                timeout
                            )
                        } else {
                            "verification inconclusive".to_string()
                        },
                        execution_trace: vec![],
                        model: None,
                    })
                }
            })
            .collect_vec()
    }
fn extract_inconclusive_errors ( & self , out : & str ) -> Vec < BoogieError > { INCONCLUSIVE_DIAG_STARTS . captures_iter ( out ) . filter_map ( | cap | { let str = cap . name ( " " ) . unwrap ( ) . as_str ( ) ; if str . contains ( " " ) { // Masks the timeout from the negative test for the inconsistency checking, and // skips the error report of this instance. None } else { let line = cap . name ( " " ) . unwrap ( ) . as_str ( ) ; let col = cap . name ( " " ) . unwrap ( ) . as_str ( ) ; let msg = cap . get ( 0 ) . unwrap ( ) . as_str ( ) ; let loc = self . get_loc_from_pos ( make_position ( line , col ) ) . unwrap_or_else ( | | self . env . unknown_loc ( ) ) ; Some ( BoogieError { kind : BoogieErrorKind :: Inconclusive , loc , message : if msg . contains ( " " ) || msg . contains ( " " ) { let timeout = self . options . adjust_timeout ( self . options . vc_timeout ) ; format ! ( " " timeout ) } else { " " . to_string ( ) } , execution_trace : vec ! [ ] , model : None , } ) } } ) . collect_vec ( ) }
Extracts inconclusive (timeout) errors.
Extracts inconclusive ( timeout ) errors .
&self
out
&str