prusti-dev
prusti-dev copied to clipboard
Disabled tests
This is a tracking issue for tests that are currently disabled, either with // ignore-test or by being placed in the tests_old directory. Please edit this issue if the list is changed and state the reason and any related issues or PRs.
tests_old
- fails during fold/unfold or panics with "Location bb5[6] has not yet been encoded"
tests_old/filter/fail_reborrowing{,_2,_3,_4}.rs
- after #402, for these we need better recursive pure functions (manual axiomatisation)
tests_old/verify/fail/demos/append-sorted-error-{1,2,4}.rstests_old/verify/pass/demos/append-sorted.rstests_old/verify/pass/gitlab-issues/issue-187-1.rstests_old/verify/pass/paper-examples/force_increasing.rstests_old/verify/pass/quick/with-spec-list.rs(also has a fold/unfold issue)
- too slow/need purification optimisation
tests_old/verify/pass/competitive_programming/*
- unsupported feature: "unsupported creation of shallow borrows (implicitly created when lowering matches)" (although all other expected errors are found)
tests_old/verify/fail/simple-specs/order-of-branches.rs
- remaining snapshot issues? "Consistency error: expected the same type, but got Ref and Snap$m_A$beg$end"
tests_old/verify/pass/equality/pure-first-arg.rstests_old/verify/pass/equality/pure-identity-main.rstests_old/verify/pass/equality/pure-impure-3.rstests_old/verify/pass/equality/pure-post-4.rs
- returning a non-
Copyvalue from a pure function - maybe we don't actually want to support this?tests_old/verify/pass/equality/pure-identity.rs
- fails fold/unfold
tests_old/verify/pass/expiring-loans/borrow-join.rstests_old/verify/pass/expiring-loans/return_borrow.rstests_old/verify/pass/expiring-loans/use_returned_borrow.rs
- non-linear arithmetic
tests_old/verify/pass/loop-invs/sum.rs
- type invariants and typestates not (re)implemented
tests_old/verify/fail/erdinm/invariants-*.rstests_old/verify/fail/erdinm/typestates-*.rstests_old/verify/fail/marker-traits/*.rstests_old/verify/pass/erdinm/invariants-*.rstests_old/verify/pass/erdinm/typestates-basic-1.rstests_old/verify/pass/marker-traits/*.rstests_old/verify/pass/quick/marker-traits.rs
assert_on_expirytests_old/verify/fail/erdinm/assert-on-expiry.rstests_old/verify/failerdinm/pledges-basic-*.rs
- trait refinement,
refine_requirestests_old/verify/fail/trait-contracts-refinement/*.rstests_old/verify/pass/erdinm/pledges-basic-*.rstests_old/verify/pass/unsafe-traits/*.rs
- insufficient permission to assert postcondition?
tests_old/verify/pass/generic/linear_search.rs
ignore-test
- pending on a new closure PR
tests/verify/pass/closures/*.rs
- issues with generics and pure functions (generates a duplicate method)
tests/verify/pass/extern-spec/linked-list-i32.rstests/verify/pass/extern-spec/vec-3.rs
old(x)should produce a snapshot ofx, not implementedtests/verify/pass/gitlab-issues/issue-46-old-expr.rs
- magic wands in loop invariants
tests/verify/pass/loop-invs/borrow_in_guard.rstests/verify/pass/loop-invs/for_iter.rstests/verify/pass/loop-invs/simple_iterator.rs
- flaky tests (non-linear arithmetic)
tests/verify/pass/quick/knapsack.rstests/verify/pass/quick/mut-borrows-binary-search.rs
Minus one :tada:
verify_overflow/pass/rosetta /Knights_tour_generic.rs is disabled too because it was flaky due to random verification timeouts.