Skip to content
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

rustc crash when running clippy #49114

Closed
little-dude opened this issue Mar 17, 2018 · 6 comments
Closed

rustc crash when running clippy #49114

little-dude opened this issue Mar 17, 2018 · 6 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@little-dude
Copy link
Contributor

little-dude commented Mar 17, 2018

  • OS: Archlinux, kernel 4.15.9
  • Rust version: rustc 1.26.0-nightly (55c984e 2018-03-16)
  • Clippy version:
$ cargo clippy --version
0.0.188
  • To reproduce: git clone https://github.com/little-dude/rmp-rpc ; cd rmp-rpc ; git checkout into-static-future ; cargo clippy

Note that cargo build works.

lib: rmp-rpc
   Compiling libc v0.2.39
   Compiling cfg-if v0.1.2
   Compiling nodrop v0.1.12
   Compiling scopeguard v0.3.3
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name libc /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/libc-0.2.39/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=cceece29f1571897 -C extra-filename=-cceece29f1571897 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name cfg_if /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/cfg-if-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=b2dc6561d1b0a3f6 -C extra-filename=-b2dc6561d1b0a3f6 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name scopeguard /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/scopeguard-0.3.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c0908d6e5e5a874e -C extra-filename=-c0908d6e5e5a874e --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name nodrop /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/nodrop-0.1.12/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e3028025c544c8c5 -C extra-filename=-e3028025c544c8c5 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling memoffset v0.2.1
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name memoffset /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/memoffset-0.2.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=88eb36d96f6cdf52 -C extra-filename=-88eb36d96f6cdf52 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling lazy_static v0.2.11
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name lazy_static /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/lazy_static-0.2.11/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=5745a9697296aacd -C extra-filename=-5745a9697296aacd --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling byteorder v1.2.1
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name byteorder /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/byteorder-1.2.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=5f465c6e9225cde7 -C extra-filename=-5f465c6e9225cde7 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling lazycell v0.6.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name lazycell /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/lazycell-0.6.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=c7fbdd12b108b619 -C extra-filename=-c7fbdd12b108b619 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling futures v0.1.18
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name futures /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/futures-0.1.18/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=213eb959e79a5518 -C extra-filename=-213eb959e79a5518 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling slab v0.4.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name slab /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/slab-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=6854b01564b797d9 -C extra-filename=-6854b01564b797d9 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling num-traits v0.2.1
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name num_traits /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/num-traits-0.2.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=7fe9f8cacf103cae -C extra-filename=-7fe9f8cacf103cae --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling scoped-tls v0.1.1
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name scoped_tls /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/scoped-tls-0.1.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=28e02b5237342d3d -C extra-filename=-28e02b5237342d3d --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --cap-lints allow`
   Compiling crossbeam-utils v0.2.2
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name crossbeam_utils /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/crossbeam-utils-0.2.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' -C metadata=ff2e7c4c8ae27db2 -C extra-filename=-ff2e7c4c8ae27db2 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern cfg_if=/home/corentih/rust/rmp-rpc/target/debug/deps/libcfg_if-b2dc6561d1b0a3f6.rlib --cap-lints allow`
   Compiling log v0.4.1
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name log /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/log-0.4.1/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="std"' -C metadata=480a9fd8dfba98b1 -C extra-filename=-480a9fd8dfba98b1 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern cfg_if=/home/corentih/rust/rmp-rpc/target/debug/deps/libcfg_if-b2dc6561d1b0a3f6.rlib --cap-lints allow`
   Compiling arrayvec v0.4.7
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name arrayvec /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/arrayvec-0.4.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=8c65ec3b6b105b2f -C extra-filename=-8c65ec3b6b105b2f --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern nodrop=/home/corentih/rust/rmp-rpc/target/debug/deps/libnodrop-e3028025c544c8c5.rlib --cap-lints allow`
   Compiling iovec v0.1.2
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name iovec /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/iovec-0.1.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=eb619df0deaf70b1 -C extra-filename=-eb619df0deaf70b1 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern libc=/home/corentih/rust/rmp-rpc/target/debug/deps/liblibc-cceece29f1571897.rlib --cap-lints allow`
   Compiling rand v0.4.2
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name rand /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/rand-0.4.2/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="libc"' --cfg 'feature="std"' -C metadata=7da5ccf467645813 -C extra-filename=-7da5ccf467645813 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern libc=/home/corentih/rust/rmp-rpc/target/debug/deps/liblibc-cceece29f1571897.rlib --cap-lints allow`
   Compiling net2 v0.2.32
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name net2 /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/net2-0.2.32/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="duration"' -C metadata=8f8d06c8a353250d -C extra-filename=-8f8d06c8a353250d --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern cfg_if=/home/corentih/rust/rmp-rpc/target/debug/deps/libcfg_if-b2dc6561d1b0a3f6.rlib --extern libc=/home/corentih/rust/rmp-rpc/target/debug/deps/liblibc-cceece29f1571897.rlib --cap-lints allow`
   Compiling num_cpus v1.8.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name num_cpus /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/num_cpus-1.8.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ca180452a900a239 -C extra-filename=-ca180452a900a239 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern libc=/home/corentih/rust/rmp-rpc/target/debug/deps/liblibc-cceece29f1571897.rlib --cap-lints allow`
   Compiling log v0.3.9
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name log /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/log-0.3.9/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="log"' --cfg 'feature="use_std"' -C metadata=ce08cf085fb6f217 -C extra-filename=-ce08cf085fb6f217 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib --cap-lints allow`
   Compiling crossbeam-epoch v0.4.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name crossbeam_epoch /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/crossbeam-epoch-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="crossbeam-utils"' --cfg 'feature="default"' --cfg 'feature="lazy_static"' --cfg 'feature="use_std"' -C metadata=47a2ca4c3ea67bb0 -C extra-filename=-47a2ca4c3ea67bb0 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern memoffset=/home/corentih/rust/rmp-rpc/target/debug/deps/libmemoffset-88eb36d96f6cdf52.rlib --extern cfg_if=/home/corentih/rust/rmp-rpc/target/debug/deps/libcfg_if-b2dc6561d1b0a3f6.rlib --extern lazy_static=/home/corentih/rust/rmp-rpc/target/debug/deps/liblazy_static-5745a9697296aacd.rlib --extern arrayvec=/home/corentih/rust/rmp-rpc/target/debug/deps/libarrayvec-8c65ec3b6b105b2f.rlib --extern crossbeam_utils=/home/corentih/rust/rmp-rpc/target/debug/deps/libcrossbeam_utils-ff2e7c4c8ae27db2.rlib --extern scopeguard=/home/corentih/rust/rmp-rpc/target/debug/deps/libscopeguard-c0908d6e5e5a874e.rlib --cap-lints allow`
   Compiling bytes v0.4.6
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name bytes /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/bytes-0.4.6/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=79a1afc7dc7bcdc6 -C extra-filename=-79a1afc7dc7bcdc6 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern iovec=/home/corentih/rust/rmp-rpc/target/debug/deps/libiovec-eb619df0deaf70b1.rlib --extern byteorder=/home/corentih/rust/rmp-rpc/target/debug/deps/libbyteorder-5f465c6e9225cde7.rlib --cap-lints allow`
   Compiling num-traits v0.1.43
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name num_traits /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/num-traits-0.1.43/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=ae52101171348b22 -C extra-filename=-ae52101171348b22 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern num_traits=/home/corentih/rust/rmp-rpc/target/debug/deps/libnum_traits-7fe9f8cacf103cae.rlib --cap-lints allow`
   Compiling mio v0.6.14
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name mio /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/mio-0.6.14/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="with-deprecated"' -C metadata=b26a713d18555868 -C extra-filename=-b26a713d18555868 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern net2=/home/corentih/rust/rmp-rpc/target/debug/deps/libnet2-8f8d06c8a353250d.rlib --extern libc=/home/corentih/rust/rmp-rpc/target/debug/deps/liblibc-cceece29f1571897.rlib --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib --extern lazycell=/home/corentih/rust/rmp-rpc/target/debug/deps/liblazycell-c7fbdd12b108b619.rlib --extern slab=/home/corentih/rust/rmp-rpc/target/debug/deps/libslab-6854b01564b797d9.rlib --extern iovec=/home/corentih/rust/rmp-rpc/target/debug/deps/libiovec-eb619df0deaf70b1.rlib --cap-lints allow`
   Compiling tokio-executor v0.1.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name tokio_executor /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-executor-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=fe0845308c8cbd06 -C extra-filename=-fe0845308c8cbd06 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --cap-lints allow`
   Compiling crossbeam-deque v0.3.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name crossbeam_deque /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/crossbeam-deque-0.3.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=911a5b7214ed8ede -C extra-filename=-911a5b7214ed8ede --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern crossbeam_utils=/home/corentih/rust/rmp-rpc/target/debug/deps/libcrossbeam_utils-ff2e7c4c8ae27db2.rlib --extern crossbeam_epoch=/home/corentih/rust/rmp-rpc/target/debug/deps/libcrossbeam_epoch-47a2ca4c3ea67bb0.rlib --cap-lints allow`
   Compiling rmp v0.8.7
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name rmp /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/rmp-0.8.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=abd505bb1df67504 -C extra-filename=-abd505bb1df67504 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern byteorder=/home/corentih/rust/rmp-rpc/target/debug/deps/libbyteorder-5f465c6e9225cde7.rlib --extern num_traits=/home/corentih/rust/rmp-rpc/target/debug/deps/libnum_traits-ae52101171348b22.rlib --cap-lints allow`
   Compiling rand v0.3.22
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name rand /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/rand-0.3.22/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=4ec23fc896e2818f -C extra-filename=-4ec23fc896e2818f --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern libc=/home/corentih/rust/rmp-rpc/target/debug/deps/liblibc-cceece29f1571897.rlib --extern rand=/home/corentih/rust/rmp-rpc/target/debug/deps/librand-7da5ccf467645813.rlib --cap-lints allow`
   Compiling tokio-threadpool v0.1.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name tokio_threadpool /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-threadpool-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=626e8a625aea6066 -C extra-filename=-626e8a625aea6066 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern tokio_executor=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_executor-fe0845308c8cbd06.rlib --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-ce08cf085fb6f217.rlib --extern rand=/home/corentih/rust/rmp-rpc/target/debug/deps/librand-4ec23fc896e2818f.rlib --extern crossbeam_deque=/home/corentih/rust/rmp-rpc/target/debug/deps/libcrossbeam_deque-911a5b7214ed8ede.rlib --extern num_cpus=/home/corentih/rust/rmp-rpc/target/debug/deps/libnum_cpus-ca180452a900a239.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --cap-lints allow`
   Compiling tokio-io v0.1.6
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name tokio_io /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-io-0.1.6/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=8ffd24e6282c3d1b -C extra-filename=-8ffd24e6282c3d1b --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --extern bytes=/home/corentih/rust/rmp-rpc/target/debug/deps/libbytes-79a1afc7dc7bcdc6.rlib --cap-lints allow`
   Compiling rmpv v0.4.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name rmpv /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/rmpv-0.4.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=0149348283f97580 -C extra-filename=-0149348283f97580 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern num_traits=/home/corentih/rust/rmp-rpc/target/debug/deps/libnum_traits-ae52101171348b22.rlib --extern rmp=/home/corentih/rust/rmp-rpc/target/debug/deps/librmp-abd505bb1df67504.rlib --cap-lints allow`
   Compiling tokio-reactor v0.1.0
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name tokio_reactor /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-reactor-0.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=e4471b1027ccedea -C extra-filename=-e4471b1027ccedea --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib --extern slab=/home/corentih/rust/rmp-rpc/target/debug/deps/libslab-6854b01564b797d9.rlib --extern mio=/home/corentih/rust/rmp-rpc/target/debug/deps/libmio-b26a713d18555868.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --extern tokio_executor=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_executor-fe0845308c8cbd06.rlib --extern tokio_io=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_io-8ffd24e6282c3d1b.rlib --cap-lints allow`
   Compiling tokio v0.1.3
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name tokio /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-0.1.3/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=84b44dcdac38f36b -C extra-filename=-84b44dcdac38f36b --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern mio=/home/corentih/rust/rmp-rpc/target/debug/deps/libmio-b26a713d18555868.rlib --extern tokio_reactor=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_reactor-e4471b1027ccedea.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --extern tokio_threadpool=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_threadpool-626e8a625aea6066.rlib --extern bytes=/home/corentih/rust/rmp-rpc/target/debug/deps/libbytes-79a1afc7dc7bcdc6.rlib --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib --extern tokio_io=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_io-8ffd24e6282c3d1b.rlib --extern iovec=/home/corentih/rust/rmp-rpc/target/debug/deps/libiovec-eb619df0deaf70b1.rlib --extern slab=/home/corentih/rust/rmp-rpc/target/debug/deps/libslab-6854b01564b797d9.rlib --extern tokio_executor=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_executor-fe0845308c8cbd06.rlib --cap-lints allow`
   Compiling tokio-core v0.1.15
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name tokio_core /home/corentih/.cargo/registry/src/gh.neting.cc-1ecc6299db9ec823/tokio-core-0.1.15/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=8a586ac5875ea88b -C extra-filename=-8a586ac5875ea88b --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib --extern tokio_executor=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_executor-fe0845308c8cbd06.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --extern mio=/home/corentih/rust/rmp-rpc/target/debug/deps/libmio-b26a713d18555868.rlib --extern bytes=/home/corentih/rust/rmp-rpc/target/debug/deps/libbytes-79a1afc7dc7bcdc6.rlib --extern tokio_reactor=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_reactor-e4471b1027ccedea.rlib --extern iovec=/home/corentih/rust/rmp-rpc/target/debug/deps/libiovec-eb619df0deaf70b1.rlib --extern slab=/home/corentih/rust/rmp-rpc/target/debug/deps/libslab-6854b01564b797d9.rlib --extern tokio_io=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_io-8ffd24e6282c3d1b.rlib --extern tokio=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio-84b44dcdac38f36b.rlib --extern scoped_tls=/home/corentih/rust/rmp-rpc/target/debug/deps/libscoped_tls-28e02b5237342d3d.rlib --cap-lints allow`
   Compiling rmp-rpc v0.1.2 (file:///home/corentih/rust/rmp-rpc)
     Running `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name rmp_rpc src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --emit=metadata --cfg 'feature="cargo-clippy"' -C metadata=b0b9a17fb4cd2f25 -C extra-filename=-b0b9a17fb4cd2f25 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -C incremental=/home/corentih/rust/rmp-rpc/target/debug/incremental -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern tokio_core=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_core-8a586ac5875ea88b.rlib --extern tokio_io=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_io-8ffd24e6282c3d1b.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --extern bytes=/home/corentih/rust/rmp-rpc/target/debug/deps/libbytes-79a1afc7dc7bcdc6.rlib --extern rmpv=/home/corentih/rust/rmp-rpc/target/debug/deps/librmpv-0149348283f97580.rlib --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib`
warning: redundant field names in struct initialization
   --> src/endpoint.rs:141:13
    |
141 |             handle: handle,
    |             ^^^^^^^^^^^^^^ help: replace it with: `handle`
    |
    = note: #[warn(redundant_field_names)] on by default
    = help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/v0.0.188/index.html#redundant_field_names

error: internal compiler error: librustc/infer/canonical.rs:703: failed to lift `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '?0), ('?0, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::collections::hash_map::RandomState } }`, canonicalized from `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '_#0r), ('_#0r, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::collections::hash_map::RandomState } }`

thread 'rustc' panicked at 'Box<Any>', librustc_errors/lib.rs:540:9
stack backtrace:
   0:     0x7f15be13070b - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h58bfa586cf98370d
                               at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1:     0x7f15be0fc5f0 - std::sys_common::backtrace::print::hbfdb4053e144f01a
                               at libstd/sys_common/backtrace.rs:71
                               at libstd/sys_common/backtrace.rs:59
   2:     0x7f15be119bdd - std::panicking::default_hook::{{closure}}::h93d400a440d7a413
                               at libstd/panicking.rs:207
   3:     0x7f15be119935 - std::panicking::default_hook::ha4cb3742bb54717b
                               at libstd/panicking.rs:223
   4:     0x7f15bf75728d - core::ops::function::Fn::call::hb910eaef0aecb065
   5:     0x7f15be11a129 - std::panicking::rust_panic_with_hook::hd7d5c50015780591
                               at libstd/panicking.rs:403
   6:     0x7f15be888f19 - std::panicking::begin_panic::h4d8887d1c019f402
   7:     0x7f15be89f9d1 - rustc_errors::Handler::bug::h5c68fdcc9d0bd668
   8:     0x7f15bf84840f - rustc::session::opt_span_bug_fmt::{{closure}}::hf19a81e527897026
   9:     0x7f15bf85bfa5 - rustc::ty::context::tls::with_opt::{{closure}}::hff6c7aaf7b0bb9a1
  10:     0x7f15bf7f8b93 - <std::thread::local::LocalKey<T>>::try_with::h927af47d4083db2f
  11:     0x7f15bf7f4046 - <std::thread::local::LocalKey<T>>::with::hab239cd9e952f644
  12:     0x7f15bf7d9a0d - rustc::ty::context::tls::with::h2b5c2142e72b90d0
  13:     0x7f15bf7da537 - rustc::ty::context::tls::with_opt::he113a1cfb190b8f2
  14:     0x7f15bf98c5b4 - rustc::session::opt_span_bug_fmt::hcb24a1110600c532
  15:     0x7f15bf98c526 - rustc::session::bug_fmt::h56eeafdad1368ee8
  16:     0x7f15bd106bca - rustc::infer::canonical::Canonicalizer::canonicalize::h10262b43633ba554
  17:     0x7f15bd109661 - rustc_traits::util::make_query_response::hf495790a7874b25b
  18:     0x7f15bd10233e - rustc::ty::context::tls::enter::h1f7e99bf2f1dba0b
  19:     0x7f15bd10f2dc - rustc::infer::InferCtxtBuilder::enter::he78fa7cf7e133002
  20:     0x7f15bd0ffe58 - rustc_traits::normalize_projection_ty::normalize_projection_ty::h4af616da10a71030
  21:     0x7f15bf6f3d96 - rustc::ty::maps::<impl rustc::ty::maps::queries::normalize_projection_ty<'tcx>>::compute_result::hd5e6677bc0bb0eef
  22:     0x7f15bf3427e4 - rustc::dep_graph::graph::DepGraph::with_task_impl::hca3fe220ea0951e0
  23:     0x7f15bf385434 - rustc_errors::Handler::track_diagnostics::h1a4651b8ff3f05ff
  24:     0x7f15bf5c1bc7 - rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::cycle_check::h5a267d4a2aac6709
  25:     0x7f15bf6f3e3d - rustc::ty::maps::<impl rustc::ty::maps::queries::normalize_projection_ty<'tcx>>::force::ha0b3ae042e813fdd
  26:     0x7f15bf6f4ad0 - rustc::ty::maps::<impl rustc::ty::maps::queries::normalize_projection_ty<'tcx>>::try_get::h31ff0fab82b9e85a
  27:     0x7f15bf62815d - rustc::ty::maps::TyCtxtAt::normalize_projection_ty::h9d2683d8a8e8be27
  28:     0x7f15bf7d23b8 - <rustc::traits::query::normalize::QueryNormalizer<'cx, 'gcx, 'tcx> as rustc::ty::fold::TypeFolder<'gcx, 'tcx>>::fold_ty::h3fed065e3d1d21d9
  29:     0x7f15bd10fda1 - rustc::traits::query::normalize::<impl rustc::infer::at::At<'cx, 'gcx, 'tcx>>::normalize::h67e136edf4940c78
  30:     0x7f15bd103cf2 - rustc::ty::context::tls::enter::hac8a134ecf8bb847
  31:     0x7f15bd10ffbe - rustc_traits::normalize_erasing_regions::normalize_ty_after_erasing_regions::h587f803f483d5992
  32:     0x7f15bf6f59d4 - rustc::ty::maps::<impl rustc::ty::maps::queries::normalize_ty_after_erasing_regions<'tcx>>::compute_result::h0d52685adfa4a5a8
  33:     0x7f15bf3294cb - rustc::dep_graph::graph::DepGraph::with_task_impl::h60e47ccf7a7d26f8
  34:     0x7f15bf392d5a - rustc_errors::Handler::track_diagnostics::h696ae1deaaae0a02
  35:     0x7f15bf5e4407 - rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::cycle_check::hbb46fdbaac018c02
  36:     0x7f15bf6f5a66 - rustc::ty::maps::<impl rustc::ty::maps::queries::normalize_ty_after_erasing_regions<'tcx>>::force::hf9952e2a5a3c30ac
  37:     0x7f15bf6f64a5 - rustc::ty::maps::<impl rustc::ty::maps::queries::normalize_ty_after_erasing_regions<'tcx>>::try_get::hd9612303669bc8dc
  38:     0x7f15bf628278 - rustc::ty::maps::TyCtxtAt::normalize_ty_after_erasing_regions::h9c67f246acdcb544
  39:     0x7f15bf84b850 - <rustc::traits::query::normalize_erasing_regions::NormalizeAfterErasingRegionsFolder<'cx, 'tcx> as rustc::ty::fold::TypeFolder<'tcx, 'tcx>>::fold_ty::he2405ad49d6938df
  40:     0x7f15b4ad323c - <rustc_data_structures::accumulate_vec::AccumulateVec<A> as core::iter::traits::FromIterator<<A as rustc_data_structures::array_vec::Array>::Element>>::from_iter::hbeccf50d8239b750
  41:     0x7f15b4a9c239 - rustc::ty::fold::TypeFoldable::fold_with::h3ba7c67488cd66a9
  42:     0x7f15b4a4d4cf - rustc::traits::query::normalize_erasing_regions::<impl rustc::ty::context::TyCtxt<'cx, 'tcx, 'tcx>>::normalize_erasing_late_bound_regions::h7f51eb86329154a7
  43:     0x7f15b4aa4316 - rustc_trans::mir::block::<impl rustc_trans::mir::FunctionCx<'a, 'tcx>>::trans_terminator::haa0f463b33b830a5
  44:     0x7f15b4aa2a12 - rustc_trans::mir::trans_mir::h390af1fa2b843022
  45:     0x7f15b4a3ef33 - rustc_trans::base::trans_instance::h44985b2b0858b840
  46:     0x7f15b4aaf4bb - rustc_trans::trans_item::MonoItemExt::define::hd01153642aece7b6
  47:     0x7f15b4a42d9e - rustc_trans::base::compile_codegen_unit::hc06cac616f2009a5
  48:     0x7f15bf6ecdb1 - rustc::ty::maps::<impl rustc::ty::maps::queries::compile_codegen_unit<'tcx>>::compute_result::h638ea7e813cbc520
  49:     0x7f15bf34a8a1 - rustc::dep_graph::graph::DepGraph::with_task_impl::hec152470ce88ff27
  50:     0x7f15bf39b18c - rustc_errors::Handler::track_diagnostics::h951b7b20a5589a68
  51:     0x7f15bf5bbef7 - rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::cycle_check::h46a5c3f55ccbc0a0
  52:     0x7f15bf6ece59 - rustc::ty::maps::<impl rustc::ty::maps::queries::compile_codegen_unit<'tcx>>::force::h8a190a4006f6ab8b
  53:     0x7f15bf6ed8e7 - rustc::ty::maps::<impl rustc::ty::maps::queries::compile_codegen_unit<'tcx>>::try_get::h47c0965b4fc33649
  54:     0x7f15bf627c5c - rustc::ty::maps::TyCtxtAt::compile_codegen_unit::hea9620288500e1f9
  55:     0x7f15bf620709 - rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::compile_codegen_unit::hb5688b49d20766ac
  56:     0x7f15b4a410d2 - rustc_trans::base::trans_crate::hff19c4f190fa7d1d
  57:     0x7f15b4a5fc87 - <rustc_trans::LlvmTransCrate as rustc_trans_utils::trans_crate::TransCrate>::trans_crate::h2b092b2ddd7fc377
  58:     0x7f15c059efb5 - rustc::util::common::time::h4a4a327d4d3c6589
  59:     0x7f15c057f464 - rustc_driver::driver::phase_4_translate_to_llvm::h5d41f411e87b9e09
  60:     0x7f15c0609c99 - rustc_driver::driver::compile_input::{{closure}}::h41a3a2f442d56202
  61:     0x7f15c05ff90b - <std::thread::local::LocalKey<T>>::with::h1862cfd2ff4d52db
  62:     0x7f15c06054a6 - <std::thread::local::LocalKey<T>>::with::hb2210cc9beb6dd1d
  63:     0x7f15c0677a95 - rustc::ty::context::TyCtxt::create_and_enter::h52ba85313a4f84fa
  64:     0x7f15c05787e1 - rustc_driver::driver::compile_input::hc909fb0e2073e778
  65:     0x7f15c062e8b6 - rustc_driver::run_compiler_impl::h217e8a06b460e9a0
  66:     0x7f15c0553c45 - syntax::with_globals::h517d02e9a2e0feda
  67:     0x7f15c062d8dc - rustc_driver::run_compiler::h055fa62e183d04b8
  68:     0x5609e6459722 - std::sys_common::backtrace::__rust_begin_short_backtrace::h5d8df366a3a73409
  69:     0x5609e6459b3b - std::panicking::try::do_call::h6974eb86ca9521e4
  70:     0x7f15be13d07e - __rust_maybe_catch_panic
                               at libpanic_unwind/lib.rs:102
  71:     0x5609e645389d - <F as alloc::boxed::FnBox<A>>::call_box::h2ae07f2a3e93f882
  72:     0x7f15be134207 - std::sys_common::thread::start_thread::h61276ad7a1a9b2db
                               at /checkout/src/liballoc/boxed.rs:793
                               at libstd/sys_common/thread.rs:24
  73:     0x7f15be102fa8 - std::sys::unix::thread::Thread::new::thread_start::he4b83572e91b9970
                               at libstd/sys/unix/thread.rs:90
  74:     0x7f15bde8d08b - start_thread
  75:     0x7f15bd9ade7e - __GI___clone
  76:                0x0 - <unknown>

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.26.0-nightly (55c984ee5 2018-03-16) running on x86_64-unknown-linux-gnu

note: compiler flags: -C debuginfo=2 -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: Could not compile `rmp-rpc`.

Caused by:
  process didn't exit successfully: `/home/corentih/.cargo/bin/clippy-driver rustc --crate-name rmp_rpc src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 --emit=metadata --cfg feature="cargo-clippy" -C metadata=b0b9a17fb4cd2f25 -C extra-filename=-b0b9a17fb4cd2f25 --out-dir /home/corentih/rust/rmp-rpc/target/debug/deps -C incremental=/home/corentih/rust/rmp-rpc/target/debug/incremental -L dependency=/home/corentih/rust/rmp-rpc/target/debug/deps --extern tokio_core=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_core-8a586ac5875ea88b.rlib --extern tokio_io=/home/corentih/rust/rmp-rpc/target/debug/deps/libtokio_io-8ffd24e6282c3d1b.rlib --extern futures=/home/corentih/rust/rmp-rpc/target/debug/deps/libfutures-213eb959e79a5518.rlib --extern bytes=/home/corentih/rust/rmp-rpc/target/debug/deps/libbytes-79a1afc7dc7bcdc6.rlib --extern rmpv=/home/corentih/rust/rmp-rpc/target/debug/deps/librmpv-0149348283f97580.rlib --extern log=/home/corentih/rust/rmp-rpc/target/debug/deps/liblog-480a9fd8dfba98b1.rlib` (exit code: 101)
@realcr
Copy link

realcr commented Mar 17, 2018

I have a similar problem on my automatic CI system, I also have clippy, so it might be related.

error: internal compiler error: librustc/infer/canonical.rs:703: failed to lift `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '?0), ('?0, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::result::Result<futures::Async<security_module::messages::ResponseSignature>, futures::Canceled> } }`, canonicalized from `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '_#0r), ('_#0r, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::result::Result<futures::Async<security_module::messages::ResponseSignature>, futures::Canceled> } }`
thread 'rustc' panicked at 'Box<Any>', librustc_errors/lib.rs:540:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.
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.26.0-nightly (55c984ee5 2018-03-16) running on x86_64-unknown-linux-gnu
note: compiler flags: -C debuginfo=2 -C linker=gcc-6 -C incremental
note: some of the compiler flags provided by cargo are hidden

@pietroalbini
Copy link
Member

Could you check with the latest nightly if this still happens? There was a regression affecting clippy a few days ago. Thanks!

@pietroalbini pietroalbini added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. C-bug Category: This is a bug. and removed regression-from-stable-to-nightly Performance or correctness regression from stable to nightly. labels Mar 20, 2018
@CircuitCoder
Copy link

I had a similar error on the latest nightly.

error: internal compiler error: librustc/infer/canonical.rs:703: failed to lift `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '?0), ('?0, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::collections::hash_map::RandomState } }`, canonicalized from `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '_#0r), ('_#0r, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::collections::hash_map::RandomState } }`

@little-dude
Copy link
Contributor Author

@pietroalbini I confirm it's still happening with:

$ rustc --version                    
rustc 1.26.0-nightly (a04b88d19 2018-03-19)
$ cargo --version                    
cargo 1.26.0-nightly (d6c3983fe 2018-03-16)
$ cargo clippy --version             
0.0.189
~/rmp-rpc ❯❯❯ cargo clippy                                                                                                                                                             master
lib: rmp-rpc
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling rmp-rpc v0.2.0 (file:///home/corentih/rmp-rpc)                     
error: internal compiler error: librustc/infer/canonical.rs:703: failed to lift `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '?0), ('?0, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::collections::hash_map::RandomState } }`, canonicalized from `QueryResult { var_values: CanonicalVarValues { var_values: [] }, region_constraints: QueryRegionConstraints { region_outlives: [(ReErased, '_#0r), ('_#0r, ReErased)], ty_outlives: [] }, certainty: Proven, value: NormalizationResult { normalized_ty: std::collections::hash_map::RandomState } }`

thread 'rustc' panicked at 'Box<Any>', librustc_errors/lib.rs:543:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

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.26.0-nightly (a04b88d19 2018-03-19) running on x86_64-unknown-linux-gnu

note: compiler flags: -C debuginfo=2 -C incremental --crate-type lib

note: some of the compiler flags provided by cargo are hidden

error: Could not compile `rmp-rpc`.

To learn more, run the command again with --verbose.

@little-dude
Copy link
Contributor Author

Still happening with 188e693b3 2018-03-26

@pietroalbini pietroalbini added I-nominated T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Mar 27, 2018
@oli-obk
Copy link
Contributor

oli-obk commented Mar 27, 2018

sorry this went completely under my radar. I moved it to the clippy repository: rust-lang/rust-clippy#2580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants