Closed
Description
Update by pnkfelix: reduction to isolated test showing regression from 1.23.0 to 1.24.0 is given in comment below.
Original bug report follows
I'm using cargo-tarpaulin to ensure that my tests using proptest are covering all cases. In the process of testing this out, I ran into the following error:
$ reset ; RUSTC_BACKTRACE=1 ; cargo tarpaulin --force-clean -l -- --no-default-features
[INFO tarpaulin] Running Tarpaulin
[INFO tarpaulin] Building project
error: internal compiler error: src/librustc/traits/codegen/mod.rs:58: Encountered error `Unimplemented` selecting `Binder(<core::char::DecodeUtf16<<std::vec::Vec<u16> as core::iter::IntoIterator>::IntoIter> as arbitrary::traits::Arbitrary>)` during codegen
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:595:9
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
error: aborting due to previous error
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: rustc 1.34.0-nightly (d17318011 2019-02-07) running on x86_64-unknown-linux-gnu
note: compiler flags: -C debuginfo=2 -C relocation-model=dynamic-no-pic -C link-dead-code -C opt-level=0 -C debuginfo=2 --crate-type lib
note: some of the compiler flags provided by cargo are hidden
[ERROR tarpaulin] Failed to compile tests! Error: build failed
EDIT A fairly small repository illustrating the bug can be found here.
Meta
rustc --version --verbose
:
rustc 1.34.0-nightly (d17318011 2019-02-07)
binary: rustc
commit-hash: d1731801163df1d3a8d4ddfa68adac2ec833ef7f
commit-date: 2019-02-07
host: x86_64-unknown-linux-gnu
release: 1.34.0-nightly
LLVM version: 8.0
Backtrace
The only information that I got from the command is given above. If you know of better commands I can try to use, I can do so and amend this report.