Created
June 28, 2018 03:23
-
-
Save PramodBisht/858da0bb18c59130e88ace5af3c2136f 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
error: internal compiler error: librustc_mir/transform/elaborate_drops.rs:375: drop of untracked, uninitialized value bb8, place ((*_3).0: core::option::Option<T>) (Parent(Some(mp3))) | |
--> libstd/sync/mpsc/spsc_queue.rs:139:13 | |
| | |
139 | (*n).value = Some(t); | |
| ^^^^^^^^^^ | |
thread 'main' panicked at 'Box<Any>', librustc_errors/lib.rs:499:9 | |
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 | |
at libstd/sys_common/backtrace.rs:59 | |
2: std::panicking::default_hook::{{closure}} | |
at libstd/panicking.rs:211 | |
3: std::panicking::default_hook | |
at libstd/panicking.rs:227 | |
4: rustc::util::common::panic_hook | |
at librustc/util/common.rs:54 | |
5: std::panicking::rust_panic_with_hook | |
at libstd/panicking.rs:515 | |
6: std::panicking::begin_panic | |
at ./libstd/panicking.rs:445 | |
7: rustc_errors::Handler::span_bug | |
at ./<panic macros>:3 | |
8: rustc::session::opt_span_bug_fmt::{{closure}} | |
at ./librustc/session/mod.rs:1291 | |
9: rustc::ty::context::tls::with_opt::{{closure}} | |
at ./librustc/ty/context.rs:1966 | |
10: rustc::ty::context::tls::with_context_opt | |
at ./librustc/ty/context.rs:1903 | |
11: rustc::ty::context::tls::with_opt | |
at ./librustc/ty/context.rs:1966 | |
12: rustc::session::opt_span_bug_fmt | |
at ./librustc/session/mod.rs:1288 | |
13: rustc::session::span_bug_fmt | |
at ./librustc/session/mod.rs:1279 | |
14: <rustc_mir::transform::elaborate_drops::ElaborateDrops as rustc_mir::transform::MirPass>::run_pass | |
at librustc_mir/transform/elaborate_drops.rs:375 | |
at librustc_mir/transform/elaborate_drops.rs:338 | |
at librustc_mir/transform/elaborate_drops.rs:61 | |
15: rustc_mir::transform::optimized_mir::{{closure}}::{{closure}} | |
at librustc_mir/transform/mod.rs:171 | |
16: rustc_mir::transform::optimized_mir::{{closure}} | |
at librustc_mir/transform/mod.rs:176 | |
17: rustc_mir::transform::optimized_mir | |
at librustc_mir/transform/mod.rs:231 | |
18: rustc::ty::maps::__query_compute::optimized_mir | |
at librustc/ty/maps/plumbing.rs:773 | |
at librustc/ty/maps/plumbing.rs:744 | |
19: rustc::ty::maps::<impl rustc::ty::maps::config::QueryConfig<'tcx> for rustc::ty::maps::queries::optimized_mir<'tcx>>::compute | |
at librustc/ty/maps/plumbing.rs:771 | |
20: rustc::dep_graph::graph::DepGraph::with_task_impl | |
at librustc/dep_graph/graph.rs:341 | |
21: rustc::ty::context::tls::with_related_context | |
at librustc/dep_graph/graph.rs:207 | |
at librustc/ty/maps/plumbing.rs:534 | |
at librustc/ty/maps/plumbing.rs:204 | |
at librustc/ty/context.rs:1828 | |
at librustc/ty/context.rs:1767 | |
at librustc/ty/context.rs:1827 | |
at librustc/ty/maps/plumbing.rs:203 | |
at librustc/ty/context.rs:1928 | |
at librustc/ty/context.rs:1912 | |
at librustc/ty/context.rs:1903 | |
at librustc/ty/context.rs:1912 | |
at librustc/ty/context.rs:1923 | |
22: rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::force_query_with_job | |
at librustc/ty/maps/plumbing.rs:193 | |
at librustc/ty/maps/plumbing.rs:527 | |
23: rustc::ty::maps::plumbing::<impl rustc::ty::context::TyCtxt<'a, 'gcx, 'tcx>>::get_query | |
at librustc/ty/maps/plumbing.rs:376 | |
at librustc/ty/maps/plumbing.rs:603 | |
at librustc/ty/maps/plumbing.rs:610 | |
24: rustc::ty::maps::<impl rustc::ty::context::TyCtxt<'a, 'tcx, 'lcx>>::optimized_mir | |
at librustc/ty/maps/plumbing.rs:827 | |
at librustc/ty/maps/plumbing.rs:820 | |
25: rustc_metadata::encoder::<impl rustc_metadata::isolated_encoder::IsolatedEncoder<'a, 'b, 'tcx>>::encode_optimized_mir | |
at librustc_metadata/encoder.rs:995 | |
26: rustc_metadata::encoder::<impl rustc_metadata::isolated_encoder::IsolatedEncoder<'a, 'b, 'tcx>>::encode_info_for_impl_item | |
at librustc_metadata/encoder.rs:970 | |
27: rustc::ty::context::tls::with_context | |
at librustc_metadata/index_builder.rs:129 | |
at ./librustc/dep_graph/graph.rs:166 | |
at ./librustc/ty/context.rs:1828 | |
at ./librustc/ty/context.rs:1767 | |
at ./librustc/ty/context.rs:1827 | |
at ./librustc/dep_graph/graph.rs:165 | |
at ./librustc/ty/context.rs:1912 | |
at ./librustc/ty/context.rs:1903 | |
at ./librustc/ty/context.rs:1912 | |
28: rustc_metadata::encoder::<impl rustc_metadata::index_builder::IndexBuilder<'a, 'b, 'tcx>>::encode_addl_info_for_item | |
at ./librustc/dep_graph/graph.rs:159 | |
at librustc_metadata/index_builder.rs:127 | |
at librustc_metadata/encoder.rs:1742 | |
29: rustc::hir::Crate::visit_all_item_likes | |
at ./librustc/hir/itemlikevisit.rs:80 | |
at ./librustc/hir/mod.rs:724 | |
30: rustc_metadata::encoder::encode_metadata | |
at librustc_metadata/encoder.rs:329 | |
at librustc_metadata/encoder.rs:450 | |
at librustc_metadata/encoder.rs:1834 | |
31: rustc_metadata::cstore_impl::<impl rustc::middle::cstore::CrateStore for rustc_metadata::cstore::CStore>::encode_metadata | |
at librustc_metadata/cstore_impl.rs:579 | |
32: rustc::ty::context::TyCtxt::encode_metadata | |
at librustc/ty/context.rs:1455 | |
33: rustc_codegen_llvm::base::write_metadata | |
at librustc_codegen_llvm/base.rs:653 | |
34: rustc::util::common::time | |
at librustc_codegen_llvm/base.rs:740 | |
at ./librustc/util/common.rs:166 | |
at ./librustc/util/common.rs:160 | |
35: rustc_codegen_llvm::base::codegen_crate | |
at librustc_codegen_llvm/base.rs:739 | |
36: <rustc_codegen_llvm::LlvmCodegenBackend as rustc_codegen_utils::codegen_backend::CodegenBackend>::codegen_crate | |
at librustc_codegen_llvm/lib.rs:204 | |
37: rustc::util::common::time | |
at librustc_driver/driver.rs:1324 | |
at ./librustc/util/common.rs:166 | |
at ./librustc/util/common.rs:160 | |
38: rustc_driver::driver::phase_4_codegen | |
at librustc_driver/driver.rs:1324 | |
39: rustc_driver::driver::compile_input::{{closure}} | |
at librustc_driver/driver.rs:325 | |
40: rustc::ty::context::tls::enter_context | |
at librustc_driver/driver.rs:1308 | |
at ./librustc/ty/context.rs:1860 | |
at ./librustc/ty/context.rs:1828 | |
at ./librustc/ty/context.rs:1767 | |
at ./librustc/ty/context.rs:1827 | |
41: <std::thread::local::LocalKey<T>>::with | |
at ./librustc/ty/context.rs:1859 | |
at ./librustc/ty/context.rs:1817 | |
at ./libstd/thread/local.rs:294 | |
at ./libstd/thread/local.rs:248 | |
at ./librustc/ty/context.rs:1809 | |
at ./libstd/thread/local.rs:294 | |
at ./libstd/thread/local.rs:248 | |
42: rustc::ty::context::TyCtxt::create_and_enter | |
at ./librustc/ty/context.rs:1801 | |
at ./librustc/ty/context.rs:1839 | |
at ./librustc/ty/context.rs:1184 | |
43: rustc_driver::driver::compile_input | |
at librustc_driver/driver.rs:1218 | |
at librustc_driver/driver.rs:284 | |
44: rustc_driver::run_compiler_with_pool | |
at librustc_driver/lib.rs:551 | |
45: <scoped_tls::ScopedKey<T>>::set | |
at librustc_driver/lib.rs:472 | |
at librustc_driver/driver.rs:73 | |
at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.1/src/lib.rs:155 | |
46: <scoped_tls::ScopedKey<T>>::set | |
at librustc_driver/driver.rs:72 | |
at librustc_driver/lib.rs:471 | |
at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.1/src/lib.rs:155 | |
at ./libsyntax/lib.rs:97 | |
at /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-0.1.1/src/lib.rs:155 | |
47: syntax::with_globals | |
at ./libsyntax/lib.rs:96 | |
48: <std::panic::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once | |
at librustc_driver/lib.rs:462 | |
at librustc_driver/lib.rs:1699 | |
at librustc_driver/lib.rs:180 | |
at librustc_driver/lib.rs:1613 | |
at ./libstd/panic.rs:308 | |
49: __rust_maybe_catch_panic | |
at libpanic_unwind/lib.rs:105 | |
50: std::panicking::try | |
at ./libstd/panicking.rs:289 | |
51: rustc_driver::run | |
at ./libstd/panic.rs:392 | |
at librustc_driver/lib.rs:1545 | |
at librustc_driver/lib.rs:1612 | |
at librustc_driver/lib.rs:179 | |
52: rustc_driver::main | |
at librustc_driver/lib.rs:1692 | |
53: std::rt::lang_start::{{closure}} | |
at ./libstd/rt.rs:74 | |
54: std::panicking::try::do_call | |
at libstd/rt.rs:59 | |
at libstd/panicking.rs:310 | |
55: __rust_maybe_catch_panic | |
at libpanic_unwind/lib.rs:105 | |
56: std::panic::catch_unwind | |
at libstd/panicking.rs:289 | |
at libstd/panic.rs:392 | |
57: std::rt::lang_start_internal | |
at libstd/rt.rs:58 | |
58: main | |
59: __libc_start_main | |
60: _start | |
query stack during panic: | |
#0 [optimized_mir] processing `<sync::mpsc::spsc_queue::Queue<T, ProducerAddition, ConsumerAddition>>::push` | |
end of query stack | |
error: aborting due to previous error | |
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.28.0-dev running on x86_64-unknown-linux-gnu | |
note: compiler flags: -Z force-unstable-if-unmarked -C prefer-dynamic -C opt-level=2 -C prefer-dynamic -C debug-assertions=y -C codegen-units=16 -C link-args=-Wl,-rpath,$ORIGIN/../lib --crate-type dylib --crate-type rlib | |
note: some of the compiler flags provided by cargo are hidden | |
error: Could not compile `std`. | |
Caused by: | |
process didn't exit successfully: `/home/user/rust/build/bootstrap/debug/rustc --crate-name std libstd/lib.rs --error-format json --crate-type dylib --crate-type rlib --emit=dep-info,link -C prefer-dynamic -C opt-level=2 --cfg feature="alloc_jemalloc" --cfg feature="backtrace" --cfg feature="jemalloc" --cfg feature="panic-unwind" --cfg feature="panic_unwind" -C metadata=1a86a61763c2b34b -C extra-filename=-1a86a61763c2b34b --out-dir /home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -L dependency=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/release/deps --extern alloc=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liballoc-057d09441be39ab5.rlib --extern rustc_lsan=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_lsan-613111e9987dd34b.rlib --extern rustc_tsan=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_tsan-00347be741ae2593.rlib --extern panic_unwind=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libpanic_unwind-339c04ae4132d76c.rlib --extern alloc_system=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liballoc_system-5e948e8e93b206b3.rlib --extern rustc_msan=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_msan-f42f9ae0d9b3b245.rlib --extern compiler_builtins=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcompiler_builtins-371c588c1a3805de.rlib --extern std_unicode=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libstd_unicode-9cb32559fd090f4f.rlib --extern alloc_jemalloc=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liballoc_jemalloc-eb1d26a1b5f469f1.rlib --extern rustc_asan=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/librustc_asan-0983f738af9f329b.rlib --extern libc=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/liblibc-8a689bacec06a191.rlib --extern panic_abort=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libpanic_abort-dbdbba248951650b.rlib --extern unwind=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libunwind-e8ee297dbe25844d.rlib --extern core=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/deps/libcore-b8b7fb254e56b0ab.rlib -L native=/home/user/rust/build/x86_64-unknown-linux-gnu/native/libbacktrace/ -l static=backtrace -l dl -l rt -l pthread -L native=/home/user/rust/build/x86_64-unknown-linux-gnu/stage1-std/x86_64-unknown-linux-gnu/release/build/compiler_builtins-f3f01c545fe8aed7/out -L native=/home/user/rust/build/x86_64-unknown-linux-gnu/native/jemalloc/lib` (exit code: 101) | |
command did not execute successfully: "/home/user/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "16" "--release" "--features" "panic-unwind jemalloc backtrace" "--manifest-path" "/home/user/rust/src/libstd/Cargo.toml" "--message-format" "json" | |
expected success, got: exit code: 101 | |
thread 'main' panicked at 'cargo must succeed', bootstrap/compile.rs:1091:9 | |
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 | |
at libstd/sys_common/backtrace.rs:59 | |
2: std::panicking::default_hook::{{closure}} | |
at libstd/panicking.rs:211 | |
3: std::panicking::default_hook | |
at libstd/panicking.rs:227 | |
4: std::panicking::rust_panic_with_hook | |
at libstd/panicking.rs:463 | |
5: std::panicking::begin_panic | |
at /checkout/src/libstd/panicking.rs:397 | |
6: bootstrap::compile::run_cargo | |
at bootstrap/compile.rs:1091 | |
7: <bootstrap::compile::Std as bootstrap::builder::Step>::run | |
at bootstrap/compile.rs:109 | |
8: bootstrap::builder::Builder::ensure | |
at bootstrap/builder.rs:1109 | |
9: <bootstrap::compile::Test as bootstrap::builder::Step>::run | |
at bootstrap/compile.rs:354 | |
10: bootstrap::builder::Builder::ensure | |
at bootstrap/builder.rs:1109 | |
11: <bootstrap::compile::Rustc as bootstrap::builder::Step>::run | |
at bootstrap/compile.rs:470 | |
12: bootstrap::builder::Builder::ensure | |
at bootstrap/builder.rs:1109 | |
13: <bootstrap::compile::Assemble as bootstrap::builder::Step>::run | |
at bootstrap/compile.rs:929 | |
14: bootstrap::builder::Builder::ensure | |
at bootstrap/builder.rs:1109 | |
15: bootstrap::builder::Builder::compiler | |
at bootstrap/builder.rs:569 | |
16: <bootstrap::compile::Std as bootstrap::builder::Step>::make_run | |
at bootstrap/compile.rs:57 | |
17: bootstrap::builder::StepDescription::maybe_run | |
at bootstrap/builder.rs:191 | |
18: bootstrap::builder::StepDescription::run | |
at bootstrap/builder.rs:215 | |
19: bootstrap::builder::Builder::run_step_descriptions | |
at bootstrap/builder.rs:561 | |
20: bootstrap::builder::Builder::execute_cli | |
at bootstrap/builder.rs:551 | |
21: bootstrap::Build::build | |
at bootstrap/lib.rs:450 | |
22: bootstrap::main | |
at bootstrap/bin/main.rs:29 | |
23: std::rt::lang_start::{{closure}} | |
at /checkout/src/libstd/rt.rs:74 | |
24: std::panicking::try::do_call | |
at libstd/rt.rs:59 | |
at libstd/panicking.rs:310 | |
25: __rust_maybe_catch_panic | |
at libpanic_unwind/lib.rs:105 | |
26: std::rt::lang_start_internal | |
at libstd/panicking.rs:289 | |
at libstd/panic.rs:374 | |
at libstd/rt.rs:58 | |
27: std::rt::lang_start | |
at /checkout/src/libstd/rt.rs:74 | |
28: main | |
29: __libc_start_main | |
30: _start | |
failed to run: /home/user/rust/build/bootstrap/debug/bootstrap build | |
Build completed unsuccessfully in 0:00:13 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment