Skip to content

Compiler panic at src/libsyntax/diagnostics/plugin.rs:171 #25690

Closed
@cllns

Description

@cllns

Tried to compile from master, but the 'compiler unexpectedly panicked'

% make RUST_BACKTRACE=1
cfg: version 1.2.0-dev (7044f4a39 2015-05-21) (built 2015-05-21)
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: good valgrind for x86_64-apple-darwin is
cfg: using CC=clang (CFG_CC)
cfg: using CXX=clang++ (CFG_CXX)
cfg: disabling valgrind run-pass tests
rustc: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc_borrowck
error: internal compiler error: unexpected panic
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: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'decoder error', /Users/sean/dev/rust/src/libsyntax/diagnostics/plugin.rs:171

stack backtrace:
   1:        0x103f608bc - sys::backtrace::write::h5ff6ad25661cc291u2r
   2:        0x103f68665 - panicking::on_panic::h7c9ea8abc1bb177a2iw
   3:        0x103f2c613 - rt::unwind::begin_unwind_inner::ha6d16e5ff816806cL0v
   4:        0x103f2d3e5 - rt::unwind::begin_unwind_fmt::h4572fb92b577087aRZv
   5:        0x103755693 - diagnostics::plugin::expand_build_diagnostic_array::h4b7732f343a19110QNa
   6:        0x10189d443 - ext::base::F.TTMacroExpander::expand::h4136136389273748923
   7:        0x103959178 - ext::expand::expand_item_mac::hdd146f2c4019efdd1dc
   8:        0x10394efe8 - ext::expand::expand_annotatable::h033c6ecb5ac82abftIc
   9:        0x10394bdc0 - ext::expand::expand_item::hd0748d7fdb5619211ac
  10:        0x103953fff - iter::FlatMap<I, U, F>.Iterator::next::h8590409607985201328
  11:        0x103953d7b - vec::Vec<T>.FromIterator<T>::from_iter::h1639266260791834947
  12:        0x103950ee0 - ext::expand::expand_item_underscore::h04447d45156a5e66Cbc
  13:        0x10398e7f8 - fold::noop_fold_item_simple::h3416248848557026180
  14:        0x10394fbee - ext::expand::expand_annotatable::h033c6ecb5ac82abftIc
  15:        0x10394bdc0 - ext::expand::expand_item::hd0748d7fdb5619211ac
  16:        0x103994717 - ext::expand::expand_crate::hdfe08c43d5c734b9Z9c
  17:        0x100d90f8a - driver::phase_2_configure_and_expand::closure.20251
  18:        0x100d4a2ba - driver::phase_2_configure_and_expand::h5b2bd1e8bf0eb003Ysa
  19:        0x100d3c02c - driver::compile_input::h1c7d3f253c07f27aQba
  20:        0x100de3e12 - run_compiler::h18718cf0e294a90b75b
  21:        0x100de196e - boxed::F.FnBox<A>::call_box::h16766091035826955613
  22:        0x100de11a7 - rt::unwind::try::try_fn::h12655135335441453264
  23:        0x103ff21e8 - rust_try_inner
  24:        0x103ff21d5 - rust_try
  25:        0x103f55ed5 - rt::unwind::try::inner_try::hcd23c8ca0774326bEWv
  26:        0x100de1406 - boxed::F.FnBox<A>::call_box::h1657350025221526688
  27:        0x103f67368 - sys::thread::Thread::new::thread_start::h2e5b9b7bcb6859fchlv
  28:     0x7fff9a5342fb - _pthread_body
  29:     0x7fff9a534278 - _pthread_start

make: *** [x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/stamp.rustc_borrowck] Error 101

Not sure why this happened, could be something on my end.

https://github.com/rust-lang/rust/blob/master/src/libsyntax/diagnostics/plugin.rs#L171 is the file and line in question.

Running OS X Yosemite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions