Skip to content

ICE: task 'rustc' panicked at 'called Option::unwrap() on a None value' #19340

Closed
@drbawb

Description

@drbawb
rustc 0.13.0-nightly (eedfc0779 2014-11-25 22:36:59 +0000)
binary: rustc
commit-hash: eedfc077964b811315589d9a70293d3ff2eb0e1d
commit-date: 2014-11-25 22:36:59 +0000
host: x86_64-unknown-linux-gnu
release: 0.13.0-nightly

cargo 0.0.1-pre-nightly (1bdfb25 2014-11-20 19:29:22 +0000)
Linux DARKBLUE 3.17.2-1-ARCH #1 SMP PREEMPT Thu Oct 30 20:49:39 CET 2014 x86_64 GNU/Linux

Wish I could offer up the code; but it's a closed source project.
This code does nothing w/ lifetime parameters or stored references, though. There's just a few boxed traits w/ a +'static bound.

error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' panicked at 'called `Option::unwrap()` on a `None` value', /home/rustbuild/src/rust-buildbot/slave/nightly-linux/build/src/libcore/option.rs:357
stack backtrace:
   1:     0x7f0ef3bf26c0 - rt::backtrace::imp::write::haa47b8c121fd0a91H4x
   2:     0x7f0ef3bf5790 - failure::on_fail::h677b2ecbbc3adea62wy
   3:     0x7f0ef38482b0 - unwind::begin_unwind_inner::h6076ba341dd042bdYQc
   4:     0x7f0ef3847f30 - unwind::begin_unwind_fmt::h6dced2c2ae1fae959Nc
   5:     0x7f0ef3847ef0 - rust_begin_unwind
   6:     0x7f0ef388dab0 - panicking::panic_fmt::h22463fd9b1161919gSl
   7:     0x7f0ef388b7b0 - panicking::panic::hfa5ca29d7f8b5263iPl
   8:     0x7f0ef25ae0b0 - middle::borrowck::move_data::fragments::add_fragment_siblings::h8118dbea1986aaff4Rg
   9:     0x7f0ef25ab0d0 - middle::borrowck::move_data::fragments::fixup_fragment_sets::h1b34a6c0035ee1265yg  10:     0x7f0ef25b4fa0 - middle::borrowck::move_data::FlowedMoveData<'a, 'tcx>::new::he628f6d1fa80b0e3y3h
  11:     0x7f0ef25bfc90 - middle::borrowck::build_borrowck_dataflow_data::h16660f26c7d289feIoi
  12:     0x7f0ef25bccd0 - middle::borrowck::borrowck_fn::h99143b7aee997f1fGli
  13:     0x7f0ef25be390 - visit::walk_expr::h17909264982202915119
  14:     0x7f0ef25be390 - visit::walk_expr::h17909264982202915119
  15:     0x7f0ef25be8b0 - visit::walk_block::h5615061091049522259
  16:     0x7f0ef25bccd0 - middle::borrowck::borrowck_fn::h99143b7aee997f1fGli
  17:     0x7f0ef25beda0 - visit::walk_item::h7689556238676702768
  18:     0x7f0ef25bdad0 - visit::walk_mod::h6852191264437528935
  19:     0x7f0ef25bdad0 - visit::walk_mod::h6852191264437528935
  20:     0x7f0ef25bdad0 - visit::walk_mod::h6852191264437528935
  21:     0x7f0ef25bd4d0 - middle::borrowck::check_crate::h6431f8fff14c57bbcei
  22:     0x7f0ef40810e0 - util::common::time::h1653906380813325966
  23:     0x7f0ef4218b40 - driver::driver::phase_3_run_analysis_passes::h1e6ec93ec340b11aVlS
  24:     0x7f0ef420dbc0 - driver::driver::compile_input::h3650ea3ea9db5c1312R
  25:     0x7f0ef4291a60 - driver::run_compiler::h8c15fe2011461f3690T
  26:     0x7f0ef4291950 - driver::run::closure.59868
  27:     0x7f0ef4099b60 - task::TaskBuilder::try_future::closure.38986
  28:     0x7f0ef3bc33d0 - task::TaskBuilder::spawn_internal::closure.30137
  29:     0x7f0ef38460d0 - task::Task::spawn::closure.5703
  30:     0x7f0ef38a0760 - rust_try_inner  31:     0x7f0ef38a0750 - rust_try
  32:     0x7f0ef38461b0 - unwind::try::he2929ed1852ce283jFc
  33:     0x7f0ef3845f70 - task::Task::run::h9debf4f19d281b44cOb
  34:     0x7f0ef3845b60 - task::Task::spawn::closure.5679
  35:     0x7f0ef38475b0 - thread::thread_start::hbf69e7ffa558b448f6b
  36:     0x7f0eee597250 - start_thread
  37:     0x7f0ef3518589 - clone
  38:                0x0 - <unknown>

Could not compile `kyrie`. 

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