I tried this code:
#[kani::proof]
fn dummy() {
assert!(1 + 1 == 2);
}
using the following command line invocation:
kani dummy-file.rs | head -n 1
with Kani version: 0.32.0
I expected to see this happen: All lines filtered except for the first one
Instead, this happened:
thread '<unnamed>' panicked at 'failed printing to stdout: Broken pipe (os error 32)', library/std/src/io/stdio.rs:1019:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Looks like this affects many Rust projects, see rust-lang/rust#46016