I tried this code:
// fmt.rs
#[kani::proof]
fn fmt_i8() {
let num: i8 = kani::any();
let s = format!("{num}");
assert!(s.len() <= 4);
}
using the following command line invocation:
with Kani version: #2551
I expected to see this happen: Verification succeeds in a matter of seconds (before upgrade this harness used to take 6s)
Instead, this happened: Verification took about 10 minutes.