profile
viewpoint

Ask questionsunexpectedly panick when compiling mysql_common

Compiler panics when compiling mysql_common 0.18.0.

I tried to lint a project using mysql_common as dependencies using cargo clippy but I got the following error:

error: internal compiler error: src/librustc/ty/context.rs:516: node_type: no type for node `expr 5 (hir_id=HirId { owner: DefIndex(228), local_id: 255 })`

thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:644: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.38.0-nightly (8a58268b5 2019-07-31) running on x86_64-apple-darwin

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

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

error: Could not compile `mysql_common`

I got the same error with the following Rust versions:

  • nightly-2019-08-01
  • nightly-2019-08-17
  • nightly-2019-09-11
  • nightly-2019-09-13

But it works with:

nightly-2019-07-19

rust-lang/rust-clippy

Answer questions flip1995

@Manishearth I have a fix for this ICE in #4590, currently waiting for a review 😉

useful!
source:https://uonfu.com/
answerer
Philipp Krones flip1995 @Embecosm Nuremberg, Germany Software Tool Chain & AI Engineer @embecosm
Github User Rank List