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
{{ message }}
Repository navigation
Warning about unsupported caller_location intrinsic #2010
Kani almost always emits the following annoying warning on any program:
warning: Found the following unsupported constructs:
- caller_location (1)
Verification will fail if one or more of these constructs is reachable.
See https://model-checking.github.io/kani/rust-feature-support.html for more details.
warning: 1 warning emitted
This still occurs on programs involving panic!, e.g:
#[kani::proof]fnmain(){panic!("Some message");}
$ kani simp_panic.rs
warning: Found the following unsupported constructs:
- caller_location (1)
Verification will fail if one or more of these constructs is reachable.
See https://model-checking.github.io/kani/rust-feature-support.html for more details.
warning: 1 warning emitted
Checking harness main...
...
caller_location is now handled in kani-compiler/src/intrinsics.rs:229. Running kani on panic!("test") produces no caller_location warning. The intrinsic was implemented.
Activity
zhassan-aws commentedon Dec 22, 2022
This still occurs on programs involving
panic!, e.g:Reopening.
feliperodri commentedon Apr 1, 2026
caller_locationis now handled in kani-compiler/src/intrinsics.rs:229. Running kani onpanic!("test")produces nocaller_locationwarning. The intrinsic was implemented.