@@ -11,7 +11,7 @@ use std::time::{Duration, Instant};
1111
1212use crate :: args:: { OutputFormat , VerificationArgs } ;
1313use crate :: cbmc_output_parser:: {
14- extract_results, process_cbmc_output, CheckStatus , ParserItem , Property , VerificationOutput ,
14+ extract_results, process_cbmc_output, CheckStatus , Property , VerificationOutput ,
1515} ;
1616use crate :: cbmc_property_renderer:: { format_coverage, format_result, kani_cbmc_output_filter} ;
1717use crate :: session:: KaniSession ;
@@ -45,9 +45,6 @@ pub struct VerificationResult {
4545 pub status : VerificationStatus ,
4646 /// The compact representation for failed properties
4747 pub failed_properties : FailedProperties ,
48- /// The parsed output, message by message, of CBMC. However, the `Result` message has been
49- /// removed and is available in `results` instead.
50- pub messages : Option < Vec < ParserItem > > ,
5148 /// The `Result` properties in detail or the exit_status of CBMC.
5249 /// Note: CBMC process exit status is only potentially useful if `status` is `Failure`.
5350 /// Kani will see CBMC report "failure" that's actually success (interpreting "failed"
@@ -254,15 +251,14 @@ impl VerificationResult {
254251 start_time : Instant ,
255252 ) -> VerificationResult {
256253 let runtime = start_time. elapsed ( ) ;
257- let ( items , results) = extract_results ( output. processed_items ) ;
254+ let ( _ , results) = extract_results ( output. processed_items ) ;
258255
259256 if let Some ( results) = results {
260257 let ( status, failed_properties) =
261258 verification_outcome_from_properties ( & results, should_panic) ;
262259 VerificationResult {
263260 status,
264261 failed_properties,
265- messages : Some ( items) ,
266262 results : Ok ( results) ,
267263 runtime,
268264 generated_concrete_test : false ,
@@ -272,7 +268,6 @@ impl VerificationResult {
272268 VerificationResult {
273269 status : VerificationStatus :: Failure ,
274270 failed_properties : FailedProperties :: Other ,
275- messages : Some ( items) ,
276271 results : Err ( output. process_status ) ,
277272 runtime,
278273 generated_concrete_test : false ,
@@ -284,7 +279,6 @@ impl VerificationResult {
284279 VerificationResult {
285280 status : VerificationStatus :: Success ,
286281 failed_properties : FailedProperties :: None ,
287- messages : None ,
288282 results : Ok ( vec ! [ ] ) ,
289283 runtime : Duration :: from_secs ( 0 ) ,
290284 generated_concrete_test : false ,
@@ -295,7 +289,6 @@ impl VerificationResult {
295289 VerificationResult {
296290 status : VerificationStatus :: Failure ,
297291 failed_properties : FailedProperties :: Other ,
298- messages : None ,
299292 // on failure, exit codes in theory might be used,
300293 // but `mock_failure` should never be used in a context where they will,
301294 // so again use something weird:
0 commit comments