This took me a long while to figure out, but I narrowed it down to just a single line:
println!("{:?}", queue);
queue.pop_front();
println!("{:?}", queue);
The elements are simple Clone/Copy structs; the first println outputs the queue in its normal state, whereas in the second all values are like 4294999990 or 123145302343606. This only happens in a quickcheck-like test suite where the queue is used super intensively, and pushes/pop are done thousands of times (it constantly fails at the same spot though).
I could try running it through valgrind if it helps, not sure how else I could help. Is this a known issue perhaps?
This took me a long while to figure out, but I narrowed it down to just a single line:
The elements are simple Clone/Copy structs; the first println outputs the queue in its normal state, whereas in the second all values are like 4294999990 or 123145302343606. This only happens in a quickcheck-like test suite where the queue is used super intensively, and pushes/pop are done thousands of times (it constantly fails at the same spot though).
I could try running it through valgrind if it helps, not sure how else I could help. Is this a known issue perhaps?