Skip to content

Instantly share code, notes, and snippets.

@Michael-F-Bryan
Created March 16, 2018 13:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Michael-F-Bryan/e8647e1e94d0754699c47dbadbe31ba7 to your computer and use it in GitHub Desktop.
Save Michael-F-Bryan/e8647e1e94d0754699c47dbadbe31ba7 to your computer and use it in GitHub Desktop.
Compiling carlogs v0.1.0 (file:///home/michael/Documents/carlogs-rs/carlogs)
warning: unused variable: `input`
--> carlogs/src/bin/carlogs-analysis.rs:109:24
|
109 | pub fn exec(&self, input: &mut Read, output: &mut Write, logger: &Logger) -> Result<(), Error> {
| ^^^^^ help: consider using `_input` instead
|
= note: #[warn(unused_variables)] on by default
warning: unused variable: `output`
--> carlogs/src/bin/carlogs-analysis.rs:109:42
|
109 | pub fn exec(&self, input: &mut Read, output: &mut Write, logger: &Logger) -> Result<(), Error> {
| ^^^^^^ help: consider using `_output` instead
error: internal compiler error: librustc/ty/context.rs:976: tried to cache DefId(0/0:39 ~ carlogs_analysis[b4ca]::run[0]::RS[0]::LOC[0]), but was already existing as AllocId(
1
)
thread 'rustc' panicked at 'Box<Any>', librustc_errors/lib.rs:540:9
stack backtrace:
0: 0x7f4ac969cdf3 - std::sys::unix::backtrace::tracing::imp::unwind_backtrace::h6a0bc5605dce4433
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: 0x7f4ac9693ca4 - std::sys_common::backtrace::_print::h221d36b236e12e74
at libstd/sys_common/backtrace.rs:71
2: 0x7f4ac969968d - std::panicking::default_hook::{{closure}}::h6e8674dc74aeedd4
at libstd/sys_common/backtrace.rs:59
at libstd/panicking.rs:207
3: 0x7f4ac9699389 - std::panicking::default_hook::h746ce9d1b7bb055c
at libstd/panicking.rs:223
4: 0x7f4ac60d461d - core::ops::function::Fn::call::hb510ff0d959ce38b
5: 0x7f4ac9699b29 - std::panicking::rust_panic_with_hook::h9a379049fd32d0d9
at libstd/panicking.rs:403
6: 0x7f4ac51ecbea - std::panicking::begin_panic::hef985c972aedad24
7: 0x7f4ac520dda5 - rustc_errors::Handler::bug::hd04d670de9a4f7bc
8: 0x7f4ac63e8e1f - rustc::session::opt_span_bug_fmt::{{closure}}::h9717c5174ccf7dbc
9: 0x7f4ac64a6065 - rustc::ty::context::tls::with_opt::{{closure}}::h2ab3fb2a7fdf1463
10: 0x7f4ac60cce9f - <std::thread::local::LocalKey<T>>::try_with::h4a96d45c0fd1da65
11: 0x7f4ac60ccad6 - <std::thread::local::LocalKey<T>>::with::h935c0307e72b02b5
12: 0x7f4ac64a5e66 - rustc::ty::context::tls::with::ha5ff3dff40c0ca13
13: 0x7f4ac64a6017 - rustc::ty::context::tls::with_opt::h6c692edeed5f4205
14: 0x7f4ac63e8d24 - rustc::session::opt_span_bug_fmt::hd4ef20e4f17440e1
15: 0x7f4ac63e8c96 - rustc::session::bug_fmt::h3e8fd5409ad66756
16: 0x7f4ac64a09da - rustc::ty::context::InterpretInterner::cache::h1887c6eea8e42f39
17: 0x7f4ac647de7e - <rustc::ty::maps::on_disk_cache::CacheDecoder<'a, 'tcx, 'x> as serialize::serialize::SpecializedDecoder<rustc::mir::interpret::AllocId>>::specialized_decode::h7272271c1d82beca
18: 0x7f4ac647dcb2 - <rustc::ty::maps::on_disk_cache::CacheDecoder<'a, 'tcx, 'x> as serialize::serialize::SpecializedDecoder<rustc::mir::interpret::AllocId>>::specialized_decode::h7272271c1d82beca
19: 0x7f4ac64efed6 - <rustc::mir::interpret::MemoryPointer as serialize::serialize::Decodable>::decode::{{closure}}::h95abfc00fa88786f
20: 0x7f4ac624b3f9 - serialize::serialize::Decoder::read_enum_variant::h237634adb88347ef
21: 0x7f4ac64efa8f - <rustc::mir::interpret::value::Pointer as serialize::serialize::Decodable>::decode::{{closure}}::hd8074276f09679f8
22: 0x7f4ac624c79b - serialize::serialize::Decoder::read_enum_variant::hf44cd3f2c6c882d2
23: 0x7f4ac624b5ff - serialize::serialize::Decoder::read_enum_variant::h9259904540d0ee8d
24: 0x7f4ac658377a - rustc::ty::maps::<impl rustc::ty::maps::queries::const_eval<'tcx>>::try_get::h0fd12e21b00a6c19
25: 0x7f4ac667885a - rustc::ty::maps::TyCtxtAt::const_eval::hb868ce2a5cc81181
26: 0x7f4ac6674e74 - rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::const_eval::h8866ca29889b7ee8
27: 0x7f4ac6eb7b19 - rustc_mir::monomorphize::collector::collect_items_rec::h984ce9e45fc5814d
28: 0x7f4ac6eb8f31 - rustc_mir::monomorphize::collector::collect_items_rec::h984ce9e45fc5814d
29: 0x7f4ac6eb7492 - rustc_mir::monomorphize::collector::collect_crate_mono_items::h6512adb9d11b1126
30: 0x7f4abeafc528 - rustc_trans::base::collect_and_partition_translation_items::h16e489be9a70c8bc
31: 0x7f4ac6271db9 - rustc::dep_graph::graph::DepGraph::with_task_impl::h7bb0171e1fb0b345
32: 0x7f4ac664cb97 - rustc::ty::maps::<impl rustc::ty::maps::queries::collect_and_partition_translation_items<'tcx>>::force::ha1e3871a6ee96b55
33: 0x7f4ac664dbe8 - rustc::ty::maps::<impl rustc::ty::maps::queries::collect_and_partition_translation_items<'tcx>>::try_get::h8a39ec230dc612c4
34: 0x7f4ac667d2e5 - rustc::ty::maps::TyCtxtAt::collect_and_partition_translation_items::hbcd28dffa92ca525
35: 0x7f4ac667613e - rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::collect_and_partition_translation_items::h51816eb64a8d161f
36: 0x7f4abeaf7f33 - rustc_trans::base::trans_crate::h7aad30be39f12db7
37: 0x7f4abeb502e7 - <rustc_trans::LlvmTransCrate as rustc_trans_utils::trans_crate::TransCrate>::trans_crate::h2fc85b08340ba786
38: 0x7f4ac9a65a8c - rustc_driver::driver::phase_4_translate_to_llvm::hedf678c6a2658a09
39: 0x7f4ac9a5e3de - rustc_driver::driver::compile_input::{{closure}}::h7a79a9d8c1ffdd5f
40: 0x7f4ac99ea247 - rustc::ty::context::TyCtxt::create_and_enter::h0c78163ea978eb0d
41: 0x7f4ac9a5c401 - rustc_driver::driver::compile_input::haf2922d1e945b5b0
42: 0x7f4ac9a795e5 - rustc_driver::run_compiler::h884712936ee0cb5b
43: 0x7f4ac99a1810 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb9742e754f1ab532
44: 0x7f4ac96b298e - __rust_maybe_catch_panic
at libpanic_unwind/lib.rs:102
45: 0x7f4ac99dca86 - <F as alloc::boxed::FnBox<A>>::call_box::h0248c1537f35c894
46: 0x7f4ac96a9beb - std::sys::unix::thread::Thread::new::thread_start::h9e86927e52b61050
at /checkout/src/liballoc/boxed.rs:793
at libstd/sys_common/thread.rs:24
at libstd/sys/unix/thread.rs:90
47: 0x7f4ac454a08b - start_thread
48: 0x7f4ac9367e7e - __GI___clone
49: 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 (392645394 2018-03-15) running on x86_64-unknown-linux-gnu
note: compiler flags: -C debuginfo=2 -C incremental
note: some of the compiler flags provided by cargo are hidden
error: Could not compile `carlogs`.
To learn more, run the command again with --verbose.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment