-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade Rust toolchain to nightly-2024-01-23 #2983
Upgrade Rust toolchain to nightly-2024-01-23 #2983
Conversation
- This is due to the safety fix to the internal function, which was done here: rust-lang/rust#120128
Dependency upgrade resulting from `cargo update`. Co-authored-by: tautschnig <tautschnig@users.noreply.github.com>
These are the auto-generated release notes for comparison purposes: ## What's Changed * Rethink `should_panic` and `fail_uncoverable` options as global conditions by @adpaco-aws in model-checking#2967 * Upgrade toolchain to nightly-2024-01-17 by @celinval in model-checking#2976 * Benchcomp visualize: fix missing import by @tautschnig in model-checking#2977 * Cargo update 2024-01-18 by @remi-delmas-3000 in model-checking#2978 **Full Changelog**: model-checking/kani@kani-0.44.0...kani-0.45.0 By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.
Make __kani__workaround_core_assert public in lib.rs
Some perf benchmarks regress from success to failure. We should not merge this PR until we fix them. |
I did a quick research, the loop unwind assertion fails in function: ... My hypothesis is that the change in behavior we are seeing is due to rust-lang/rust#111803 where the threshold for calling nonoverlapping swap changed. Increasing the unwind limit seems to suffice to fix most harnesses. Unfortunately, |
I tried applying model-checking#2983 fix, however, this would require user to import `__kani_workaround_core_assert`. To fix that, I moved the definition to be under `kani` crate.
I tried applying #2983 fix, however, this would require user to import `__kani_workaround_core_assert`. To fix that, I moved the definition to be under `kani` crate. I replaced the existing fixme test. Initially I didn't check we had one, and I created a second one which is simpler (no cargo needed) but that also includes other cases. Resolves #2187
Signed-off-by: Felipe R. Monteiro <felisous@amazon.com>
Some change has dramatically increase the memory usage for this harness. For now, we should include this harness in the list of slow tests until we are able to identify the cause. We also fix the unwind in the remaning harnesses. Signed-off-by: Felipe R. Monteiro <felisous@amazon.com>
Signed-off-by: Felipe R. Monteiro <felisous@amazon.com>
Signed-off-by: Felipe R. Monteiro <felisous@amazon.com>
Try upgrading Rust toolchain to 2024-01-22, however, regression isn't working yet due to an issue with our assertion override hack. Related PRs so far:
track_errors
usages with bubbling upErrorGuaranteed
rust-lang/rust#119869Resolves #ISSUE-NUMBER
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.