thread 'main' panicked at ...kani-verifier-0.54.0/src/lib.rs:156:38: No exit code?
I'm not able to provide an example here, but a proof is causing Kani version 0.54 to panic with the message above and references the following line:
https://github.com/model-checking/kani/blob/e6f8a62d689d0b0ebcbabe3661be6273c5ab9be8/src/lib.rs#L156
There were no issues w/ version 0.53 or prior.
Hi @weaversa , is there any information about your invocation that you can provide that could help us reproduce this crash? Some details that would be useful are
- The command that you invoked that caused the crash.
- The OS that you are running the command on
- Did verification fail or succeed before this crash?
- Did you go through the setup process by running
cargo-kani setupfor example.
Thank you @jaisnan --
cargo kani --output-format terse- Ubuntu 22.04
- I see that Kani is
Checking harness ...thenCompiling ...and thenthread 'main' panicked... - Kani is installed in the container via
I am using Kani in a CI job and many theorems are checked just fine. One in particular is now failing with version 0.54.0 with the panic message above.RUN curl https://sh.rustup.rs -sSf | bash -s -- -y \ && cargo install --locked kani-verifier \ && cargo kani setup
Would it be possible to share a synthetic example that might have caused the crash?
I'm sorry that I don't have such an example.
Hi @weaversa, sorry for the late reply. May I ask you to run kani with RUST_BACKTRACE and send us information about the stack trace you are getting (if any). Thanks!