Created
November 2, 2018 08:49
-
-
Save nikomatsakis/9914c8698b7578c3c6f8b6f224835f1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
warning: field is never used: `private` | |
--> /home/nmatsakis/tmp/foo.rs:6:5 | |
| | |
6 | private: std::num::NonZeroU32, | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: #[warn(dead_code)] on by default | |
warning: function is never used: `main` | |
--> /home/nmatsakis/tmp/foo.rs:36:1 | |
| | |
36 | fn main() { } | |
| ^^^^^^^^^ | |
thread 'main' panicked at 'assertion failed: `(left == right)` | |
left: `18446744073709551615`, | |
right: `340282366920938463463374607431768211455`', librustc_codegen_llvm/debuginfo/metadata.rs:1367:29 | |
stack backtrace: | |
0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace | |
at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49 | |
1: std::sys_common::backtrace::_print | |
at libstd/sys_common/backtrace.rs:71 | |
2: std::panicking::default_hook::{{closure}} | |
at libstd/sys_common/backtrace.rs:59 | |
at libstd/panicking.rs:211 | |
3: std::panicking::default_hook | |
at libstd/panicking.rs:227 | |
4: rustc::util::common::panic_hook | |
5: std::panicking::rust_panic_with_hook | |
at libstd/panicking.rs:480 | |
6: std::panicking::continue_panic_fmt | |
at libstd/panicking.rs:390 | |
7: std::panicking::begin_panic_fmt | |
at libstd/panicking.rs:345 | |
8: <core::iter::Map<I, F> as core::iter::iterator::Iterator>::fold | |
9: <alloc::vec::Vec<T> as alloc::vec::SpecExtend<T, I>>::from_iter | |
10: rustc_codegen_llvm::debuginfo::metadata::MemberDescriptionFactory::create_member_descriptions | |
11: rustc_codegen_llvm::debuginfo::metadata::RecursiveTypeDescription::finalize | |
12: rustc_codegen_llvm::debuginfo::metadata::type_metadata | |
13: rustc_codegen_llvm::mir::codegen_mir | |
14: rustc_codegen_llvm::base::codegen_instance | |
15: rustc_codegen_llvm::mono_item::MonoItemExt::define | |
16: rustc_codegen_llvm::base::compile_codegen_unit::module_codegen | |
17: rustc::dep_graph::graph::DepGraph::with_task | |
18: rustc_codegen_llvm::base::codegen_crate | |
19: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate | |
20: rustc::util::common::time | |
21: rustc_driver::driver::phase_4_codegen | |
22: rustc_driver::driver::compile_input::{{closure}} | |
23: rustc::ty::context::tls::enter_context | |
24: <std::thread::local::LocalKey<T>>::with | |
25: rustc::ty::context::TyCtxt::create_and_enter | |
26: rustc_driver::driver::compile_input | |
27: rustc_driver::run_compiler_with_pool | |
28: rustc_driver::driver::spawn_thread_pool | |
29: rustc_driver::run_compiler | |
30: <scoped_tls::ScopedKey<T>>::set | |
31: syntax::with_globals | |
32: __rust_maybe_catch_panic | |
at libpanic_unwind/lib.rs:102 | |
33: rustc_driver::run | |
34: rustc_driver::main | |
35: std::rt::lang_start::{{closure}} | |
36: std::panicking::try::do_call | |
at libstd/rt.rs:59 | |
at libstd/panicking.rs:310 | |
37: __rust_maybe_catch_panic | |
at libpanic_unwind/lib.rs:102 | |
38: std::rt::lang_start_internal | |
at libstd/panicking.rs:289 | |
at libstd/panic.rs:392 | |
at libstd/rt.rs:58 | |
39: main | |
40: __libc_start_main | |
at ../csu/libc-start.c:308 | |
41: <unknown> | |
query stack during panic: | |
end of query stack | |
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: rustc 1.31.0-nightly (de9666f12 2018-10-31) running on x86_64-unknown-linux-gnu | |
note: compiler flags: -C debuginfo=2 --crate-type lib | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment