Closed
Description
Hi,
compiling the eventual crate with the latest rust nightly (2016-03-20) gives me the following ICE. The previous nightly (2016-03-17) worked fine.
$ RUST_BACKTRACE=1 multirust run nightly cargo build
Compiling eventual v0.1.5 (file:///private/tmp/eventual)
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
thread 'rustc' panicked at 'internal error: entered unreachable code: Unexpected tail in unsized_info_ty: usize for ty=process::Core<isize, isize, isize>', ../src/librustc_trans/trans/type_of.rs:135
stack backtrace:
1: 0x11312af38 - sys::backtrace::tracing::imp::write::h83bc1946ac132a7d0Gu
2: 0x113134475 - panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::closure.43767
3: 0x113133fd7 - panicking::default_hook::had684d056a84b05cPgz
4: 0x1130fb336 - sys_common::unwind::begin_unwind_inner::hfef527c9f2434064HGt
5: 0x1130fcf4e - sys_common::unwind::begin_unwind_fmt::h02d40e945b8e457cNFt
6: 0x10f01d7fa - trans::type_of::unsized_info_ty::h2e7677e19516a63dYwS
7: 0x10eee2abe - trans::type_of::sizing_type_of::h7b00ca8fada013b0roS
8: 0x10ef39726 - trans::base::trans_crate::h389b5fe1abf2545ch3k
9: 0x10ec74e6e - driver::phase_4_translate_to_llvm::h9c2dd5a6e3ca512cK2a
10: 0x10ec73774 - driver::compile_input::_$u7b$$u7b$closure$u7d$$u7d$::closure.31089
11: 0x10ec70425 - driver::phase_3_run_analysis_passes::_$u7b$$u7b$closure$u7d$$u7d$::closure.30095
12: 0x10ec6a3e9 - middle::ty::context::TyCtxt<'tcx>::create_and_enter::h11812805895441873020
13: 0x10ec66dad - driver::phase_3_run_analysis_passes::h5261001332275006052
14: 0x10ec39df7 - driver::compile_input::he5def18759d9424cPca
15: 0x10ec276f6 - run_compiler::h61ff55f691b932efVMc
16: 0x10ec24ca2 - sys_common::unwind::try::try_fn::h2984156204492186173
17: 0x11312879b - __rust_try
18: 0x113128723 - sys_common::unwind::inner_try::hbef67b929e699248JDt
19: 0x10ec25539 - boxed::F.FnBox<A>::call_box::h8793623295134616532
20: 0x1131332c8 - sys::thread::Thread::new::thread_start::h68477ad6a3ba8036fvy
21: 0x7fff8fb6b9b0 - _pthread_body
22: 0x7fff8fb6b92d - _pthread_start
error: Could not compile `eventual`.
To learn more, run the command again with --verbose.
EDIT: I had copied the rust nightly versions incorrectly