You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[C] Feature / EnhancementA new feature request or enhancement to an existing feature.[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.
Use case: Messages inside Kani driver should have a proper category and follow standard format.
E.g.:
Validation that fails due to user invalid input should not appear to be a Kani crash.
No harnesses have been found by Kani.
Test case:
$ cargo new --lib pkg
$ cd pkg
$ cargo kani -p wrong_name
thread 'main' panicked at 'Cannot find package 'wrong_name'', kani-driver/src/call_cargo.rs:151:22
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Instead, I expected a more friendly error that doesn't look like Kani bug. E.g.:
$ cargo build -p wrong_name
error: package ID specification `wrong_name` did not match any packages
[C] Feature / EnhancementA new feature request or enhancement to an existing feature.[E] User ExperienceAn UX enhancement for an existing feature. Including deprecation of an existing one.
Activity
feliperodri commentedon Nov 5, 2026
Closing: kani-driver/src/call_cargo.rs; fixed in 5e67b63; fixed in 9cb5005. Reopen with a minimal repro if it still happens.