@@ -11,7 +11,7 @@ use std::time::{Duration, Instant};
11
11
12
12
use crate :: args:: { OutputFormat , VerificationArgs } ;
13
13
use crate :: cbmc_output_parser:: {
14
- extract_results, process_cbmc_output, CheckStatus , ParserItem , Property , VerificationOutput ,
14
+ extract_results, process_cbmc_output, CheckStatus , Property , VerificationOutput ,
15
15
} ;
16
16
use crate :: cbmc_property_renderer:: { format_coverage, format_result, kani_cbmc_output_filter} ;
17
17
use crate :: session:: KaniSession ;
@@ -45,9 +45,6 @@ pub struct VerificationResult {
45
45
pub status : VerificationStatus ,
46
46
/// The compact representation for failed properties
47
47
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 > > ,
51
48
/// The `Result` properties in detail or the exit_status of CBMC.
52
49
/// Note: CBMC process exit status is only potentially useful if `status` is `Failure`.
53
50
/// Kani will see CBMC report "failure" that's actually success (interpreting "failed"
@@ -254,15 +251,14 @@ impl VerificationResult {
254
251
start_time : Instant ,
255
252
) -> VerificationResult {
256
253
let runtime = start_time. elapsed ( ) ;
257
- let ( items , results) = extract_results ( output. processed_items ) ;
254
+ let ( _ , results) = extract_results ( output. processed_items ) ;
258
255
259
256
if let Some ( results) = results {
260
257
let ( status, failed_properties) =
261
258
verification_outcome_from_properties ( & results, should_panic) ;
262
259
VerificationResult {
263
260
status,
264
261
failed_properties,
265
- messages : Some ( items) ,
266
262
results : Ok ( results) ,
267
263
runtime,
268
264
generated_concrete_test : false ,
@@ -272,7 +268,6 @@ impl VerificationResult {
272
268
VerificationResult {
273
269
status : VerificationStatus :: Failure ,
274
270
failed_properties : FailedProperties :: Other ,
275
- messages : Some ( items) ,
276
271
results : Err ( output. process_status ) ,
277
272
runtime,
278
273
generated_concrete_test : false ,
@@ -284,7 +279,6 @@ impl VerificationResult {
284
279
VerificationResult {
285
280
status : VerificationStatus :: Success ,
286
281
failed_properties : FailedProperties :: None ,
287
- messages : None ,
288
282
results : Ok ( vec ! [ ] ) ,
289
283
runtime : Duration :: from_secs ( 0 ) ,
290
284
generated_concrete_test : false ,
@@ -295,7 +289,6 @@ impl VerificationResult {
295
289
VerificationResult {
296
290
status : VerificationStatus :: Failure ,
297
291
failed_properties : FailedProperties :: Other ,
298
- messages : None ,
299
292
// on failure, exit codes in theory might be used,
300
293
// but `mock_failure` should never be used in a context where they will,
301
294
// so again use something weird:
0 commit comments