Skip to content

vec_deque::tests::test_drain panicking on debug build #29492

Closed
@pnkfelix

Description

@pnkfelix

vec_deque::tests::test_drain panicking on debug build

Here are my configure switches:

CFG_CONFIGURE_ARGS   := --enable-debug --enable-optimize --enable-ccache --prefix=~/opt/rust-dbg --disable-optimize-tests --disable-llvm-assertions

I suspect the important bit there is the --enable-debug.

When I run make check, it fails during collectionstest:

failures:                                                                                                         

---- vec_deque::tests::test_drain stdout ----                                                                     
        thread 'vec_deque::tests::test_drain' panicked at 'dst=0 src=7 len=2 cap=8', /home/fklock/Dev/Mozilla/rust.git/src/libcollections/vec_deque.rs:178                                                                         


failures:
    vec_deque::tests::test_drain

test result: FAILED. 18 passed; 1 failed; 0 ignored; 0 measured

I'm not familiar with the code in question, so its not immediately apparent if this is just a case of an invalid assertion, or some deeper violation of a structural invariant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions