rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
97.46k stars 12.6k forks source link

ICE while building rustc with -Zverbose set #29239

Closed ghost closed 3 years ago

ghost commented 8 years ago

EDIT: ignore further posts(aside from this one) and note that make 'RUSTFLAGS=-Z verbose' is causing this ICE (regardless of ./configure flags and other make flags) - I don't yet know which rust code coupled with the arg is the culprit though.

While compiling rust from git sources, as follows:

$ cd /home/zazdxscf/build/1nonpkgs/rust/rust/
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --enable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust

...
$ time make -j1 -- all NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y' RUST_BACKTRACE=1

...
...
rustc: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front
time: 0.103; rss: 41MB  parsing
time: 0.028; rss: 41MB  configuration 1
time: 0.000; rss: 41MB  recursion limit
time: 0.003; rss: 41MB  gated macro checking
time: 0.000; rss: 41MB  crate injection
time: 0.021; rss: 44MB  macro loading
time: 0.000; rss: 44MB  plugin loading
time: 0.000; rss: 44MB  plugin registration
time: 0.647; rss: 61MB  expansion
time: 0.017; rss: 61MB  complete gated feature checking 1
time: 0.129; rss: 61MB  configuration 2
time: 0.000; rss: 61MB  gated configuration checking
time: 0.068; rss: 61MB  maybe building test harness
time: 0.063; rss: 61MB  prelude injection
time: 0.011; rss: 61MB  checking that all macro invocations are gone
time: 0.000; rss: 61MB  checking for inline asm in case the target doesn't support it
time: 0.018; rss: 61MB  complete gated feature checking 2
time: 0.065; rss: 61MB  assigning node ids
time: 0.062; rss: 77MB  lowering ast -> hir
time: 0.067; rss: 81MB  indexing hir
time: 0.000; rss: 81MB  attribute checking
time: 0.030; rss: 81MB  early lint checks
time: 0.013; rss: 81MB  external crate/lib resolution
time: 0.017; rss: 81MB  language item collection
time: 0.312; rss: 109MB resolution
time: 0.012; rss: 109MB lifetime resolution
time: 0.000; rss: 109MB looking for entry point
time: 0.007; rss: 109MB looking for plugin registrar
time: 0.062; rss: 114MB region resolution
time: 0.008; rss: 114MB loop checking
time: 0.007; rss: 114MB static item recursion checking
time: 0.078; rss: 118MB type collecting
time: 0.015; rss: 118MB variance inference
time: 0.180; rss: 137MB coherence checking
time: 0.080; rss: 138MB wf checking (old)
time: 0.086; rss: 138MB item-types checking
time: 11.953; rss: 183MB    item-bodies checking
time: 0.000; rss: 183MB drop-impl checking
time: 0.386; rss: 183MB wf checking (new)
time: 1.164; rss: 184MB const checking
time: 0.063; rss: 184MB privacy checking
time: 0.002; rss: 184MB stability index
time: 0.028; rss: 184MB intrinsic checking
time: 0.019; rss: 184MB effect checking
time: 0.130; rss: 184MB match checking
time: 0.864; rss: 240MB MIR dump
time: 0.089; rss: 246MB liveness checking
time: 2.493; rss: 246MB borrow checking
time: 1.771; rss: 246MB rvalue checking
time: 0.020; rss: 246MB reachability checking
time: 0.060; rss: 246MB death checking
time: 0.056; rss: 246MB stability checking
time: 0.000; rss: 246MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3bd2fe91a38 - sys::backtrace::tracing::imp::write::h899a6e2564d068526tt
   2:      0x3bd2fe99f5a - panicking::log_panic::h87fed04ca3a1e1aeFux
   3:      0x3bd2fe505fa - sys_common::unwind::begin_unwind_inner::h39173c97d971c415xls
   4:      0x3bd2fe512a7 - sys_common::unwind::begin_unwind_fmt::h843e47803017c429Dks
   5:      0x3bd2dab036d - metadata::csearch::get_item_path::h0475f7dfebe13fb1Vgs
   6:      0x3bd2da6ee5e - middle::ty::ctxt<'tcx>::item_path_str::hb86463860eef864drFh
   7:      0x3bd2d9ed7d4 - middle::def_id::DefId.fmt..Debug::fmt::h3396af9d47944879Rfs
   8:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
   9:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  10:      0x3bd2da9eec8 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::h5dcd08e05a482628k8B
  11:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  12:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  13:      0x3bd2d8edf14 - util::ppaux::ty..Region.fmt..Debug::fmt::h5d8e8f0ebe30e4fasaC
  14:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  15:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  16:      0x3bd2dab39c0 - util::ppaux::ty..Region.fmt..Display::fmt::h06b3dd5f42422d75kkC
  17:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  18:      0x3bd2dcf7431 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::ha94fa2fb09c70a2atKB
  19:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3bd2dcfacf5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::hdf49f13f2be29c6asQC
  22:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  23:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  24:      0x3bd2d8ee497 - fmt::_&'a T.Display::fmt::h9388610182093952802
  25:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  26:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  27:      0x3bd2dcfacf5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::hdf49f13f2be29c6asQC
  28:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  29:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  30:      0x3bd2d8ee497 - fmt::_&'a T.Display::fmt::h9388610182093952802
  31:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  32:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  33:      0x3bd2dcf42cd - util::ppaux::fn_sig::hbe63353a4d6b8ceb7eB
  34:      0x3bd2dcf8bc6 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h88e374eb88bf2cb2huC
  35:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  36:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  37:      0x3bd2dcfc111 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::hdf49f13f2be29c6asQC
  38:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  39:      0x3bd2feb8323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  40:      0x3bd2d8ee4f4 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h0b98b3f4e0f76e60WgD
  41:      0x3bd2fed5ec5 - fmt::write::h4c1f14d6ead6957fW5U
  42:      0x3bd2fe9bae2 - fmt::format::hdd6e6b41627bc4c0b6d
  43:      0x3bd2f7cdf33 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  44:      0x3bd2f7ce269 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  45:      0x3bd2dcd44af - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h5069072bc23125c5FOz
  46:      0x3bd2dcd49ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h5069072bc23125c5FOz
  47:      0x3bd2dcd49ce - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h5069072bc23125c5FOz
  48:      0x3bd2dcd4d7b - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::haea38a634d48914eLQz
  49:      0x3bd2dccfbf0 - lint::context::LintContext::with_lint_attrs::h7661409133502095598
  50:      0x3bd2dcd505e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h8b2f992061a59399UZz
  51:      0x3bd2dccfc22 - lint::context::LintContext::with_lint_attrs::h7661409133502095598
  52:      0x3bd2dcd505e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h8b2f992061a59399UZz
  53:      0x3bd2dccfc22 - lint::context::LintContext::with_lint_attrs::h7661409133502095598
  54:      0x3bd2dcd505e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h8b2f992061a59399UZz
  55:      0x3bd2dcf0a0a - lint::context::check_crate::h31fa4bd641695c0fzPA
  56:      0x3bd303af2ab - driver::phase_3_run_analysis_passes::closure.21957
  57:      0x3bd303a7ed2 - middle::ty::context::ctxt<'tcx>::create_and_enter::h18227465378971750510
  58:      0x3bd303a318d - driver::phase_3_run_analysis_passes::h15948730956397786118
  59:      0x3bd303853fb - driver::compile_input::h0b1b46ede8c440c17ba
  60:      0x3bd3047261f - run_compiler::hbef8d0681748b40dNtc
  61:      0x3bd3046fbe8 - sys_common::unwind::try::try_fn::h9961911169628387963
  62:      0x3bd2fe8f0d8 - __rust_try
  63:      0x3bd2fe7e89b - sys_common::unwind::try::inner_try::hd160594970b417325hs
  64:      0x3bd3046ff10 - boxed::F.FnBox<A>::call_box::h8815315460722377054
  65:      0x3bd2fe986e3 - sys::thread::Thread::new::thread_start::h1b6f054d8b7016bdRMw
  66:      0x3bd2941964b - start_thread
                        at /usr/src/debug/sys-libs/glibc-2.22-r1/glibc-2.22/nptl/pthread_create.c:334
  67:      0x3bd2fb129bc - clone
                        at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  68:                0x0 - <unknown>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    60m34.588s
user    53m14.110s
sys 6m28.910s

I tried to report it here https://github.com/rust-lang/rust/issues/13364#issuecomment-149349512 but since that issue is closed, there was no reply for the past 3 days.

Latest commit at the time of testing this was: ca998fc2f100bce4eab9b4609bd5a0a5c5789872

This is stage0 rustc --verbose --version

rustc 1.5.0-dev (ca998fc2f 2015-10-22)
binary: rustc
commit-hash: ca998fc2f100bce4eab9b4609bd5a0a5c5789872
commit-date: 2015-10-22
host: x86_64-unknown-linux-gnu
release: 1.5.0-dev

Let me know if you need any more info that I can give. I am willing to try anything to get this fixed, any ideas are welcome.

ghost commented 8 years ago

tl;dr: same error when replacing --enable-debuginfo with --disable-debuginfo

By changing --enable-debuginfo into --disable-debuginfo but without doing a make clean prior to rerunning configure then make(because apparently it's not needed, it will still recompile everything from the beginning, except for llvm), then the same thing happens:

$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust

...
$ time make -j1 -- all NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y' RUST_BACKTRACE=1

...
...
rustc: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front
time: 0.104; rss: 42MB  parsing
time: 0.027; rss: 42MB  configuration 1
time: 0.000; rss: 42MB  recursion limit
time: 0.003; rss: 42MB  gated macro checking
time: 0.000; rss: 42MB  crate injection
time: 0.022; rss: 44MB  macro loading
time: 0.000; rss: 44MB  plugin loading
time: 0.000; rss: 44MB  plugin registration
time: 0.634; rss: 61MB  expansion
time: 0.016; rss: 61MB  complete gated feature checking 1
time: 0.128; rss: 61MB  configuration 2
time: 0.000; rss: 61MB  gated configuration checking
time: 0.067; rss: 61MB  maybe building test harness
time: 0.062; rss: 61MB  prelude injection
time: 0.011; rss: 61MB  checking that all macro invocations are gone
time: 0.000; rss: 61MB  checking for inline asm in case the target doesn't support it
time: 0.017; rss: 61MB  complete gated feature checking 2
time: 0.064; rss: 61MB  assigning node ids
time: 0.061; rss: 78MB  lowering ast -> hir
time: 0.067; rss: 82MB  indexing hir
time: 0.000; rss: 82MB  attribute checking
time: 0.030; rss: 82MB  early lint checks
time: 0.014; rss: 82MB  external crate/lib resolution
time: 0.017; rss: 82MB  language item collection
time: 0.310; rss: 110MB resolution
time: 0.011; rss: 110MB lifetime resolution
time: 0.000; rss: 110MB looking for entry point
time: 0.007; rss: 110MB looking for plugin registrar
time: 0.062; rss: 115MB region resolution
time: 0.007; rss: 115MB loop checking
time: 0.007; rss: 115MB static item recursion checking
time: 0.077; rss: 119MB type collecting
time: 0.016; rss: 119MB variance inference
time: 0.180; rss: 138MB coherence checking
time: 0.080; rss: 139MB wf checking (old)
time: 0.086; rss: 139MB item-types checking
time: 11.824; rss: 184MB    item-bodies checking
time: 0.000; rss: 184MB drop-impl checking
time: 0.381; rss: 184MB wf checking (new)
time: 1.159; rss: 184MB const checking
time: 0.062; rss: 184MB privacy checking
time: 0.002; rss: 184MB stability index
time: 0.028; rss: 184MB intrinsic checking
time: 0.019; rss: 184MB effect checking
time: 0.129; rss: 184MB match checking
time: 0.863; rss: 240MB MIR dump
time: 0.086; rss: 246MB liveness checking
time: 2.469; rss: 246MB borrow checking
time: 1.729; rss: 246MB rvalue checking
time: 0.020; rss: 246MB reachability checking
time: 0.060; rss: 246MB death checking
time: 0.055; rss: 246MB stability checking
time: 0.000; rss: 246MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x38ad7869a38 - sys::backtrace::tracing::imp::write::h899a6e2564d068526tt
   2:      0x38ad7871f5a - panicking::log_panic::h87fed04ca3a1e1aeFux
   3:      0x38ad78285fa - sys_common::unwind::begin_unwind_inner::h39173c97d971c415xls
   4:      0x38ad78292a7 - sys_common::unwind::begin_unwind_fmt::h843e47803017c429Dks
   5:      0x38ad548822d - metadata::csearch::get_item_path::haf254411e6af40b2Vgs
   6:      0x38ad5446d1e - middle::ty::ctxt<'tcx>::item_path_str::h8743a7dc564b4820rFh
   7:      0x38ad53c5704 - middle::def_id::DefId.fmt..Debug::fmt::h68bfa4ce601e4c2dRfs
   8:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
   9:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  10:      0x38ad5476d88 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::h64f95cc58162add8k8B
  11:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  12:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  13:      0x38ad52c5ed4 - util::ppaux::ty..Region.fmt..Debug::fmt::hc7ea9fe49075b353saC
  14:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  15:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  16:      0x38ad548b880 - util::ppaux::ty..Region.fmt..Display::fmt::hc7b656446610bdadkkC
  17:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  18:      0x38ad56cf2f1 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::haaa666102cb1810etKB
  19:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x38ad56d2bb5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::ha7c91db2a712dae4sQC
  22:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  23:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  24:      0x38ad52c6457 - fmt::_&'a T.Display::fmt::h11067680234946478933
  25:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  26:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  27:      0x38ad56d2bb5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::ha7c91db2a712dae4sQC
  28:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  29:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  30:      0x38ad52c6457 - fmt::_&'a T.Display::fmt::h11067680234946478933
  31:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  32:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  33:      0x38ad56cc18d - util::ppaux::fn_sig::haee0879fb5f346417eB
  34:      0x38ad56d0a86 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h2d2456cefe42d74ahuC
  35:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  36:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  37:      0x38ad56d3fd1 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::ha7c91db2a712dae4sQC
  38:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  39:      0x38ad7890323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  40:      0x38ad52c64b4 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hcf27bda9b6b5e170WgD
  41:      0x38ad78adec5 - fmt::write::h4c1f14d6ead6957fW5U
  42:      0x38ad7873ae2 - fmt::format::hdd6e6b41627bc4c0b6d
  43:      0x38ad71a5f33 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  44:      0x38ad71a6269 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  45:      0x38ad56ac36f - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hec3f20ad390aa884FOz
  46:      0x38ad56ac8ad - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hec3f20ad390aa884FOz
  47:      0x38ad56ac88e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hec3f20ad390aa884FOz
  48:      0x38ad56acc3b - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::hdb4396bb9bcbff6dLQz
  49:      0x38ad56a7ab0 - lint::context::LintContext::with_lint_attrs::h4984301093664340773
  50:      0x38ad56acf1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h69eb9b55153d6977UZz
  51:      0x38ad56a7ae2 - lint::context::LintContext::with_lint_attrs::h4984301093664340773
  52:      0x38ad56acf1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h69eb9b55153d6977UZz
  53:      0x38ad56a7ae2 - lint::context::LintContext::with_lint_attrs::h4984301093664340773
  54:      0x38ad56acf1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h69eb9b55153d6977UZz
  55:      0x38ad56c88ca - lint::context::check_crate::h39448bc385c4ecf3zPA
  56:      0x38ad7d872ab - driver::phase_3_run_analysis_passes::closure.21957
  57:      0x38ad7d7fed2 - middle::ty::context::ctxt<'tcx>::create_and_enter::h16917164059176643116
  58:      0x38ad7d7b18d - driver::phase_3_run_analysis_passes::h15409790394034338059
  59:      0x38ad7d5d3fb - driver::compile_input::h0b1b46ede8c440c17ba
  60:      0x38ad7e4a62f - run_compiler::hbef8d0681748b40dNtc
  61:      0x38ad7e47bf8 - sys_common::unwind::try::try_fn::h9841971821030604291
  62:      0x38ad78670d8 - __rust_try
  63:      0x38ad785689b - sys_common::unwind::try::inner_try::hd160594970b417325hs
  64:      0x38ad7e47f20 - boxed::F.FnBox<A>::call_box::h14551616490890038848
  65:      0x38ad78706e3 - sys::thread::Thread::new::thread_start::h1b6f054d8b7016bdRMw
  66:      0x38ad0df164b - start_thread
                        at /usr/src/debug/sys-libs/glibc-2.22-r1/glibc-2.22/nptl/pthread_create.c:334
  67:      0x38ad74ea9bc - clone
                        at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  68:                0x0 - <unknown>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    43m59.465s
user    41m30.936s
sys 2m11.740s
ghost commented 8 years ago

EDIT: tl;dr: with the default args, the issue doesn't happen!

Finally decided to try with defaults, (this did recompile llvm due to make clean)

$ make clean
$ ./configure
$ time make RUST_BACKTRACE=1
...
I had to stop it because it was taking too long, apparently compiling llvm for PowerPC at the time
real    67m4.734s
user    61m36.373s
sys 4m50.800s

$ make clean
$ ./configure --enable-ccache --enable-dist-host-only
...
configure: configuring LLVM with:
configure: --enable-targets=x86,x86_64,arm,aarch64,mips,powerpc --enable-optimized --disable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=x86_64-unknown-linux-gnu                         --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --with-python=/usr/bin/python2.7
...
//great, now I see that it's going to be compiling powerpc anyway, can't I have only x86_64 ?!
...
$ time make RUST_BACKTRACE=1
...
make[4]: Entering directory '/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/lib/Target/PowerPC'
llvm[4]: Building PPC.td register info implementation with tblgen
...
//unacceptable! C-c ed
real    68m2.131s
user    61m41.616s
sys 5m36.360s
...

This explains it: LLVM_TARGETS="--enable-targets=x86,x86_64,arm,aarch64,mips,powerpc" in ./configure

$ git clean -dfx
$ git reset --hard
$ git pull
// latest commit now at: 83cf3ce4981e2ff1a3d7629665b7ec884adbb9de
$ patch -Np1 -i ../llvm_only_x86_64.patch
//that got this line: LLVM_TARGETS="--enable-targets=x86_64"
$ ./configure --enable-ccache --enable-dist-host-only
...
configure: configuring LLVM with:
configure: --enable-targets=x86_64 --enable-optimized --disable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=x86_64-unknown-linux-gnu                         --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --with-python=/usr/bin/python2.7
...
$ time make RUST_BACKTRACE=1
cfg: version 1.5.0-dev (83cf3ce49 2015-10-22)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
make: cleaning llvm
...
rustc: x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front
compile: x86_64-unknown-linux-gnu/rustllvm/ExecutionEngineWrapper.o
compile: x86_64-unknown-linux-gnu/rustllvm/RustWrapper.o
compile: x86_64-unknown-linux-gnu/rustllvm/PassWrapper.o
compile: x86_64-unknown-linux-gnu/rustllvm/ArchiveWrapper.o
link: x86_64-unknown-linux-gnu/rt/librustllvm.a
failed to run llvm_config: args = `['/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/bin/llvm-config', '--libs', '--system-libs', 'x86', 'arm', 'aarch64', 'mips', 'powerpc', 'ipo', 'bitreader', 'bitwriter', 'linker', 'asmparser', 'mcjit', 'interpreter', 'instrumentation']`
llvm-config: unknown component name: arm

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/llvm.mk:89: recipe for target '/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs' failed
make: *** [/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs] Error 1

real    85m59.154s
user    76m58.310s
sys 7m55.930s

Ok maybe's not that easy to remove those other architectures...

Using this patch to skip other arches for llvm AND add -j4 to use 4 cores, slowpoke:

diff --git a/configure b/configure
index 60d3661..40db978 100755
--- a/configure
+++ b/configure
@@ -1324,7 +1323,8 @@ do
     make_dir $t/rt/compiler-rt
     for i in                                          \
       isaac sync test \
-      arch/i386 arch/x86_64 arch/arm arch/aarch64 arch/mips arch/powerpc
+      arch/x86_64
+      #arch/i386 arch/x86_64 arch/arm arch/aarch64 arch/mips arch/powerpc
     do
       make_dir $t/rt/stage$s/$i
     done
@@ -1551,7 +1551,8 @@ do

         msg "configuring LLVM for $gnu_t"

-        LLVM_TARGETS="--enable-targets=x86,x86_64,arm,aarch64,mips,powerpc"
+        #LLVM_TARGETS="--enable-targets=x86,x86_64,arm,aarch64,mips,powerpc"
+        LLVM_TARGETS="--enable-targets=x86_64"
         LLVM_BUILD="--build=$gnu_t"
         LLVM_HOST="--host=$gnu_t"
         LLVM_TARGET="--target=$gnu_t"
diff --git a/mk/llvm.mk b/mk/llvm.mk
index 1cbf4a9..9b89782 100644
--- a/mk/llvm.mk
+++ b/mk/llvm.mk
@@ -50,7 +50,7 @@ $$(LLVM_CONFIG_$(1)): $$(LLVM_DEPS) $$(LLVM_STAMP_$(1))
    $$(Q)touch $$(LLVM_CONFIG_$(1))

 clean-llvm$(1):
-   $$(Q)$$(MAKE) -C $$(CFG_LLVM_BUILD_DIR_$(1)) clean
+   $$(Q)$$(MAKE) -j4 -C $$(CFG_LLVM_BUILD_DIR_$(1)) clean

 endif

diff --git a/mk/main.mk b/mk/main.mk
index 1cd491a..463c21b 100644
--- a/mk/main.mk
+++ b/mk/main.mk
@@ -277,7 +277,8 @@ endif
 ######################################################################

 # FIXME: x86-ism
-LLVM_COMPONENTS=x86 arm aarch64 mips powerpc ipo bitreader bitwriter linker asmparser mcjit \
+#LLVM_COMPONENTS=x86 arm aarch64 mips powerpc ipo bitreader bitwriter linker asmparser mcjit interpreter instrumentation
+LLVM_COMPONENTS=x86 ipo bitreader bitwriter linker asmparser mcjit \
                 interpreter instrumentation

 # Only build these LLVM tools
diff --git a/mk/llvm.mk b/mk/llvm.mk
index 1cbf4a9..f8d5387 100644
--- a/mk/llvm.mk
+++ b/mk/llvm.mk
@@ -46,11 +46,11 @@ else

 $$(LLVM_CONFIG_$(1)): $$(LLVM_DEPS) $$(LLVM_STAMP_$(1))
    @$$(call E, make: llvm)
-   $$(Q)$$(MAKE) -C $$(CFG_LLVM_BUILD_DIR_$(1)) $$(CFG_LLVM_BUILD_ENV_$(1)) ONLY_TOOLS="$$(LLVM_TOOLS)"
+   $$(Q)$$(MAKE) -j4 -C $$(CFG_LLVM_BUILD_DIR_$(1)) $$(CFG_LLVM_BUILD_ENV_$(1)) ONLY_TOOLS="$$(LLVM_TOOLS)"
    $$(Q)touch $$(LLVM_CONFIG_$(1))

 clean-llvm$(1):
-   $$(Q)$$(MAKE) -C $$(CFG_LLVM_BUILD_DIR_$(1)) clean
+   $$(Q)$$(MAKE) -j4 -C $$(CFG_LLVM_BUILD_DIR_$(1)) clean

 endif
$ git clean -dfx
//$ patched with the above ^
$ ./configure --enable-ccache --enable-dist-host-only --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage0/isaac
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage0/sync
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage0/test
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage0/arch/x86_64
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage1
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage1/isaac
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage1/sync
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage1/test
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage1/arch/x86_64
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage2
configure: mkdir -p x86_64-unknown-linux-gnu/rt/stage2/isaac
...
configure: configuring LLVM with:
configure: --enable-targets=x86_64 --enable-optimized --disable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=x86_64-unknown-linux-gnu                         --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --with-python=/usr/bin/python2.7
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --enable-ccache --enable-dist-host- ...
configure: CFG_PREFIX           := /usr/local 
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /usr/local/share/man 
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: cp -f /home/zazdxscf/build/1nonpkgs/rust/rust/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: configured in release mode. for development consider --enable-debug
configure: 
configure: run `make help`
configure: 
$ time make RUST_BACKTRACE=1 VERBOSE=1
cfg: version 1.5.0-dev (83cf3ce49 2015-10-22)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
...
info: now are following matches for librustc_driver-*.rlib libraries:
x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver-bb943c5a.rlib
LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0  -O --cfg rtopt -C prefer-dynamic -C no-stack-check --target=x86_64-unknown-linux-gnu  -o x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc /home/zazdxscf/build/1nonpkgs/rust/rust/src/driver/driver.rs --cfg rustc
error: linking with `cc` failed: exit code: 1
note: "cc" "-Wl,--as-needed" "-m64" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc.0.o" "-o" "x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_driver-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_lint-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_borrowck-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_resolve-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_trans-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_privacy-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_typeck-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_platform_intrinsics-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_mir-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "graphviz-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rbml-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "getopts-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "arena-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_data_structures-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_back-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_front-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "syntax-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "serialize-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "fmt_macros-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "term-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "log-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "flate-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "rustc_llvm-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-l" "std-bb943c5a" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/.rust/lib/x86_64-unknown-linux-gnu" "-L" "/home/zazdxscf/build/1nonpkgs/rust/rust/lib/x86_64-unknown-linux-gnu" "-Wl,-Bstatic" "-Wl,-Bdynamic" "-l" "pthread" "-l" "dl" "-l" "m" "-l" "stdc++" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "rt" "-l" "c" "-l" "m" "-l" "compiler-rt"
note: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeAArch64TargetMC'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeARMAsmParser'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeARMTargetInfo'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeARMTarget'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeMipsAsmParser'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializePowerPCAsmParser'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeAArch64AsmParser'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializePowerPCTargetMC'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializePowerPCTarget'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeAArch64TargetInfo'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeARMTargetMC'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeAArch64AsmPrinter'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeAArch64Target'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeARMAsmPrinter'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeMipsTargetMC'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeMipsTarget'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializePowerPCTargetInfo'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializePowerPCAsmPrinter'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeMipsTargetInfo'
/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-bb943c5a.so: undefined reference to `LLVMInitializeMipsAsmPrinter'
collect2: error: ld returned 1 exit status

error: aborting due to previous error
/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:172: recipe for target 'x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc' failed
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc] Error 101

real    31m17.551s
user    31m41.036s
sys 2m26.310s

well fml, applying the following patch:

diff --git a/src/librustc_llvm/lib.rs b/src/librustc_llvm/lib.rs
index fe84cff..851b349 100644
--- a/src/librustc_llvm/lib.rs
+++ b/src/librustc_llvm/lib.rs
@@ -2014,7 +2014,7 @@ extern {
     pub fn LLVMInitializeX86TargetMC();
     pub fn LLVMInitializeX86AsmPrinter();
     pub fn LLVMInitializeX86AsmParser();
-    pub fn LLVMInitializeARMTargetInfo();
+/*    pub fn LLVMInitializeARMTargetInfo();
     pub fn LLVMInitializeARMTarget();
     pub fn LLVMInitializeARMTargetMC();
     pub fn LLVMInitializeARMAsmPrinter();
@@ -2034,7 +2034,7 @@ extern {
     pub fn LLVMInitializePowerPCTargetMC();
     pub fn LLVMInitializePowerPCAsmPrinter();
     pub fn LLVMInitializePowerPCAsmParser();
-
+*/
     pub fn LLVMRustAddPass(PM: PassManagerRef, Pass: *const c_char) -> bool;
     pub fn LLVMRustCreateTargetMachine(Triple: *const c_char,
                                        CPU: *const c_char,
diff --git a/src/librustc_trans/back/write.rs b/src/librustc_trans/back/write.rs
index 1fbbf82..933a262 100644
--- a/src/librustc_trans/back/write.rs
+++ b/src/librustc_trans/back/write.rs
@@ -967,7 +967,7 @@ pub unsafe fn configure_llvm(sess: &Session) {
     llvm::LLVMInitializeX86AsmPrinter();
     llvm::LLVMInitializeX86AsmParser();

-    llvm::LLVMInitializeARMTargetInfo();
+/*    llvm::LLVMInitializeARMTargetInfo();
     llvm::LLVMInitializeARMTarget();
     llvm::LLVMInitializeARMTargetMC();
     llvm::LLVMInitializeARMAsmPrinter();
@@ -990,7 +990,7 @@ pub unsafe fn configure_llvm(sess: &Session) {
     llvm::LLVMInitializePowerPCTargetMC();
     llvm::LLVMInitializePowerPCAsmPrinter();
     llvm::LLVMInitializePowerPCAsmParser();
-
+*/
     llvm::LLVMRustSetLLVMOptions(llvm_args.len() as c_int,
                                  llvm_args.as_ptr());
 }
$ time make RUST_BACKTRACE=1 VERBOSE=1
...
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage2/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage2/bin/rustc --cfg stage2  -O --cfg rtopt  --target=x86_64-unknown-linux-gnu  -C prefer-dynamic -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/libsyntax/lib.rs
...

It's still compiling at stage2, so it passes this issue... which means it's one of those extra args that I add which causes that (unless it's the patches I added).

I'll take a break for now...

ghost commented 8 years ago

tl;dr: retried with various configure options, nothing relevant yet, but that at the end of this post I've pasted the output with RUST_LOG=rustc::metadata::loader if it's more valuable.

Retrying with my original args (to see if the patches made things better, even though they shouldn't have; or the new master commits maybe did)

$ git clean -dfx
$ git reset --hard
$ git pull
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: configuring LLVM with:
configure: --enable-targets=x86_64 --enable-optimized --enable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=x86_64-unknown-linux-gnu                         --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --with-python=/usr/bin/python2
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: cp -f /home/zazdxscf/build/1nonpkgs/rust/rust/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: complete
configure: 
...
$ make -j1 -- all VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (e518c057f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
...
determined most recent snapshot: rust-stage0-2015-08-11-1af31d4-linux-x86_64-7df8ba9dec63ec77b857066109d4b6250f3d222f.tar.bz2
curl: (6) Couldn't resolve host 'static.rust-lang.org'
Traceback (most recent call last):
  File "/home/zazdxscf/build/1nonpkgs/rust/rust/src/etc/get-snapshot.py", line 78, in <module>
    main(sys.argv)
  File "/home/zazdxscf/build/1nonpkgs/rust/rust/src/etc/get-snapshot.py", line 66, in main
    get_url_to_file(url, dl)
  File "/home/zazdxscf/build/1nonpkgs/rust/rust/src/etc/snapshot.py", line 163, in get_url_to_file
    raise Exception("failed to fetch url")
Exception: failed to fetch url
/home/zazdxscf/build/1nonpkgs/rust/rust/mk/stage0.mk:17: recipe for target 'x86_64-unknown-linux-gnu/stage0/bin/rustc' failed
make: *** [x86_64-unknown-linux-gnu/stage0/bin/rustc] Error 1

real    21m4.541s
user    63m10.920s
sys 6m48.963s

I disconnected the internet, not realizing it would have to fetch the rustc snapshot AFTER llvm compilation... then went to sleep, so, time wasted. But hey at least that -j4 for llvm sped things upd with llvm compilation(that 21mins), but I imagine there was probably a good reason(for bots) to use the default(of what seems to be -j1).

$ make -j1 -- all VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y' RUST_BACKTRACE=1

cfg: version 1.5.0-dev (e518c057f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
/usr/bin/python2 /home/zazdxscf/build/1nonpkgs/rust/rust/src/etc/get-snapshot.py x86_64-unknown-linux-gnu 
determined most recent snapshot: rust-stage0-2015-08-11-1af31d4-linux-x86_64-7df8ba9dec63ec77b857066109d4b6250f3d222f.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15.0M  100 15.0M    0     0  1842k      0  0:00:08  0:00:08 --:--:-- 3133k
got download with ok hash
...

//I interrupted it to rerun with -j4 and -Ccodegen-units=4 as per https://users.rust-lang.org/t/is-rustc-compiler-single-threaded/3374/2?u=zazdxscf Thanks for the help!

$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: cp -f /home/zazdxscf/build/1nonpkgs/rust/rust/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: complete
configure: 
...
$ make -j4 -- all VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -Ccodegen-units=4' RUST_BACKTRACE=1
...
//with -j4 downloading the snapshot is done at startup! Cool!
...
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
...
/bin/sh: x86_64-unknown-linux-gnu/stage2/bin/rustdoc: No such file or directory
/home/zazdxscf/build/1nonpkgs/rust/rust/mk/docs.mk:138: recipe for target 'doc/grammar.html' failed
make: *** [doc/grammar.html] Error 127
make: *** Waiting for unfinished jobs....
...

See? that's starting way too soon! Oh I'm using it wrong! It's not make all it's just make !! (it used to be make all though, in rust 1.0 or something)

$ export MAKEFLAGS='-j4 '
$ make clean
...
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: leaving ./Makefile unchanged
configure: mv -f config.tmp config.mk
configure: 
configure: complete
configure: 
configure: run `make help`
$ make -j4 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -Ccodegen-units=4' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
...
LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage2/lib:$LD_LIBRARY_PATH x86_64-unknown-linux-gnu/stage2/bin/rustdoc --html-before-content=doc/version_info.html --html-in-header=doc/favicon.inc --html-after-content=doc/footer.inc --markdown-playground-url='https://play.rust-lang.org/' --markdown-css rust.css  /home/zazdxscf/build/1nonpkgs/rust/rust/src/doc/grammar.md
/bin/sh: x86_64-unknown-linux-gnu/stage2/bin/rustdoc: No such file or directory
/home/zazdxscf/build/1nonpkgs/rust/rust/mk/docs.mk:138: recipe for target 'doc/grammar.html' failed
make: *** [doc/grammar.html] Error 127
make: *** Waiting for unfinished jobs....
...

Well nevermind, make or make all same error... switching back to -j1

$ make clean
$ time ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: leaving ./Makefile unchanged
configure: mv -f config.tmp config.mk
configure: 
configure: complete
configure: 
configure: run `make help`
configure: 

real    0m46.124s
user    0m10.727s
sys 0m26.777s
$ time make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -Ccodegen-units=4' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
/usr/bin/python2 /home/zazdxscf/build/1nonpkgs/rust/rust/src/etc/get-snapshot.py x86_64-unknown-linux-gnu 
determined most recent snapshot: rust-stage0-2015-08-11-1af31d4-linux-x86_64-7df8ba9dec63ec77b857066109d4b6250f3d222f.tar.bz2
got download with ok hash
...
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -Ccodegen-units=4 -O --cfg rtopt -C debug-assertions=on -Z time-passes -Z time-llvm-passes -C prefer-dynamic -C no-stack-check --target=x86_64-unknown-linux-gnu  -W warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/libcore/lib.rs
time: 0.228; rss: 43MB  parsing
time: 0.075; rss: 45MB  configuration 1
time: 0.000; rss: 45MB  recursion limit
time: 0.006; rss: 45MB  gated macro checking
time: 0.000; rss: 45MB  crate injection
time: 0.003; rss: 45MB  macro loading
time: 0.000; rss: 45MB  plugin loading
time: 0.000; rss: 45MB  plugin registration
time: 1.413; rss: 72MB  expansion
time: 0.026; rss: 72MB  complete gated feature checking 1
time: 0.294; rss: 73MB  configuration 2
time: 0.149; rss: 73MB  maybe building test harness
time: 0.000; rss: 73MB  prelude injection
time: 0.013; rss: 73MB  checking that all macro invocations are gone
time: 0.026; rss: 73MB  complete gated feature checking 2
time: 0.168; rss: 78MB  assigning node ids and indexing ast
time: 0.014; rss: 78MB  external crate/lib resolution
time: 0.027; rss: 78MB  language item collection
time: 0.261; rss: 96MB  resolution
time: 0.024; rss: 93MB  lifetime resolution
time: 0.000; rss: 93MB  looking for entry point
time: 0.013; rss: 93MB  looking for plugin registrar
time: 0.101; rss: 105MB region resolution
time: 0.013; rss: 105MB loop checking
time: 0.014; rss: 105MB static item recursion checking
time: 0.210; rss: 111MB type collecting
time: 0.027; rss: 111MB variance inference
time: 2.126; rss: 122MB coherence checking
time: 16.711; rss: 169MB    type checking
time: 1.228; rss: 170MB const checking
time: 0.132; rss: 170MB privacy checking
time: 0.015; rss: 170MB stability index
time: 0.095; rss: 170MB intrinsic checking
time: 0.024; rss: 170MB effect checking
time: 0.351; rss: 170MB match checking
time: 0.057; rss: 170MB liveness checking
time: 2.406; rss: 170MB borrow checking
time: 1.211; rss: 170MB rvalue checking
time: 0.082; rss: 171MB reachability checking
time: 0.089; rss: 172MB death checking
time: 0.073; rss: 172MB stability checking
time: 0.000; rss: 172MB unused lib feature checking
src/libcore/lib.rs:82:12: 82:29 warning: unused or unknown feature, #[warn(unused_features)] on by default
src/libcore/lib.rs:82 #![feature(unwind_attributes)]
                                 ^~~~~~~~~~~~~~~~~
src/libcore/ptr.rs:21:11: 21:24 warning: unused import, #[warn(unused_imports)] on by default
src/libcore/ptr.rs:21 use ops::{CoerceUnsized, Deref};
                                ^~~~~~~~~~~~~
src/libcore/ptr.rs:25:52: 25:58 warning: unused import, #[warn(unused_imports)] on by default
src/libcore/ptr.rs:25 use marker::{Copy, PhantomData, Send, Sized, Sync, Unsize};
                                                                         ^~~~~~
src/libcore/panicking.rs:65:9: 65:18 warning: unused attribute, #[warn(unused_attributes)] on by default
src/libcore/panicking.rs:65         #[unwind]
                                    ^~~~~~~~~
time: 1.489; rss: 172MB lint checking
time: 0.000; rss: 172MB resolving dependency formats
time: 6.426; rss: 301MB translation
Pass Arguments: Pass Arguments: Pass Arguments:  -tti -targetlibinfo -no-aa -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -verify -simplifycfg -domtree -sroa -tti - -targetlibinfotti - -no-aa -early-csetargetlibinfo -lower-expect
 - -no-aaTarget Transform Informationtbaa - -scoped-noalias -tbaa -assumption-cache-tracker -
Target Library Informationscoped-noalias
No Alias Analysis (always returns 'may' alias) -assumption-cache-trackerbasicaa - -basicaa
Type-Based Alias Analysisverify -verify -simplifycfg
Scoped NoAlias Alias Analysis -simplifycfg
Assumption Cache Tracker - -domtreedomtree - -sroa
Basic Alias Analysis (stateless AA impl)sroa -early-cse -early-cse
   -FunctionPass Manager
lower-expect -lower-expect

Target Transform Information
Module VerifierTarget Transform Information

Target Library Information    
Target Library InformationNo Alias Analysis (always returns 'may' alias)
Simplify the CFG

    Dominator Tree ConstructionNo Alias Analysis (always returns 'may' alias)

SROAType-Based Alias AnalysisType-Based Alias Analysis
Scoped NoAlias Alias Analysis

Assumption Cache TrackerScoped NoAlias Alias Analysis

Early CSE
Basic Alias Analysis (stateless AA impl)    Lower 'expect' Intrinsics
Assumption Cache Tracker

FunctionPass Manager
Basic Alias Analysis (stateless AA impl)
    Module Verifier  
FunctionPass Manager
    Simplify the CFG    
Module Verifier
        Dominator Tree Construction
Simplify the CFG
    SROA    
    Dominator Tree Construction
Early CSE
    SROA    Lower 'expect' Intrinsics

    Early CSE
    Lower 'expect' Intrinsics
Pass Arguments:  -tti -targetlibinfo -no-aa -tbaa -/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.core' failed
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.core] Killed (core dumped)

real    0m56.018s
user    0m47.537s
sys 0m6.397s

Ok I guess make clean is not enough, because I remember C-c ing while llvm was compiling and after make clean then configure then make, it didn't restart llvm compilation(which was incomplete for sure)... so... I'll have to use that git clean -dfx (besides it's way faster! than make clean)

$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -Ccodegen-units=4' RUST_BACKTRACE=1
...
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: enabling debug assertions (CFG_ENABLE_DEBUG_ASSERTIONS)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
touch /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/llvm-auto-clean-stamp.start_time
make clean-llvmx86_64-unknown-linux-gnu
make[1]: Entering directory '/home/zazdxscf/build/1nonpkgs/rust/rust'
...
cp x86_64-unknown-linux-gnu/rt/libcompiler-rt.a x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler-rt.a
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libcore-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libcore-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage0/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage0/bin/rustc --cfg stage0 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -Ccodegen-units=4 -O --cfg rtopt -C debug-assertions=on -Z time-passes -Z time-llvm-passes -C prefer-dynamic -C no-stack-check --target=x86_64-unknown-linux-gnu  -W warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/libcore/lib.rs
time: 0.229; rss: 44MB  parsing
time: 0.077; rss: 45MB  configuration 1
time: 0.000; rss: 45MB  recursion limit
time: 0.006; rss: 45MB  gated macro checking
time: 0.000; rss: 45MB  crate injection
time: 0.003; rss: 45MB  macro loading
time: 0.000; rss: 45MB  plugin loading
time: 0.000; rss: 45MB  plugin registration
time: 1.428; rss: 73MB  expansion
time: 0.026; rss: 73MB  complete gated feature checking 1
time: 0.296; rss: 73MB  configuration 2
time: 0.149; rss: 73MB  maybe building test harness
time: 0.000; rss: 73MB  prelude injection
time: 0.013; rss: 73MB  checking that all macro invocations are gone
time: 0.027; rss: 73MB  complete gated feature checking 2
time: 0.167; rss: 79MB  assigning node ids and indexing ast
time: 0.013; rss: 79MB  external crate/lib resolution
time: 0.029; rss: 79MB  language item collection
time: 0.260; rss: 97MB  resolution
time: 0.024; rss: 94MB  lifetime resolution
time: 0.000; rss: 94MB  looking for entry point
time: 0.014; rss: 94MB  looking for plugin registrar
time: 0.101; rss: 105MB region resolution
time: 0.013; rss: 105MB loop checking
time: 0.013; rss: 105MB static item recursion checking
time: 0.213; rss: 112MB type collecting
time: 0.028; rss: 112MB variance inference
time: 2.148; rss: 123MB coherence checking
time: 16.765; rss: 169MB    type checking
time: 1.222; rss: 170MB const checking
time: 0.132; rss: 170MB privacy checking
time: 0.015; rss: 170MB stability index
time: 0.096; rss: 170MB intrinsic checking
time: 0.024; rss: 170MB effect checking
time: 0.349; rss: 170MB match checking
time: 0.056; rss: 170MB liveness checking
time: 2.390; rss: 170MB borrow checking
time: 1.210; rss: 171MB rvalue checking
time: 0.083; rss: 171MB reachability checking
time: 0.091; rss: 172MB death checking
time: 0.077; rss: 172MB stability checking
time: 0.000; rss: 172MB unused lib feature checking
src/libcore/lib.rs:82:12: 82:29 warning: unused or unknown feature, #[warn(unused_features)] on by default
src/libcore/lib.rs:82 #![feature(unwind_attributes)]
                                 ^~~~~~~~~~~~~~~~~
src/libcore/ptr.rs:21:11: 21:24 warning: unused import, #[warn(unused_imports)] on by default
src/libcore/ptr.rs:21 use ops::{CoerceUnsized, Deref};
                                ^~~~~~~~~~~~~
src/libcore/ptr.rs:25:52: 25:58 warning: unused import, #[warn(unused_imports)] on by default
src/libcore/ptr.rs:25 use marker::{Copy, PhantomData, Send, Sized, Sync, Unsize};
                                                                         ^~~~~~
src/libcore/panicking.rs:65:9: 65:18 warning: unused attribute, #[warn(unused_attributes)] on by default
src/libcore/panicking.rs:65         #[unwind]
                                    ^~~~~~~~~
time: 1.525; rss: 172MB lint checking
time: 0.000; rss: 172MB resolving dependency formats
time: 6.468; rss: 301MB translation
Pass Arguments:  -tti -targetlibinfo -no-aa -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -verify -simplifycfg -domtree -sroa -early-cse -lower-expect
Target Transform Information
Target Library Information
No Alias Analysis (always returns 'may' alias)
Type-Based Alias Analysis
Scoped NoAlias Alias AnalysisPass Arguments:  -tti -targetlibinfo -no-aa -tbaa -
scoped-noalias -Assumption Cache Tracker
assumption-cache-trackerBasic Alias Analysis (stateless AA impl)Pass Arguments:  -tti -targetlibinfo
 -  FunctionPass Manager
basicaa -    Module Verifierno-aa -verify - -simplifycfgtbaa -domtree -scoped-noalias -sroa -assumption-cache-tracker - -early-csebasicaa - -lower-expectverify
 -simplifycfgTarget Transform Information

 -domtree -Target Library Informationsroa -
early-cse -lower-expect
Target Transform Information
Target Library InformationPass Arguments:  -ttiNo Alias Analysis (always returns 'may' alias)
    Simplify the CFG
No Alias Analysis (always returns 'may' alias)
Type-Based Alias Analysis
Scoped NoAlias Alias Analysis
Assumption Cache Tracker
Basic Alias Analysis (stateless AA impl)
  FunctionPass Manager
    Module Verifier
    Simplify the CFG
    Dominator Tree Construction
    SROA
    Early CSE
    Lower 'expect' Intrinsics
 -
    Dominator Tree Construction
    SROA
    Early CSE
    Lower 'expect' Intrinsics
targetlibinfo -Type-Based Alias Analysisno-aa -tbaa -
Scoped NoAlias Alias Analysis
Assumption Cache Tracker
Basic Alias Analysis (stateless AA impl)
  FunctionPass Manager
    Module Verifier
    Simplify the CFG
    Dominator Tree Construction
    SROA
    Early CSE
    Lower 'expect' Intrinsics
scoped-noalias -assumption-cache-tracker -basicaa -verify -simplifycfg -domtree -sroa -early-cse -lower-expect
Target Transform Information
Target Library Information
No Alias Analysis (always returns 'may' alias)
Type-Based Alias Analysis
Scoped NoAlias Alias Analysis
Assumption Cache Tracker
Basic Alias Analysis (stateless AA impl)
  FunctionPass Manager
    Module Verifier
    Simplify the CFG
    Dominator Tree Construction
    SROA
    Early CSE
    Lower 'expect' Intrinsics
rustc: malloc.c:2921: __libc_malloc: Assertion `!victim || ((((mchunkptr)((char*)(victim) - 2*(sizeof(size_t)))))->size & 0x2) || ar_ptr == (((((mchunkptr)((char*)(victim) - 2*(sizeof(size_t)))))->size & 0x4) ? ((heap_info *) ((unsigned long) (((mchunkptr)((char*)(victim) - 2*(sizeof(size_t))))) & ~((2 * (4 * 1024 * 1024 * sizeof(long))) - 1)))->ar_ptr : &main_arena)' failed.
/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.core' failed
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.core] Aborted (core dumped)

real    5m4.755s
user    8m9.393s
sys 4m20.027s

Ok I was wrong, must be the -Ccodegen-units=4 dumping cores here. (yup it is)

$ git clean -dfx
...
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y' RUST_BACKTRACE=1
...
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -C debug-assertions=y -O --cfg rtopt -C debug-assertions=on -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 0.103; rss: 37MB  parsing
time: 0.027; rss: 37MB  configuration 1
time: 0.000; rss: 37MB  recursion limit
time: 0.003; rss: 37MB  gated macro checking
time: 0.000; rss: 37MB  crate injection
time: 0.021; rss: 40MB  macro loading
time: 0.000; rss: 40MB  plugin loading
time: 0.000; rss: 40MB  plugin registration
time: 0.620; rss: 57MB  expansion
time: 0.016; rss: 57MB  complete gated feature checking 1
time: 0.126; rss: 57MB  configuration 2
time: 0.000; rss: 57MB  gated configuration checking
time: 0.067; rss: 57MB  maybe building test harness
time: 0.061; rss: 57MB  prelude injection
time: 0.010; rss: 57MB  checking that all macro invocations are gone
time: 0.000; rss: 57MB  checking for inline asm in case the target doesn't support it
time: 0.016; rss: 57MB  complete gated feature checking 2
time: 0.064; rss: 57MB  assigning node ids
time: 0.058; rss: 73MB  lowering ast -> hir
time: 0.064; rss: 77MB  indexing hir
time: 0.000; rss: 77MB  attribute checking
time: 0.029; rss: 77MB  early lint checks
time: 0.014; rss: 77MB  external crate/lib resolution
time: 0.014; rss: 77MB  language item collection
time: 0.302; rss: 106MB resolution
time: 0.010; rss: 105MB lifetime resolution
time: 0.000; rss: 105MB looking for entry point
time: 0.007; rss: 105MB looking for plugin registrar
time: 0.058; rss: 110MB region resolution
time: 0.007; rss: 110MB loop checking
time: 0.007; rss: 110MB static item recursion checking
time: 0.076; rss: 114MB type collecting
time: 0.015; rss: 114MB variance inference
time: 0.175; rss: 134MB coherence checking
time: 0.080; rss: 134MB wf checking (old)
time: 0.084; rss: 135MB item-types checking
time: 11.756; rss: 179MB    item-bodies checking
time: 0.000; rss: 179MB drop-impl checking
time: 0.382; rss: 179MB wf checking (new)
time: 1.158; rss: 180MB const checking
time: 0.056; rss: 180MB privacy checking
time: 0.002; rss: 180MB stability index
time: 0.027; rss: 180MB intrinsic checking
time: 0.018; rss: 180MB effect checking
time: 0.128; rss: 180MB match checking
time: 0.843; rss: 236MB MIR dump
time: 0.080; rss: 242MB liveness checking
time: 2.489; rss: 242MB borrow checking
time: 1.751; rss: 242MB rvalue checking
time: 0.020; rss: 242MB reachability checking
time: 0.057; rss: 242MB death checking
time: 0.053; rss: 242MB stability checking
time: 0.000; rss: 242MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x39e78ec4a38 - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x39e78eccf5a - panicking::log_panic::h3b637c6b446abf43Fux
   3:      0x39e78e835fa - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   4:      0x39e78e842a7 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   5:      0x39e76ae422d - metadata::csearch::get_item_path::h9c91b96e2a77c727Vgs
   6:      0x39e76aa2d1e - middle::ty::ctxt<'tcx>::item_path_str::h9894218abd41693erFh
   7:      0x39e76a21724 - middle::def_id::DefId.fmt..Debug::fmt::h1110f03ecaf5eefeRfs
   8:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
   9:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  10:      0x39e76ad2d88 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::hdf5575ba84cd10ffk8B
  11:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  12:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  13:      0x39e76921f34 - util::ppaux::ty..Region.fmt..Debug::fmt::h613eae4dd057955bsaC
  14:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  15:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  16:      0x39e76ae7880 - util::ppaux::ty..Region.fmt..Display::fmt::hb85e7a053b68bed7kkC
  17:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  18:      0x39e76d2b2f1 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h0a56c97c6a0d4f79tKB
  19:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x39e76d2ebb5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h1d289b50c4cbb105sQC
  22:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  23:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  24:      0x39e769224b7 - fmt::_&'a T.Display::fmt::h8467757195011904285
  25:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  26:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  27:      0x39e76d2ebb5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h1d289b50c4cbb105sQC
  28:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  29:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  30:      0x39e769224b7 - fmt::_&'a T.Display::fmt::h8467757195011904285
  31:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  32:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  33:      0x39e76d2818d - util::ppaux::fn_sig::h403e49b6939b86217eB
  34:      0x39e76d2ca86 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::ha6e0c7cebd6858bdhuC
  35:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  36:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  37:      0x39e76d2ffd1 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h1d289b50c4cbb105sQC
  38:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  39:      0x39e78eeb323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  40:      0x39e76922514 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hde476d80b7bec109WgD
  41:      0x39e78f08ec5 - fmt::write::h4c1f14d6ead6957fW5U
  42:      0x39e78eceae2 - fmt::format::hdd6e6b41627bc4c0b6d
  43:      0x39e78800f33 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  44:      0x39e78801269 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  45:      0x39e76d0836f - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hadef356207c7e855FOz
  46:      0x39e76d088ad - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hadef356207c7e855FOz
  47:      0x39e76d0888e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hadef356207c7e855FOz
  48:      0x39e76d08c3b - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h2ccab687944ade1eLQz
  49:      0x39e76d03ab0 - lint::context::LintContext::with_lint_attrs::h16261739438895627980
  50:      0x39e76d08f1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h79a04eabe9311fd9UZz
  51:      0x39e76d03ae2 - lint::context::LintContext::with_lint_attrs::h16261739438895627980
  52:      0x39e76d08f1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h79a04eabe9311fd9UZz
  53:      0x39e76d03ae2 - lint::context::LintContext::with_lint_attrs::h16261739438895627980
  54:      0x39e76d08f1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h79a04eabe9311fd9UZz
  55:      0x39e76d248ca - lint::context::check_crate::h7f46052e8de3cd2bzPA
  56:      0x39e793e226b - driver::phase_3_run_analysis_passes::closure.21934
  57:      0x39e793dae92 - middle::ty::context::ctxt<'tcx>::create_and_enter::h14048162438327005021
  58:      0x39e793d614d - driver::phase_3_run_analysis_passes::h17017259851998588982
  59:      0x39e793b83bb - driver::compile_input::ha274735457bb915e7ba
  60:      0x39e794a56ff - run_compiler::hb2715e90a44741ffNtc
  61:      0x39e794a2cc8 - sys_common::unwind::try::try_fn::h15964241977096575130
  62:      0x39e78ec20d8 - __rust_try
  63:      0x39e78eb189b - sys_common::unwind::try::inner_try::h8be52e7c9f3ddd0b5hs
  64:      0x39e794a2ff0 - boxed::F.FnBox<A>::call_box::h9900394337489069288
  65:      0x39e78ecb6e3 - sys::thread::Thread::new::thread_start::hffba513c641be6c3RMw
  66:      0x39e72dd464b - start_thread
                        at /usr/src/debug/sys-libs/glibc-2.22-r1/glibc-2.22/nptl/pthread_create.c:334
  67:      0x39e78b459bc - clone
                        at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  68:                0x0 - <unknown>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    47m55.260s
user    48m37.520s
sys 6m26.337s

Yep, back to panic.

Let's remove -C debug-assertions=y then continue compile, still fail, let's clean first then: (no effect, same error)

$ git clean -dfx
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --enable-debug --disable-debuginfo --enable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose' RUST_BACKTRACE=1
...
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -O --cfg rtopt -C debug-assertions=on -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 0.101; rss: 37MB  parsing
time: 0.027; rss: 37MB  configuration 1
time: 0.000; rss: 37MB  recursion limit
time: 0.003; rss: 37MB  gated macro checking
time: 0.000; rss: 37MB  crate injection
time: 0.022; rss: 40MB  macro loading
time: 0.000; rss: 40MB  plugin loading
time: 0.000; rss: 40MB  plugin registration
time: 0.625; rss: 57MB  expansion
time: 0.015; rss: 57MB  complete gated feature checking 1
time: 0.126; rss: 57MB  configuration 2
time: 0.000; rss: 57MB  gated configuration checking
time: 0.066; rss: 57MB  maybe building test harness
time: 0.062; rss: 57MB  prelude injection
time: 0.009; rss: 57MB  checking that all macro invocations are gone
time: 0.000; rss: 57MB  checking for inline asm in case the target doesn't support it
time: 0.016; rss: 57MB  complete gated feature checking 2
time: 0.064; rss: 57MB  assigning node ids
time: 0.058; rss: 73MB  lowering ast -> hir
time: 0.064; rss: 77MB  indexing hir
time: 0.000; rss: 77MB  attribute checking
time: 0.029; rss: 77MB  early lint checks
time: 0.014; rss: 77MB  external crate/lib resolution
time: 0.014; rss: 77MB  language item collection
time: 0.303; rss: 105MB resolution
time: 0.010; rss: 105MB lifetime resolution
time: 0.000; rss: 105MB looking for entry point
time: 0.007; rss: 105MB looking for plugin registrar
time: 0.058; rss: 110MB region resolution
time: 0.007; rss: 110MB loop checking
time: 0.007; rss: 110MB static item recursion checking
time: 0.075; rss: 114MB type collecting
time: 0.015; rss: 114MB variance inference
time: 0.176; rss: 133MB coherence checking
time: 0.078; rss: 134MB wf checking (old)
time: 0.084; rss: 134MB item-types checking
time: 11.873; rss: 179MB    item-bodies checking
time: 0.000; rss: 179MB drop-impl checking
time: 0.384; rss: 179MB wf checking (new)
time: 1.158; rss: 180MB const checking
time: 0.057; rss: 180MB privacy checking
time: 0.002; rss: 180MB stability index
time: 0.028; rss: 180MB intrinsic checking
time: 0.018; rss: 180MB effect checking
time: 0.129; rss: 180MB match checking
time: 0.845; rss: 236MB MIR dump
time: 0.081; rss: 242MB liveness checking
time: 2.478; rss: 242MB borrow checking
time: 1.751; rss: 242MB rvalue checking
time: 0.019; rss: 242MB reachability checking
time: 0.058; rss: 242MB death checking
time: 0.054; rss: 242MB stability checking
time: 0.000; rss: 242MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x38340714a38 - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3834071cf5a - panicking::log_panic::h3b637c6b446abf43Fux
   3:      0x383406d35fa - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   4:      0x383406d42a7 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   5:      0x3833e33421d - metadata::csearch::get_item_path::h70f5f93d243be122Vgs
   6:      0x3833e2f2d0e - middle::ty::ctxt<'tcx>::item_path_str::h45ce387d608b7db3rFh
   7:      0x3833e271704 - middle::def_id::DefId.fmt..Debug::fmt::he590029d7fb28cbfRfs
   8:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
   9:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  10:      0x3833e322d78 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::ha73f605b254004dck8B
  11:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  12:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  13:      0x3833e171f14 - util::ppaux::ty..Region.fmt..Debug::fmt::h8b270a32cfea8018saC
  14:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  15:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  16:      0x3833e337870 - util::ppaux::ty..Region.fmt..Display::fmt::h35bf08dbe54f9347kkC
  17:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  18:      0x3833e57b2e1 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h4ddefc70d767ce82tKB
  19:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3833e57eba5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h373d82cc69934918sQC
  22:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  23:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  24:      0x3833e172497 - fmt::_&'a T.Display::fmt::h17437513097113132107
  25:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  26:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  27:      0x3833e57eba5 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h373d82cc69934918sQC
  28:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  29:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  30:      0x3833e172497 - fmt::_&'a T.Display::fmt::h17437513097113132107
  31:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  32:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  33:      0x3833e57817d - util::ppaux::fn_sig::h628f78b47dba9c8a7eB
  34:      0x3833e57ca76 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h99e6103927c92b4bhuC
  35:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  36:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  37:      0x3833e57ffc1 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h373d82cc69934918sQC
  38:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  39:      0x3834073b323 - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  40:      0x3833e1724f4 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h6564d41ef8431640WgD
  41:      0x38340758ec5 - fmt::write::h4c1f14d6ead6957fW5U
  42:      0x3834071eae2 - fmt::format::hdd6e6b41627bc4c0b6d
  43:      0x38340050f33 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  44:      0x38340051269 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  45:      0x3833e55835f - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h89f40dfeb41e6869FOz
  46:      0x3833e55889d - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h89f40dfeb41e6869FOz
  47:      0x3833e55887e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h89f40dfeb41e6869FOz
  48:      0x3833e558c2b - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h153b26e628a497e6LQz
  49:      0x3833e553aa0 - lint::context::LintContext::with_lint_attrs::h5962470200543390272
  50:      0x3833e558f0e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0962538cafb1f1ecUZz
  51:      0x3833e553ad2 - lint::context::LintContext::with_lint_attrs::h5962470200543390272
  52:      0x3833e558f0e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0962538cafb1f1ecUZz
  53:      0x3833e553ad2 - lint::context::LintContext::with_lint_attrs::h5962470200543390272
  54:      0x3833e558f0e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0962538cafb1f1ecUZz
  55:      0x3833e5748ba - lint::context::check_crate::hb3002bf504c296f1zPA
  56:      0x38340c3226b - driver::phase_3_run_analysis_passes::closure.21934
  57:      0x38340c2ae92 - middle::ty::context::ctxt<'tcx>::create_and_enter::h5307164291102342190
  58:      0x38340c2614d - driver::phase_3_run_analysis_passes::h4674212053012284899
  59:      0x38340c083bb - driver::compile_input::ha274735457bb915e7ba
  60:      0x38340cf565f - run_compiler::hb2715e90a44741ffNtc
  61:      0x38340cf2c28 - sys_common::unwind::try::try_fn::h11439842781582378645
  62:      0x383407120d8 - __rust_try
  63:      0x3834070189b - sys_common::unwind::try::inner_try::h8be52e7c9f3ddd0b5hs
  64:      0x38340cf2f50 - boxed::F.FnBox<A>::call_box::h15925977592388706307
  65:      0x3834071b6e3 - sys::thread::Thread::new::thread_start::hffba513c641be6c3RMw
  66:      0x3833a62464b - start_thread
                        at /usr/src/debug/sys-libs/glibc-2.22-r1/glibc-2.22/nptl/pthread_create.c:334
  67:      0x383403959bc - clone
                        at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  68:                0x0 - <unknown>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    47m58.383s
user    48m46.303s
sys 6m25.190s

Oh wait I had --enable-debug-assertions in configure, let's replace with --disable-debug-assertions Also while here let's replace --enable-debug with --disable-debug

$ git clean -dfx
...
$ time ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --enable-optimize --enable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: cp -f /home/zazdxscf/build/1nonpkgs/rust/rust/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: configured in release mode. for development consider --enable-debug
configure: 
configure: run `make help`
configure: 

real    0m47.470s
user    0m10.813s
sys 0m28.097s
$ time make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
...
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes -Z verbose -O --cfg rtopt -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 0.093; rss: 37MB  parsing
time: 0.027; rss: 37MB  configuration 1
time: 0.000; rss: 37MB  recursion limit
time: 0.003; rss: 37MB  gated macro checking
time: 0.000; rss: 37MB  crate injection
time: 0.019; rss: 39MB  macro loading
time: 0.000; rss: 39MB  plugin loading
time: 0.000; rss: 39MB  plugin registration
time: 0.591; rss: 56MB  expansion
time: 0.015; rss: 56MB  complete gated feature checking 1
time: 0.122; rss: 56MB  configuration 2
time: 0.000; rss: 56MB  gated configuration checking
time: 0.063; rss: 56MB  maybe building test harness
time: 0.060; rss: 56MB  prelude injection
time: 0.009; rss: 56MB  checking that all macro invocations are gone
time: 0.000; rss: 56MB  checking for inline asm in case the target doesn't support it
time: 0.016; rss: 56MB  complete gated feature checking 2
time: 0.063; rss: 56MB  assigning node ids
time: 0.056; rss: 72MB  lowering ast -> hir
time: 0.062; rss: 76MB  indexing hir
time: 0.000; rss: 76MB  attribute checking
time: 0.030; rss: 76MB  early lint checks
time: 0.013; rss: 76MB  external crate/lib resolution
time: 0.014; rss: 76MB  language item collection
time: 0.258; rss: 104MB resolution
time: 0.011; rss: 104MB lifetime resolution
time: 0.000; rss: 104MB looking for entry point
time: 0.007; rss: 104MB looking for plugin registrar
time: 0.054; rss: 109MB region resolution
time: 0.007; rss: 109MB loop checking
time: 0.007; rss: 109MB static item recursion checking
time: 0.065; rss: 112MB type collecting
time: 0.014; rss: 112MB variance inference
time: 0.151; rss: 132MB coherence checking
time: 0.066; rss: 133MB wf checking (old)
time: 0.072; rss: 134MB item-types checking
time: 10.167; rss: 178MB    item-bodies checking
time: 0.000; rss: 178MB drop-impl checking
time: 0.314; rss: 178MB wf checking (new)
time: 0.936; rss: 179MB const checking
time: 0.056; rss: 179MB privacy checking
time: 0.002; rss: 179MB stability index
time: 0.024; rss: 179MB intrinsic checking
time: 0.018; rss: 179MB effect checking
time: 0.113; rss: 179MB match checking
time: 0.733; rss: 235MB MIR dump
time: 0.074; rss: 240MB liveness checking
time: 2.017; rss: 240MB borrow checking
time: 1.405; rss: 240MB rvalue checking
time: 0.018; rss: 240MB reachability checking
time: 0.054; rss: 240MB death checking
time: 0.048; rss: 240MB stability checking
time: 0.000; rss: 240MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x31d1ab3498e - sys::backtrace::tracing::imp::write::h2d5a2cc7b16951606tt
   2:      0x31d1ab3b725 - panicking::log_panic::closure.39357
   3:      0x31d1ab3b168 - panicking::log_panic::h3f7951020f1e8c6aFux
   4:      0x31d1aafc883 - sys_common::unwind::begin_unwind_inner::h4675f22ec9be8a79xls
   5:      0x31d1aafd207 - sys_common::unwind::begin_unwind_fmt::hc0cb2f54ec1e261dDks
   6:      0x31d18864b2b - metadata::csearch::get_item_path::h226cc1dedfee8adfVgs
   7:      0x31d1882c982 - middle::ty::ctxt<'tcx>::item_path_str::h459f98727bd9a23drFh
   8:      0x31d1882b6a4 - middle::def_id::DefId.fmt..Debug::fmt::hb8020078128825ceRfs
   9:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  10:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  11:      0x31d188996c8 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::he4def2c8fc9294f2k8B
  12:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  13:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  14:      0x31d18838d84 - util::ppaux::ty..Region.fmt..Debug::fmt::hba9ed157a2896600saC
  15:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  16:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  17:      0x31d18868410 - util::ppaux::ty..Region.fmt..Display::fmt::h8c5ae906c91c848ckkC
  18:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  19:      0x31d18a670db - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h351b5c54ca402ab6tKB
  20:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  21:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  22:      0x31d18a6aed8 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h5433b7e72fc3b71csQC
  23:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  24:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  25:      0x31d186e2b87 - fmt::_&'a T.Display::fmt::h16601277798971783859
  26:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  27:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  28:      0x31d18a6aed8 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h5433b7e72fc3b71csQC
  29:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  30:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  31:      0x31d186e2b87 - fmt::_&'a T.Display::fmt::h16601277798971783859
  32:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  33:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  34:      0x31d18a63fed - util::ppaux::fn_sig::hb42d3375d120930c7eB
  35:      0x31d18a69046 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h94b4f1146b794b34huC
  36:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  37:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  38:      0x31d18a6c288 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h5433b7e72fc3b71csQC
  39:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  40:      0x31d1ab56583 - fmt::Formatter<'a>::write_fmt::h7153214113fae136MsV
  41:      0x31d186e2be4 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h081de51f061fc534WgD
  42:      0x31d1ab6f475 - fmt::write::h124c3c5cc3c7b9b4W5U
  43:      0x31d1ab3c702 - fmt::format::ha8e87cf9871fa02cb6d
  44:      0x31d1a483a83 - builtin::BoxPointers::check_heap_type::h539427dde4fb65d2JIa
  45:      0x31d1a483da9 - builtin::BoxPointers.LateLintPass::check_expr::h77f53baeae753019XLa
  46:      0x31d18a43e6f - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he67b1b5547abcb86FOz
  47:      0x31d18a443ad - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he67b1b5547abcb86FOz
  48:      0x31d18a4438e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he67b1b5547abcb86FOz
  49:      0x31d18a4473b - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h4b059ed74b1f5cb7LQz
  50:      0x31d18a3f9e4 - lint::context::LintContext::with_lint_attrs::h8750270744138178828
  51:      0x31d18a44a1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h988a57955fb4f50aUZz
  52:      0x31d18a3fa16 - lint::context::LintContext::with_lint_attrs::h8750270744138178828
  53:      0x31d18a44a1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h988a57955fb4f50aUZz
  54:      0x31d18a3fa16 - lint::context::LintContext::with_lint_attrs::h8750270744138178828
  55:      0x31d18a44a1e - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h988a57955fb4f50aUZz
  56:      0x31d18a60d80 - lint::context::check_crate::h0665d99e192496a8zPA
  57:      0x31d1b053e17 - driver::phase_3_run_analysis_passes::closure.21888
  58:      0x31d1b034b63 - middle::ty::context::ctxt<'tcx>::create_and_enter::h1630972532939545665
  59:      0x31d1b02fadf - driver::phase_3_run_analysis_passes::h12145868880165070390
  60:      0x31d1b010ba6 - driver::compile_input::h32d1eac2df74dfb67ba
  61:      0x31d1b16928b - run_compiler::ha0e33d84ca5b13e4Ntc
  62:      0x31d1b166638 - sys_common::unwind::try::try_fn::h3019213119068281766
  63:      0x31d1ab32688 - __rust_try
  64:      0x31d1ab25bcb - sys_common::unwind::try::inner_try::h2f8af910b2af4dc45hs
  65:      0x31d1b166960 - boxed::F.FnBox<A>::call_box::h15447457551766661915
  66:      0x31d1ab39fe3 - sys::thread::Thread::new::thread_start::h7a81dbe415334083RMw
  67:      0x31d14bcb64b - start_thread
                        at /usr/src/debug/sys-libs/glibc-2.22-r1/glibc-2.22/nptl/pthread_create.c:334
  68:      0x31d1a7c89bc - clone
                        at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
  69:                0x0 - <unknown>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    48m9.737s
user    49m11.650s
sys 6m27.133s

Still fail, let's disable optimizations.

$ git clean -dfx
...
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --disable-optimize --enable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: processing ./configure args
configure: 
configure: CFG_DISABLE_VALGRIND_RPASS := 1 
configure: CFG_ENABLE_DEBUGINFO_TESTS := 1 
configure: CFG_ENABLE_LLVM_ASSERTIONS := 1 
configure: CFG_ENABLE_CCACHE    := 1 
configure: CFG_ENABLE_DIST_HOST_ONLY := 1 
configure: CFG_LOCALSTATEDIR    := /var/lib 
configure: CFG_SYSCONFDIR       := /etc 
configure: CFG_DATADIR          := /share 
configure: CFG_INFODIR          := /share/info 
configure: CFG_LLVM_ROOT        :=  
configure: CFG_PYTHON           := /usr/bin/python2 
configure: CFG_JEMALLOC_ROOT    :=  
configure: CFG_BUILD            := x86_64-unknown-linux-gnu 
configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone 
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_RELEASE_CHANNEL  := dev 
configure: CFG_MUSL_ROOT        := /usr/local 
configure: CFG_DEFAULT_LINKER   := cc 
configure: CFG_DEFAULT_AR       := ar 
configure: CFG_BUILD            := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: validating ./configure args
configure: 
configure: CFG_DISABLE_OPTIMIZE := 1 
configure: CFG_ENABLE_LLVM_ASSERTIONS := 1 
configure: CFG_ENABLE_DEBUG_JEMALLOC := 1 
configure: CFG_BOOTSTRAP_KEY    := 20:03:15 
configure: 
configure: looking for build programs
configure: 
configure: CFG_CURLORWGET       := /usr/bin/curl (7.45.0)
configure: CFG_GIT              := /usr/bin/git (2.6.2)
configure: CFG_MD5              :=  
configure: CFG_MD5SUM           := /usr/bin/md5sum (8.24)
configure: CFG_HASH_COMMAND     := /usr/bin/md5sum | cut -c 1-8 
configure: CFG_CLANG            :=  
configure: CFG_CCACHE           := /usr/bin/ccache (3.2.4)
configure: CFG_GCC              := /usr/bin/gcc (5.2.0)
configure: CFG_LD               := /usr/bin/ld (2.25.1)
configure: CFG_VALGRIND         :=  
configure: CFG_PERF             :=  
configure: CFG_ISCC             :=  
configure: CFG_ANTLR4           :=  
configure: CFG_GRUN             :=  
configure: CFG_FLEX             := /usr/bin/flex (2.5.39)
configure: CFG_BISON            := /usr/bin/bison (3.0.4)
configure: CFG_GDB              := /usr/bin/gdb (7.10)
configure: CFG_LLDB             :=  
configure: CFG_DISABLE_VALGRIND_RPASS := 1 
configure: CFG_GDB_VERSION      := GNU gdb (Gentoo 7.10 vanilla) 7.10 
configure: 
configure: looking for target specific programs
configure: 
configure: CFG_ADB              :=  
configure: CFG_CC               := ccache gcc 
configure: CFG_STDCPP_NAME      := stdc++ 
configure: 
configure: making directories
configure: 
...
configure: configuring LLVM with:
configure: --enable-targets=x86_64 --enable-optimized --enable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=x86_64-unknown-linux-gnu                         --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --with-python=/usr/bin/python2
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: cp -f /home/zazdxscf/build/1nonpkgs/rust/rust/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: configured in release mode. for development consider --enable-debug
configure: 
...
$ make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
touch /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/llvm-auto-clean-stamp.start_time
...
info: now are following matches for librbml-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librbml-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 0.895; rss: 44MB  parsing
time: 0.160; rss: 44MB  configuration 1
time: 0.000; rss: 44MB  recursion limit
time: 0.016; rss: 44MB  gated macro checking
time: 0.000; rss: 44MB  crate injection
time: 0.165; rss: 47MB  macro loading
time: 0.000; rss: 47MB  plugin loading
time: 0.000; rss: 47MB  plugin registration
time: 4.833; rss: 65MB  expansion
time: 0.214; rss: 65MB  complete gated feature checking 1
time: 0.860; rss: 65MB  configuration 2
time: 0.000; rss: 65MB  gated configuration checking
time: 0.446; rss: 65MB  maybe building test harness
time: 0.411; rss: 65MB  prelude injection
time: 0.056; rss: 65MB  checking that all macro invocations are gone
time: 0.000; rss: 65MB  checking for inline asm in case the target doesn't support it
time: 0.213; rss: 65MB  complete gated feature checking 2
time: 0.455; rss: 65MB  assigning node ids
time: 0.268; rss: 83MB  lowering ast -> hir
time: 0.998; rss: 87MB  indexing hir
time: 0.000; rss: 87MB  attribute checking
time: 0.278; rss: 87MB  early lint checks
time: 0.114; rss: 87MB  external crate/lib resolution
time: 0.098; rss: 87MB  language item collection
time: 3.699; rss: 117MB resolution
time: 0.104; rss: 117MB lifetime resolution
time: 0.000; rss: 117MB looking for entry point
time: 0.049; rss: 117MB looking for plugin registrar
time: 0.587; rss: 123MB region resolution
time: 0.050; rss: 123MB loop checking
time: 0.049; rss: 123MB static item recursion checking
time: 0.882; rss: 130MB type collecting
time: 0.111; rss: 130MB variance inference
time: 1.919; rss: 150MB coherence checking
time: 1.002; rss: 151MB wf checking (old)
time: 1.073; rss: 151MB item-types checking
time: 169.469; rss: 196MB   item-bodies checking
time: 0.001; rss: 196MB drop-impl checking
time: 5.156; rss: 196MB wf checking (new)
time: 16.428; rss: 197MB    const checking
time: 0.485; rss: 197MB privacy checking
time: 0.021; rss: 197MB stability index
time: 0.259; rss: 197MB intrinsic checking
time: 0.127; rss: 197MB effect checking
time: 1.332; rss: 197MB match checking
time: 8.091; rss: 255MB MIR dump
time: 1.008; rss: 260MB liveness checking
time: 38.793; rss: 260MB    borrow checking
time: 25.934; rss: 260MB    rvalue checking
time: 0.227; rss: 260MB reachability checking
time: 0.531; rss: 260MB death checking
time: 0.585; rss: 260MB stability checking
time: 0.000; rss: 260MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3b04044a06c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3b04046e036 - panicking::log_panic::closure.39699
   3:      0x3b04046d851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3b04043f828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x3b0403a7f6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x3b0403a9803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3b03d43b489 - metadata::decoder::crate_metadata::lookup_item::h8458d7c690c170ccNlo
   8:      0x3b03d4d9e48 - metadata::decoder::get_item_path::h946966a169ac7b24vjp
   9:      0x3b03d0649ab - metadata::csearch::get_item_path::h60727c6baa34e7e5Vgs
  10:      0x3b03d418e3c - middle::ty::ctxt<'tcx>::with_path::h14554981355384456658
  11:      0x3b03cfc0c4e - middle::ty::ctxt<'tcx>::item_path_str::h81905e6d96970dferFh
  12:      0x3b03cfc0a2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x3b03cfc094f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x3b03cfc08ff - middle::ty::context::tls::with::closure.91321
  15:      0x3b03cfc08b1 - thread::scoped_tls::ScopedKey<T>::with::h12505835326874039887
  16:      0x3b03cfc07fd - middle::ty::context::tls::with::h14253763777022529485
  17:      0x3b03cfc06d7 - middle::ty::context::tls::with_opt::h15396217575617304720
  18:      0x3b03ce2aa29 - middle::def_id::DefId.fmt..Debug::fmt::h7309ea013736c781Rfs
  19:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3b03d03de66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::hd78bd6fb8305e912k8B
  22:      0x3b03d03d99d - fmt::_&'a T.Debug::fmt::h18004347074300142245
  23:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x3b03cbf0231 - util::ppaux::ty..Region.fmt..Debug::fmt::h349b1e2e79452933saC
  26:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x3b03d069ea7 - util::ppaux::ty..Region.fmt..Display::fmt::h7e0a453c29708dc8kkC
  29:      0x3b03d65bcbd - fmt::_&'a T.Display::fmt::h7192573172774523792
  30:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x3b03cbb6264 - fmt::Write::write_fmt::h627681005756376071
  32:      0x3b03d65bc0d - string::T.ToString::to_string::h16477161664338783167
  33:      0x3b03d65dc15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h2784e5e6ac79831dtKB
  34:      0x3b03d67567d - boxed::Box<T>.fmt..Display::fmt::h18082183109925588610
  35:      0x3b03d67564d - fmt::_&'a T.Display::fmt::h13316276846189391132
  36:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x3b03d67168a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0ca456edae539601sQC
  39:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x3b03cbf3f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::haef18a49c3cb1ee2WgD
  42:      0x3b03cbf3e7d - fmt::_&'a T.Display::fmt::h18154365338086587585
  43:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x3b03d66fed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0ca456edae539601sQC
  46:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x3b03cbf3f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::haef18a49c3cb1ee2WgD
  49:      0x3b03cbf3e7d - fmt::_&'a T.Display::fmt::h18154365338086587585
  50:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x3b03d65781b - util::ppaux::fn_sig::h6eca8593cf4785247eB
  53:      0x3b03d663e55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h7617d88323b7a192huC
  54:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x3b03d671173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0ca456edae539601sQC
  57:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x3b0404db5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x3b03cbf3f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::haef18a49c3cb1ee2WgD
  60:      0x3b03fc8601d - fmt::_&'a T.Display::fmt::h4772995322088294892
  61:      0x3b040538d53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x3b040471a74 - fmt::Write::write_fmt::h10968932166685698339
  63:      0x3b04047192b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x3b03fc85662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x3b03fc86420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x3b03d6188ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he4258933855a2f48FOz
  67:      0x3b03d61e753 - visit::walk_expr::h7202680961895252098
  68:      0x3b03d6189c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he4258933855a2f48FOz
  69:      0x3b03d61e4ab - visit::walk_expr::h7202680961895252098
  70:      0x3b03d6189c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he4258933855a2f48FOz
  71:      0x3b03d62565b - visit::walk_block::h10455732252507424449
  72:      0x3b03d61f127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::ha243b121dc521e1f81z
  73:      0x3b03d61fc6b - visit::walk_fn::h11620098901893989604
  74:      0x3b03d618d36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h11df07de935f81d2LQz
  75:      0x3b03d6171be - visit::walk_item::h18406932623791079324
  76:      0x3b03d60ed05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x3b03d60b504 - lint::context::LintContext::with_lint_attrs::h11835066362755006506
  78:      0x3b03d609fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h57d037404f5286f1XKz
  79:      0x3b03d6250ac - visit::walk_mod::h7318219855343182972
  80:      0x3b03d618fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h13bf901ad767cdf3UZz
  81:      0x3b03d617211 - visit::walk_item::h18406932623791079324
  82:      0x3b03d60ed05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x3b03d60b504 - lint::context::LintContext::with_lint_attrs::h11835066362755006506
  84:      0x3b03d609fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h57d037404f5286f1XKz
  85:      0x3b03d6250ac - visit::walk_mod::h7318219855343182972
  86:      0x3b03d618fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h13bf901ad767cdf3UZz
  87:      0x3b03d617211 - visit::walk_item::h18406932623791079324
  88:      0x3b03d60ed05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x3b03d60b504 - lint::context::LintContext::with_lint_attrs::h11835066362755006506
  90:      0x3b03d609fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h57d037404f5286f1XKz
  91:      0x3b03d6250ac - visit::walk_mod::h7318219855343182972
  92:      0x3b03d618fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h13bf901ad767cdf3UZz
  93:      0x3b03d651cb5 - visit::walk_crate::h13005888902521590913
  94:      0x3b03d6518e5 - lint::context::check_crate::closure.108246
  95:      0x3b03d650d74 - lint::context::LintContext::with_lint_attrs::h11456058053036407341
  96:      0x3b03d64f137 - lint::context::check_crate::h7b1bd09c4649b906zPA
  97:      0x3b040acdbc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x3b040acdd8e - util::common::time::closure.23238
  99:      0x3b040acdd32 - time::duration::Duration::span::h16207229507280863009
  100:      0x3b040acd5d7 - util::common::time::h9240277138020009504
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    58m45.696s
user    59m44.783s
sys 6m19.740s

Still failed, ok I looked at the related issue and I've missed the RUST_LOG=rustc::metadata::loader, here it is:

$ time RUST_LOG=rustc::metadata::loader make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 1.016; rss: 44MB  parsing
time: 0.163; rss: 44MB  configuration 1
time: 0.000; rss: 44MB  recursion limit
time: 0.017; rss: 44MB  gated macro checking
time: 0.000; rss: 44MB  crate injection
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 296755 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 234178 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 244934 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 198977 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 349067 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 158400 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 199956 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 206311 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 185289 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 308978 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 239556 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 240533 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 184311 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 194089 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 231244 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 193111 }
time: 0.184; rss: 48MB  macro loading
time: 0.000; rss: 48MB  plugin loading
time: 0.000; rss: 48MB  plugin registration
time: 4.959; rss: 66MB  expansion
time: 0.226; rss: 66MB  complete gated feature checking 1
time: 0.918; rss: 66MB  configuration 2
time: 0.000; rss: 66MB  gated configuration checking
time: 0.490; rss: 66MB  maybe building test harness
time: 0.442; rss: 66MB  prelude injection
time: 0.057; rss: 66MB  checking that all macro invocations are gone
time: 0.000; rss: 66MB  checking for inline asm in case the target doesn't support it
time: 0.225; rss: 66MB  complete gated feature checking 2
time: 0.481; rss: 66MB  assigning node ids
time: 0.267; rss: 84MB  lowering ast -> hir
time: 1.095; rss: 88MB  indexing hir
time: 0.000; rss: 88MB  attribute checking
time: 0.278; rss: 88MB  early lint checks
time: 0.115; rss: 88MB  external crate/lib resolution
time: 0.099; rss: 88MB  language item collection
time: 4.007; rss: 117MB resolution
time: 0.129; rss: 116MB lifetime resolution
time: 0.000; rss: 116MB looking for entry point
time: 0.050; rss: 116MB looking for plugin registrar
time: 0.747; rss: 122MB region resolution
time: 0.049; rss: 122MB loop checking
time: 0.051; rss: 122MB static item recursion checking
time: 0.979; rss: 130MB type collecting
time: 0.116; rss: 130MB variance inference
time: 2.450; rss: 151MB coherence checking
time: 1.244; rss: 152MB wf checking (old)
time: 1.364; rss: 152MB item-types checking
time: 216.936; rss: 196MB   item-bodies checking
time: 0.001; rss: 196MB drop-impl checking
time: 6.632; rss: 196MB wf checking (new)
time: 23.047; rss: 197MB    const checking
time: 0.544; rss: 197MB privacy checking
time: 0.028; rss: 197MB stability index
time: 0.291; rss: 197MB intrinsic checking
time: 0.147; rss: 197MB effect checking
time: 1.557; rss: 197MB match checking
time: 10.344; rss: 255MB    MIR dump
time: 1.267; rss: 260MB liveness checking
time: 56.987; rss: 260MB    borrow checking
time: 36.848; rss: 260MB    rvalue checking
time: 0.228; rss: 260MB reachability checking
time: 0.535; rss: 260MB death checking
time: 0.931; rss: 260MB stability checking
time: 0.000; rss: 260MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3841ff0006c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3841ff24036 - panicking::log_panic::closure.39699
   3:      0x3841ff23851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3841fef5828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x3841fe5df6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x3841fe5f803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3841cef1489 - metadata::decoder::crate_metadata::lookup_item::h8458d7c690c170ccNlo
   8:      0x3841cf8fe48 - metadata::decoder::get_item_path::h946966a169ac7b24vjp
   9:      0x3841cb1a9ab - metadata::csearch::get_item_path::h60727c6baa34e7e5Vgs
  10:      0x3841cecee3c - middle::ty::ctxt<'tcx>::with_path::h14554981355384456658
  11:      0x3841ca76c4e - middle::ty::ctxt<'tcx>::item_path_str::h81905e6d96970dferFh
  12:      0x3841ca76a2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x3841ca7694f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x3841ca768ff - middle::ty::context::tls::with::closure.91321
  15:      0x3841ca768b1 - thread::scoped_tls::ScopedKey<T>::with::h12505835326874039887
  16:      0x3841ca767fd - middle::ty::context::tls::with::h14253763777022529485
  17:      0x3841ca766d7 - middle::ty::context::tls::with_opt::h15396217575617304720
  18:      0x3841c8e0a29 - middle::def_id::DefId.fmt..Debug::fmt::h7309ea013736c781Rfs
  19:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3841caf3e66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::hd78bd6fb8305e912k8B
  22:      0x3841caf399d - fmt::_&'a T.Debug::fmt::h18004347074300142245
  23:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x3841c6a6231 - util::ppaux::ty..Region.fmt..Debug::fmt::h349b1e2e79452933saC
  26:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x3841cb1fea7 - util::ppaux::ty..Region.fmt..Display::fmt::h7e0a453c29708dc8kkC
  29:      0x3841d111cbd - fmt::_&'a T.Display::fmt::h7192573172774523792
  30:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x3841c66c264 - fmt::Write::write_fmt::h627681005756376071
  32:      0x3841d111c0d - string::T.ToString::to_string::h16477161664338783167
  33:      0x3841d113c15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h2784e5e6ac79831dtKB
  34:      0x3841d12b67d - boxed::Box<T>.fmt..Display::fmt::h18082183109925588610
  35:      0x3841d12b64d - fmt::_&'a T.Display::fmt::h13316276846189391132
  36:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x3841d12768a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0ca456edae539601sQC
  39:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x3841c6a9f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::haef18a49c3cb1ee2WgD
  42:      0x3841c6a9e7d - fmt::_&'a T.Display::fmt::h18154365338086587585
  43:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x3841d125ed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0ca456edae539601sQC
  46:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x3841c6a9f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::haef18a49c3cb1ee2WgD
  49:      0x3841c6a9e7d - fmt::_&'a T.Display::fmt::h18154365338086587585
  50:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x3841d10d81b - util::ppaux::fn_sig::h6eca8593cf4785247eB
  53:      0x3841d119e55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h7617d88323b7a192huC
  54:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x3841d127173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0ca456edae539601sQC
  57:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x3841ff915ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x3841c6a9f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::haef18a49c3cb1ee2WgD
  60:      0x3841f73c01d - fmt::_&'a T.Display::fmt::h4772995322088294892
  61:      0x3841ffeed53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x3841ff27a74 - fmt::Write::write_fmt::h10968932166685698339
  63:      0x3841ff2792b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x3841f73b662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x3841f73c420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x3841d0ce8ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he4258933855a2f48FOz
  67:      0x3841d0d4753 - visit::walk_expr::h7202680961895252098
  68:      0x3841d0ce9c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he4258933855a2f48FOz
  69:      0x3841d0d44ab - visit::walk_expr::h7202680961895252098
  70:      0x3841d0ce9c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::he4258933855a2f48FOz
  71:      0x3841d0db65b - visit::walk_block::h10455732252507424449
  72:      0x3841d0d5127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::ha243b121dc521e1f81z
  73:      0x3841d0d5c6b - visit::walk_fn::h11620098901893989604
  74:      0x3841d0ced36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h11df07de935f81d2LQz
  75:      0x3841d0cd1be - visit::walk_item::h18406932623791079324
  76:      0x3841d0c4d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x3841d0c1504 - lint::context::LintContext::with_lint_attrs::h11835066362755006506
  78:      0x3841d0bffd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h57d037404f5286f1XKz
  79:      0x3841d0db0ac - visit::walk_mod::h7318219855343182972
  80:      0x3841d0cefdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h13bf901ad767cdf3UZz
  81:      0x3841d0cd211 - visit::walk_item::h18406932623791079324
  82:      0x3841d0c4d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x3841d0c1504 - lint::context::LintContext::with_lint_attrs::h11835066362755006506
  84:      0x3841d0bffd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h57d037404f5286f1XKz
  85:      0x3841d0db0ac - visit::walk_mod::h7318219855343182972
  86:      0x3841d0cefdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h13bf901ad767cdf3UZz
  87:      0x3841d0cd211 - visit::walk_item::h18406932623791079324
  88:      0x3841d0c4d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x3841d0c1504 - lint::context::LintContext::with_lint_attrs::h11835066362755006506
  90:      0x3841d0bffd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h57d037404f5286f1XKz
  91:      0x3841d0db0ac - visit::walk_mod::h7318219855343182972
  92:      0x3841d0cefdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h13bf901ad767cdf3UZz
  93:      0x3841d107cb5 - visit::walk_crate::h13005888902521590913
  94:      0x3841d1078e5 - lint::context::check_crate::closure.108246
  95:      0x3841d106d74 - lint::context::LintContext::with_lint_attrs::h11456058053036407341
  96:      0x3841d105137 - lint::context::check_crate::h7b1bd09c4649b906zPA
  97:      0x38420583bc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x38420583d8e - util::common::time::closure.23238
  99:      0x38420583d32 - time::duration::Duration::span::h16207229507280863009
  100:      0x384205835d7 - util::common::time::h9240277138020009504
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    6m25.186s
user    6m23.050s
sys 0m1.360s
ghost commented 8 years ago

tl;dr: removing -Z verbose from RUSTFLAGS during make does not cause the issue.

More tries with different args:

$ git clean -dfx
Removing Makefile
Removing config.mk
Removing config.stamp
Removing dist/
Removing dl/
Removing doc/
Removing src/etc/snapshot.pyc
Removing src/librustc/metadata/.decoder.rs.swp
Removing tmp/
cd ..
Removing x86_64-unknown-linux-gnu/
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --disable-optimize --disable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --enable-debuginfo-tests --enable-llvm-assertions --enable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time RUST_LOG=rustc::metadata::loader make -j1 -- VERBOSE=1 NO_REBUILD=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
touch /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/llvm-auto-clean-stamp.start_time
...
...
info: now are following matches for librbml-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librbml-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 1.010; rss: 44MB  parsing
time: 0.162; rss: 44MB  configuration 1
time: 0.000; rss: 44MB  recursion limit
time: 0.017; rss: 44MB  gated macro checking
time: 0.000; rss: 44MB  crate injection
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 345156 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 190178 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 221467 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 185778 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 186755 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 156934 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 277200 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 204355 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 190666 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 375956 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 250800 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 313378 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 209733 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 195556 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 194089 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 191156 }
time: 0.183; rss: 47MB  macro loading
time: 0.000; rss: 47MB  plugin loading
time: 0.000; rss: 47MB  plugin registration
time: 4.970; rss: 66MB  expansion
time: 0.221; rss: 66MB  complete gated feature checking 1
time: 0.905; rss: 66MB  configuration 2
time: 0.000; rss: 66MB  gated configuration checking
time: 0.488; rss: 66MB  maybe building test harness
time: 0.437; rss: 66MB  prelude injection
time: 0.056; rss: 66MB  checking that all macro invocations are gone
time: 0.000; rss: 66MB  checking for inline asm in case the target doesn't support it
time: 0.222; rss: 66MB  complete gated feature checking 2
time: 0.481; rss: 66MB  assigning node ids
time: 0.268; rss: 83MB  lowering ast -> hir
time: 1.047; rss: 87MB  indexing hir
time: 0.000; rss: 87MB  attribute checking
time: 0.276; rss: 87MB  early lint checks
time: 0.113; rss: 87MB  external crate/lib resolution
time: 0.099; rss: 87MB  language item collection
time: 3.953; rss: 117MB resolution
time: 0.132; rss: 116MB lifetime resolution
time: 0.000; rss: 116MB looking for entry point
time: 0.049; rss: 116MB looking for plugin registrar
time: 0.779; rss: 122MB region resolution
time: 0.049; rss: 122MB loop checking
time: 0.050; rss: 122MB static item recursion checking
time: 0.979; rss: 130MB type collecting
time: 0.116; rss: 130MB variance inference
time: 2.464; rss: 150MB coherence checking
time: 1.241; rss: 151MB wf checking (old)
time: 1.381; rss: 151MB item-types checking
time: 218.363; rss: 196MB   item-bodies checking
time: 0.001; rss: 196MB drop-impl checking
time: 6.667; rss: 196MB wf checking (new)
time: 23.236; rss: 197MB    const checking
time: 0.539; rss: 197MB privacy checking
time: 0.029; rss: 197MB stability index
time: 0.290; rss: 197MB intrinsic checking
time: 0.145; rss: 197MB effect checking
time: 1.559; rss: 197MB match checking
time: 10.396; rss: 254MB    MIR dump
time: 1.246; rss: 260MB liveness checking
time: 57.437; rss: 260MB    borrow checking
time: 37.322; rss: 260MB    rvalue checking
time: 0.230; rss: 260MB reachability checking
time: 0.540; rss: 260MB death checking
time: 0.912; rss: 260MB stability checking
time: 0.000; rss: 260MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3574773a06c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3574775e036 - panicking::log_panic::closure.39699
   3:      0x3574775d851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3574772f828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x35747697f6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x35747699803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3574472b459 - metadata::decoder::crate_metadata::lookup_item::ha36c61095099f003Nlo
   8:      0x357447c9e18 - metadata::decoder::get_item_path::ha878c8feaa99505avjp
   9:      0x3574435497b - metadata::csearch::get_item_path::h01d9b3c73b4e5597Vgs
  10:      0x35744708e0c - middle::ty::ctxt<'tcx>::with_path::h10352311365321106756
  11:      0x357442b0c1e - middle::ty::ctxt<'tcx>::item_path_str::h1d8a2d27929dae3drFh
  12:      0x357442b09fb - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x357442b091f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x357442b08cf - middle::ty::context::tls::with::closure.91321
  15:      0x357442b0881 - thread::scoped_tls::ScopedKey<T>::with::h7961186222578779811
  16:      0x357442b07cd - middle::ty::context::tls::with::h12348653215140575377
  17:      0x357442b06a7 - middle::ty::context::tls::with_opt::h18313064416985377286
  18:      0x3574411aa09 - middle::def_id::DefId.fmt..Debug::fmt::h7c22517fbf3892d2Rfs
  19:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3574432de36 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::hc40c59961a7defa0k8B
  22:      0x3574432d96d - fmt::_&'a T.Debug::fmt::h10015781735513924289
  23:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x35743ee0231 - util::ppaux::ty..Region.fmt..Debug::fmt::h589c6297d96abc17saC
  26:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x35744359e77 - util::ppaux::ty..Region.fmt..Display::fmt::hf3f42b2d76dcf2eckkC
  29:      0x3574494bc8d - fmt::_&'a T.Display::fmt::h2719069493102722619
  30:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x35743ea6264 - fmt::Write::write_fmt::h9803176015046476954
  32:      0x3574494bbdd - string::T.ToString::to_string::h9856020121485473567
  33:      0x3574494dbe5 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h99cce19427d20d6etKB
  34:      0x3574496564d - boxed::Box<T>.fmt..Display::fmt::h6562987315473910287
  35:      0x3574496561d - fmt::_&'a T.Display::fmt::h7903674299366236526
  36:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x3574496165a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h9e93f298b8db0112sQC
  39:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x35743ee3f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::he3a07def9c733b33WgD
  42:      0x35743ee3e7d - fmt::_&'a T.Display::fmt::h5777667350377432080
  43:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x3574495fea2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h9e93f298b8db0112sQC
  46:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x35743ee3f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::he3a07def9c733b33WgD
  49:      0x35743ee3e7d - fmt::_&'a T.Display::fmt::h5777667350377432080
  50:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x357449477eb - util::ppaux::fn_sig::hef72edc1e961ebb77eB
  53:      0x35744953e25 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::hc07bcc810f4a5b0dhuC
  54:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x35744961143 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h9e93f298b8db0112sQC
  57:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x357477cb5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x35743ee3f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::he3a07def9c733b33WgD
  60:      0x35746f7601d - fmt::_&'a T.Display::fmt::h15337095780985379402
  61:      0x35747828d53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x35747761a74 - fmt::Write::write_fmt::h13270935105889183142
  63:      0x3574776192b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x35746f75662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x35746f76420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x357449088bd - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hadb448f50916859cFOz
  67:      0x3574490e723 - visit::walk_expr::h2170439642982396722
  68:      0x35744908997 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hadb448f50916859cFOz
  69:      0x3574490e47b - visit::walk_expr::h2170439642982396722
  70:      0x35744908997 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hadb448f50916859cFOz
  71:      0x3574491562b - visit::walk_block::h8508057565682261575
  72:      0x3574490f0f7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::hb9e815e0cc5c8efa81z
  73:      0x3574490fc3b - visit::walk_fn::h4817495977315748029
  74:      0x35744908d06 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h6f4801145ac36681LQz
  75:      0x3574490718e - visit::walk_item::h4744264594307728230
  76:      0x357448fecd5 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x357448fb4d4 - lint::context::LintContext::with_lint_attrs::h8799401426682095770
  78:      0x357448f9fa0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h3cca3667903b2657XKz
  79:      0x3574491507c - visit::walk_mod::h16107070230948499447
  80:      0x35744908fac - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h35119e094710f76eUZz
  81:      0x357449071e1 - visit::walk_item::h4744264594307728230
  82:      0x357448fecd5 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x357448fb4d4 - lint::context::LintContext::with_lint_attrs::h8799401426682095770
  84:      0x357448f9fa0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h3cca3667903b2657XKz
  85:      0x3574491507c - visit::walk_mod::h16107070230948499447
  86:      0x35744908fac - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h35119e094710f76eUZz
  87:      0x357449071e1 - visit::walk_item::h4744264594307728230
  88:      0x357448fecd5 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x357448fb4d4 - lint::context::LintContext::with_lint_attrs::h8799401426682095770
  90:      0x357448f9fa0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h3cca3667903b2657XKz
  91:      0x3574491507c - visit::walk_mod::h16107070230948499447
  92:      0x35744908fac - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h35119e094710f76eUZz
  93:      0x35744941c85 - visit::walk_crate::h4677652414078288908
  94:      0x357449418b5 - lint::context::check_crate::closure.108246
  95:      0x35744940d44 - lint::context::LintContext::with_lint_attrs::h11098725645949648387
  96:      0x3574493f107 - lint::context::check_crate::he7e98e99dbe76181zPA
  97:      0x35747dbebc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x35747dbed8e - util::common::time::closure.23238
  99:      0x35747dbed32 - time::duration::Duration::span::h14426461393997687636
  100:      0x35747dbe5d7 - util::common::time::h2269135110856453074
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    71m11.324s
user    71m42.373s
sys 6m18.470s

I have removed NO_REBUILD=1 from make so that I can use -j4 instead of -j1 (if both -j4 and NO_REBUILD=1 are passed, it fails) Also with --disable-debug-jemalloc

$ git clean -dfx
Removing Makefile
Removing config.mk
Removing config.stamp
Removing dist/
Removing dl/
Removing doc/
Removing src/etc/snapshot.pyc
Removing tmp/
Removing x86_64-unknown-linux-gnu/
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --disable-optimize --disable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --disable-debuginfo-tests --enable-llvm-assertions --disable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
...
info: now are following matches for libsyntax-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libsyntax-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release+Asserts/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.syntax x86_64-unknown-linux-gnu/stage2/lib/stamp.syntax
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for libsyntax-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/libsyntax-bb943c5a.so
time: 1.021; rss: 44MB  parsing
time: 0.162; rss: 44MB  configuration 1
time: 0.000; rss: 44MB  recursion limit
time: 0.017; rss: 44MB  gated macro checking
time: 0.000; rss: 44MB  crate injection
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 299200 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 193111 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 210711 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 203866 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 312400 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 161822 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 170134 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 248356 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 231733 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 314844 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 219511 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 252756 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 276711 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 251289 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 188711 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 253245 }
time: 0.193; rss: 48MB  macro loading
time: 0.000; rss: 48MB  plugin loading
time: 0.000; rss: 48MB  plugin registration
time: 4.995; rss: 66MB  expansion
time: 0.225; rss: 66MB  complete gated feature checking 1
time: 0.917; rss: 66MB  configuration 2
time: 0.000; rss: 66MB  gated configuration checking
time: 0.493; rss: 66MB  maybe building test harness
time: 0.439; rss: 66MB  prelude injection
time: 0.057; rss: 66MB  checking that all macro invocations are gone
time: 0.000; rss: 66MB  checking for inline asm in case the target doesn't support it
time: 0.224; rss: 66MB  complete gated feature checking 2
time: 0.490; rss: 66MB  assigning node ids
time: 0.268; rss: 84MB  lowering ast -> hir
time: 1.115; rss: 88MB  indexing hir
time: 0.000; rss: 88MB  attribute checking
time: 0.279; rss: 88MB  early lint checks
time: 0.115; rss: 88MB  external crate/lib resolution
time: 0.104; rss: 88MB  language item collection
time: 3.984; rss: 117MB resolution
time: 0.134; rss: 117MB lifetime resolution
time: 0.000; rss: 117MB looking for entry point
time: 0.050; rss: 117MB looking for plugin registrar
time: 0.781; rss: 123MB region resolution
time: 0.050; rss: 123MB loop checking
time: 0.051; rss: 123MB static item recursion checking
time: 0.997; rss: 130MB type collecting
time: 0.120; rss: 130MB variance inference
time: 2.495; rss: 150MB coherence checking
time: 1.251; rss: 151MB wf checking (old)
time: 1.401; rss: 151MB item-types checking
time: 219.141; rss: 197MB   item-bodies checking
time: 0.001; rss: 197MB drop-impl checking
time: 6.652; rss: 197MB wf checking (new)
time: 23.165; rss: 198MB    const checking
time: 0.545; rss: 198MB privacy checking
time: 0.029; rss: 198MB stability index
time: 0.294; rss: 198MB intrinsic checking
time: 0.146; rss: 198MB effect checking
time: 1.564; rss: 198MB match checking
time: 10.548; rss: 255MB    MIR dump
time: 1.267; rss: 261MB liveness checking
time: 57.114; rss: 261MB    borrow checking
time: 37.875; rss: 261MB    rvalue checking
time: 0.236; rss: 261MB reachability checking
time: 0.538; rss: 261MB death checking
time: 0.906; rss: 261MB stability checking
time: 0.000; rss: 261MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3ba0a37406c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3ba0a398036 - panicking::log_panic::closure.39699
   3:      0x3ba0a397851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3ba0a369828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x3ba0a2d1f6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x3ba0a2d3803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3ba07365489 - metadata::decoder::crate_metadata::lookup_item::h3edfbbe600c5f7d0Nlo
   8:      0x3ba07403e48 - metadata::decoder::get_item_path::he02bb2a5c50df805vjp
   9:      0x3ba06f8e9ab - metadata::csearch::get_item_path::h29b870ea4ea1c9e1Vgs
  10:      0x3ba07342e3c - middle::ty::ctxt<'tcx>::with_path::h10444011914326025041
  11:      0x3ba06eeac4e - middle::ty::ctxt<'tcx>::item_path_str::h91fa39c18cd05990rFh
  12:      0x3ba06eeaa2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x3ba06eea94f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x3ba06eea8ff - middle::ty::context::tls::with::closure.91321
  15:      0x3ba06eea8b1 - thread::scoped_tls::ScopedKey<T>::with::h17298581633707603397
  16:      0x3ba06eea7fd - middle::ty::context::tls::with::h14231861589600331442
  17:      0x3ba06eea6d7 - middle::ty::context::tls::with_opt::h3619900487362882043
  18:      0x3ba06d54a29 - middle::def_id::DefId.fmt..Debug::fmt::h7542fe2d89fd05fdRfs
  19:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3ba06f67e66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::he80173a972226fdfk8B
  22:      0x3ba06f6799d - fmt::_&'a T.Debug::fmt::h13596642170438732603
  23:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x3ba06b1a231 - util::ppaux::ty..Region.fmt..Debug::fmt::he9b0ed4c63294387saC
  26:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x3ba06f93ea7 - util::ppaux::ty..Region.fmt..Display::fmt::hf528900302a71c66kkC
  29:      0x3ba07585cbd - fmt::_&'a T.Display::fmt::h8276151546346955976
  30:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x3ba06ae0264 - fmt::Write::write_fmt::h1612019339225692435
  32:      0x3ba07585c0d - string::T.ToString::to_string::h3028340564163228547
  33:      0x3ba07587c15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::h6d7766da56aaf866tKB
  34:      0x3ba0759f67d - boxed::Box<T>.fmt..Display::fmt::h13442393552261748527
  35:      0x3ba0759f64d - fmt::_&'a T.Display::fmt::h8354122592389246808
  36:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x3ba0759b68a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h28d057ee94230ffcsQC
  39:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x3ba06b1df79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hf86ff74f5557d683WgD
  42:      0x3ba06b1de7d - fmt::_&'a T.Display::fmt::h2441297674783162323
  43:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x3ba07599ed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h28d057ee94230ffcsQC
  46:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x3ba06b1df79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hf86ff74f5557d683WgD
  49:      0x3ba06b1de7d - fmt::_&'a T.Display::fmt::h2441297674783162323
  50:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x3ba0758181b - util::ppaux::fn_sig::h2477649c274fc6b77eB
  53:      0x3ba0758de55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::h41714dc40a1bd22chuC
  54:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x3ba0759b173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h28d057ee94230ffcsQC
  57:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x3ba0a4055ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x3ba06b1df79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hf86ff74f5557d683WgD
  60:      0x3ba09bb001d - fmt::_&'a T.Display::fmt::h12141864195412110725
  61:      0x3ba0a462d53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x3ba0a39ba74 - fmt::Write::write_fmt::h13263643800637336612
  63:      0x3ba0a39b92b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x3ba09baf662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x3ba09bb0420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x3ba075428ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h1f6851dbc69d3e13FOz
  67:      0x3ba07548753 - visit::walk_expr::h2128882793905338554
  68:      0x3ba075429c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h1f6851dbc69d3e13FOz
  69:      0x3ba075484ab - visit::walk_expr::h2128882793905338554
  70:      0x3ba075429c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h1f6851dbc69d3e13FOz
  71:      0x3ba0754f65b - visit::walk_block::h6806271851343953893
  72:      0x3ba07549127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::h0186f8f6a29a3c2781z
  73:      0x3ba07549c6b - visit::walk_fn::h9457552485819512610
  74:      0x3ba07542d36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h3b61a5e3f733a59cLQz
  75:      0x3ba075411be - visit::walk_item::h16055444900783480887
  76:      0x3ba07538d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x3ba07535504 - lint::context::LintContext::with_lint_attrs::h6875047648209851689
  78:      0x3ba07533fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h05d352ff2460bc3aXKz
  79:      0x3ba0754f0ac - visit::walk_mod::h11143103620898244718
  80:      0x3ba07542fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h2587b9f403a28709UZz
  81:      0x3ba07541211 - visit::walk_item::h16055444900783480887
  82:      0x3ba07538d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x3ba07535504 - lint::context::LintContext::with_lint_attrs::h6875047648209851689
  84:      0x3ba07533fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h05d352ff2460bc3aXKz
  85:      0x3ba0754f0ac - visit::walk_mod::h11143103620898244718
  86:      0x3ba07542fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h2587b9f403a28709UZz
  87:      0x3ba07541211 - visit::walk_item::h16055444900783480887
  88:      0x3ba07538d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x3ba07535504 - lint::context::LintContext::with_lint_attrs::h6875047648209851689
  90:      0x3ba07533fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h05d352ff2460bc3aXKz
  91:      0x3ba0754f0ac - visit::walk_mod::h11143103620898244718
  92:      0x3ba07542fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h2587b9f403a28709UZz
  93:      0x3ba0757bcb5 - visit::walk_crate::h13804701206288063033
  94:      0x3ba0757b8e5 - lint::context::check_crate::closure.108246
  95:      0x3ba0757ad74 - lint::context::LintContext::with_lint_attrs::h2442293853370300540
  96:      0x3ba07579137 - lint::context::check_crate::h53d8c239ee948b78zPA
  97:      0x3ba0a9f8bc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x3ba0a9f8d8e - util::common::time::closure.23238
  99:      0x3ba0a9f8d32 - time::duration::Duration::span::h3870212656307256546
  100:      0x3ba0a9f85d7 - util::common::time::h14543526651029665280
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    61m30.461s
user    68m29.630s
sys 4m4.560s

Ok, now with --disable-llvm-assertions

$ git clean -dfx
Removing Makefile
Removing config.mk
Removing config.stamp
Removing dist/
Removing dl/
Removing doc/
Removing src/etc/snapshot.pyc
Removing tmp/
Removing x86_64-unknown-linux-gnu/
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --disable-optimize --disable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --disable-debuginfo-tests --disable-llvm-assertions --disable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
configure: processing ./configure args
configure: 
configure: CFG_DISABLE_VALGRIND_RPASS := 1 
configure: CFG_ENABLE_CCACHE    := 1 
configure: CFG_ENABLE_DIST_HOST_ONLY := 1 
configure: CFG_LOCALSTATEDIR    := /var/lib 
configure: CFG_SYSCONFDIR       := /etc 
configure: CFG_DATADIR          := /share 
configure: CFG_INFODIR          := /share/info 
configure: CFG_LLVM_ROOT        :=  
configure: CFG_PYTHON           := /usr/bin/python2 
configure: CFG_JEMALLOC_ROOT    :=  
configure: CFG_BUILD            := x86_64-unknown-linux-gnu 
configure: CFG_ANDROID_CROSS_PATH := /opt/ndk_standalone 
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_RELEASE_CHANNEL  := dev 
configure: CFG_MUSL_ROOT        := /usr/local 
configure: CFG_DEFAULT_LINKER   := cc 
configure: CFG_DEFAULT_AR       := ar 
configure: CFG_BUILD            := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: validating ./configure args
configure: 
configure: CFG_DISABLE_OPTIMIZE := 1 
configure: CFG_DISABLE_OPTIMIZE_CXX := 1 
configure: CFG_BOOTSTRAP_KEY    := 23:56:51 
configure: 
configure: looking for build programs
configure: 
configure: CFG_CURLORWGET       := /usr/bin/curl (7.45.0)
configure: CFG_GIT              := /usr/bin/git (2.6.2)
configure: CFG_MD5              :=  
configure: CFG_MD5SUM           := /usr/bin/md5sum (8.24)
configure: CFG_HASH_COMMAND     := /usr/bin/md5sum | cut -c 1-8 
configure: CFG_CLANG            :=  
configure: CFG_CCACHE           := /usr/bin/ccache (3.2.4)
configure: CFG_GCC              := /usr/bin/gcc (5.2.0)
configure: CFG_LD               := /usr/bin/ld (2.25.1)
configure: CFG_VALGRIND         :=  
configure: CFG_PERF             :=  
configure: CFG_ISCC             :=  
configure: CFG_ANTLR4           :=  
configure: CFG_GRUN             :=  
configure: CFG_FLEX             := /usr/bin/flex (2.5.39)
configure: CFG_BISON            := /usr/bin/bison (3.0.4)
configure: CFG_GDB              := /usr/bin/gdb (7.10)
configure: CFG_LLDB             :=  
configure: CFG_DISABLE_VALGRIND_RPASS := 1 
configure: CFG_GDB_VERSION      := GNU gdb (Gentoo 7.10 vanilla) 7.10 
configure: 
configure: looking for target specific programs
configure: 
configure: CFG_ADB              :=  
configure: CFG_CC               := ccache gcc 
configure: CFG_STDCPP_NAME      := stdc++ 
configure: 
configure: making directories
...
configure: configuring LLVM with:
configure: --enable-targets=x86_64 --enable-optimized --disable-assertions --disable-docs --enable-bindings=none --disable-terminfo --disable-zlib --disable-libffi --build=x86_64-unknown-linux-gnu                         --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --with-python=/usr/bin/python2
...
configure: writing configuration
configure: 
configure: CFG_SRC_DIR          := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_SRC_DIR_RELATIVE := ./ 
configure: CFG_BUILD_DIR        := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_OSTYPE           := unknown-linux-gnu 
configure: CFG_CPUTYPE          := x86_64 
configure: CFG_CONFIGURE_ARGS   := --prefix=/home/zazdxscf/build/1nonp ...
configure: CFG_PREFIX           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_HOST             := x86_64-unknown-linux-gnu 
configure: CFG_TARGET           := x86_64-unknown-linux-gnu 
configure: CFG_LIBDIR_RELATIVE  := lib 
configure: CFG_DISABLE_MANAGE_SUBMODULES :=  
configure: CFG_AARCH64_LINUX_ANDROID_NDK :=  
configure: CFG_ARM_LINUX_ANDROIDEABI_NDK :=  
configure: CFG_I686_LINUX_ANDROID_NDK :=  
configure: CFG_MANDIR           := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_CCACHE_BASEDIR   := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_SRC_DIR     := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_BUILD_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: CFG_LLVM_INST_DIR_x86_64_unknown_linux_gnu := /home/zazdxscf/build/1nonpkgs/rust/ ...
configure: 
configure: cp -f /home/zazdxscf/build/1nonpkgs/rust/rust/Makefile.in ./Makefile
configure: mv -f config.tmp config.mk
configure: 
configure: configured in release mode. for development consider --enable-debug
configure: 
configure: run `make help`
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
touch /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/llvm-auto-clean-stamp.start_time
...
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.syntax x86_64-unknown-linux-gnu/stage2/lib/stamp.syntax
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for libsyntax-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/libsyntax-bb943c5a.so
time: 0.998; rss: 40MB  parsing
time: 0.161; rss: 40MB  configuration 1
time: 0.000; rss: 40MB  recursion limit
time: 0.017; rss: 40MB  gated macro checking
time: 0.000; rss: 40MB  crate injection
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 311911 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 189200 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 227823 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 231733 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 201422 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 179912 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 334400 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 208267 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 188711 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 347111 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 283556 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 311422 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 203378 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 209734 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 225378 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 219022 }
time: 0.193; rss: 43MB  macro loading
time: 0.000; rss: 43MB  plugin loading
time: 0.000; rss: 43MB  plugin registration
time: 4.943; rss: 62MB  expansion
time: 0.223; rss: 62MB  complete gated feature checking 1
time: 0.919; rss: 62MB  configuration 2
time: 0.000; rss: 62MB  gated configuration checking
time: 0.496; rss: 62MB  maybe building test harness
time: 0.441; rss: 62MB  prelude injection
time: 0.058; rss: 62MB  checking that all macro invocations are gone
time: 0.000; rss: 62MB  checking for inline asm in case the target doesn't support it
time: 0.223; rss: 62MB  complete gated feature checking 2
time: 0.487; rss: 62MB  assigning node ids
time: 0.268; rss: 79MB  lowering ast -> hir
time: 1.087; rss: 83MB  indexing hir
time: 0.000; rss: 83MB  attribute checking
time: 0.278; rss: 83MB  early lint checks
time: 0.118; rss: 83MB  external crate/lib resolution
time: 0.100; rss: 83MB  language item collection
time: 4.064; rss: 113MB resolution
time: 0.130; rss: 112MB lifetime resolution
time: 0.000; rss: 112MB looking for entry point
time: 0.049; rss: 112MB looking for plugin registrar
time: 0.785; rss: 118MB region resolution
time: 0.050; rss: 118MB loop checking
time: 0.050; rss: 118MB static item recursion checking
time: 0.981; rss: 126MB type collecting
time: 0.117; rss: 126MB variance inference
time: 2.476; rss: 146MB coherence checking
time: 1.252; rss: 147MB wf checking (old)
time: 1.381; rss: 147MB item-types checking
time: 217.966; rss: 192MB   item-bodies checking
time: 0.001; rss: 192MB drop-impl checking
time: 6.658; rss: 192MB wf checking (new)
time: 23.107; rss: 193MB    const checking
time: 0.547; rss: 193MB privacy checking
time: 0.029; rss: 193MB stability index
time: 0.292; rss: 193MB intrinsic checking
time: 0.148; rss: 193MB effect checking
time: 1.562; rss: 193MB match checking
time: 10.377; rss: 251MB    MIR dump
time: 1.276; rss: 256MB liveness checking
time: 57.318; rss: 256MB    borrow checking
time: 36.958; rss: 256MB    rvalue checking
time: 0.237; rss: 256MB reachability checking
time: 0.538; rss: 256MB death checking
time: 0.946; rss: 256MB stability checking
time: 0.000; rss: 256MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3bf188f106c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3bf18915036 - panicking::log_panic::closure.39699
   3:      0x3bf18914851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3bf188e6828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x3bf1884ef6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x3bf18850803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3bf158e2489 - metadata::decoder::crate_metadata::lookup_item::hf08f6b22c0358161Nlo
   8:      0x3bf15980e48 - metadata::decoder::get_item_path::h11de4f3f9b81af0evjp
   9:      0x3bf1550b9ab - metadata::csearch::get_item_path::h53ee6492ffc8aad6Vgs
  10:      0x3bf158bfe3c - middle::ty::ctxt<'tcx>::with_path::h17430554772235534805
  11:      0x3bf15467c4e - middle::ty::ctxt<'tcx>::item_path_str::h7416ccdd0532af28rFh
  12:      0x3bf15467a2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x3bf1546794f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x3bf154678ff - middle::ty::context::tls::with::closure.91321
  15:      0x3bf154678b1 - thread::scoped_tls::ScopedKey<T>::with::h12102388316988659667
  16:      0x3bf154677fd - middle::ty::context::tls::with::h13208612757203259507
  17:      0x3bf154676d7 - middle::ty::context::tls::with_opt::h1041192060304589138
  18:      0x3bf152d1a29 - middle::def_id::DefId.fmt..Debug::fmt::h72607eac0e4d34b7Rfs
  19:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3bf154e4e66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::haf6e822d50b46e0ek8B
  22:      0x3bf154e499d - fmt::_&'a T.Debug::fmt::h12363322123584397570
  23:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x3bf15097231 - util::ppaux::ty..Region.fmt..Debug::fmt::hab3f9c9a14965e8fsaC
  26:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x3bf15510ea7 - util::ppaux::ty..Region.fmt..Display::fmt::hbb3c3e1c9d171669kkC
  29:      0x3bf15b02cbd - fmt::_&'a T.Display::fmt::h7626442323429155647
  30:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x3bf1505d264 - fmt::Write::write_fmt::h15306967593098883599
  32:      0x3bf15b02c0d - string::T.ToString::to_string::h313867877109403957
  33:      0x3bf15b04c15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::hf9568ea6579c6ef3tKB
  34:      0x3bf15b1c67d - boxed::Box<T>.fmt..Display::fmt::h4372649342355664983
  35:      0x3bf15b1c64d - fmt::_&'a T.Display::fmt::h13713692595366427245
  36:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x3bf15b1868a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::ha01379c5ec9188d7sQC
  39:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x3bf1509af79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h8d4b201b83cb4c6fWgD
  42:      0x3bf1509ae7d - fmt::_&'a T.Display::fmt::h13363484588731888732
  43:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x3bf15b16ed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::ha01379c5ec9188d7sQC
  46:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x3bf1509af79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h8d4b201b83cb4c6fWgD
  49:      0x3bf1509ae7d - fmt::_&'a T.Display::fmt::h13363484588731888732
  50:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x3bf15afe81b - util::ppaux::fn_sig::h210cf2ffde819e7b7eB
  53:      0x3bf15b0ae55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::hc6ace3b7a099c0a6huC
  54:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x3bf15b18173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::ha01379c5ec9188d7sQC
  57:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x3bf189825ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x3bf1509af79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h8d4b201b83cb4c6fWgD
  60:      0x3bf1812d01d - fmt::_&'a T.Display::fmt::h9595480147772079528
  61:      0x3bf189dfd53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x3bf18918a74 - fmt::Write::write_fmt::h1657682277787206595
  63:      0x3bf1891892b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x3bf1812c662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x3bf1812d420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x3bf15abf8ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hc5f883419b317aa7FOz
  67:      0x3bf15ac5753 - visit::walk_expr::h6001670156799437367
  68:      0x3bf15abf9c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hc5f883419b317aa7FOz
  69:      0x3bf15ac54ab - visit::walk_expr::h6001670156799437367
  70:      0x3bf15abf9c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::hc5f883419b317aa7FOz
  71:      0x3bf15acc65b - visit::walk_block::h8214831767702797224
  72:      0x3bf15ac6127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::ha9f60a8a503d48ba81z
  73:      0x3bf15ac6c6b - visit::walk_fn::h16926648705021976713
  74:      0x3bf15abfd36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h3e438dea4a5780cfLQz
  75:      0x3bf15abe1be - visit::walk_item::h3005546349946431523
  76:      0x3bf15ab5d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x3bf15ab2504 - lint::context::LintContext::with_lint_attrs::h14856260811062557106
  78:      0x3bf15ab0fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::hdfbc9a8ea4f353c4XKz
  79:      0x3bf15acc0ac - visit::walk_mod::h12415316352534731568
  80:      0x3bf15abffdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::ha3c111d5d9123e2aUZz
  81:      0x3bf15abe211 - visit::walk_item::h3005546349946431523
  82:      0x3bf15ab5d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x3bf15ab2504 - lint::context::LintContext::with_lint_attrs::h14856260811062557106
  84:      0x3bf15ab0fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::hdfbc9a8ea4f353c4XKz
  85:      0x3bf15acc0ac - visit::walk_mod::h12415316352534731568
  86:      0x3bf15abffdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::ha3c111d5d9123e2aUZz
  87:      0x3bf15abe211 - visit::walk_item::h3005546349946431523
  88:      0x3bf15ab5d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x3bf15ab2504 - lint::context::LintContext::with_lint_attrs::h14856260811062557106
  90:      0x3bf15ab0fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::hdfbc9a8ea4f353c4XKz
  91:      0x3bf15acc0ac - visit::walk_mod::h12415316352534731568
  92:      0x3bf15abffdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::ha3c111d5d9123e2aUZz
  93:      0x3bf15af8cb5 - visit::walk_crate::h516633833914151244
  94:      0x3bf15af88e5 - lint::context::check_crate::closure.108246
  95:      0x3bf15af7d74 - lint::context::LintContext::with_lint_attrs::h15789443379023991964
  96:      0x3bf15af6137 - lint::context::check_crate::ha47c1e2704fada7czPA
  97:      0x3bf18f75bc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x3bf18f75d8e - util::common::time::closure.23238
  99:      0x3bf18f75d32 - time::duration::Duration::span::h8954618039401094357
  100:      0x3bf18f755d7 - util::common::time::h1428647808065421146
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    62m59.160s
user    72m24.176s
sys 6m5.163s

Wow, ok... let's just rerun that without clean, as a simple make command, to make sure it still fails with a simpler make call:

$ time make -j4 RUST_BACKTRACE=1 VERBOSE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
info: now are following matches for librustc_front-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.so
info: now are following matches for librustc_front-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_back/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front x86_64-unknown-linux-gnu/stage2/lib/stamp.rustc_front
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for librustc_front-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/librustc_front-bb943c5a.so
info: now are following matches for librustc_back-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.so
info: now are following matches for librustc_back-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_back x86_64-unknown-linux-gnu/stage2/lib/stamp.rustc_back
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for librustc_back-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/librustc_back-bb943c5a.so
info: now are following matches for librustc-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-bb943c5a.so
info: now are following matches for librustc-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_borrowck-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_borrowck-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_borrowck/lib.rs
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_platform_intrinsics-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_platform_intrinsics-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_platform_intrinsics/lib.rs
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_mir-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_mir-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_mir/lib.rs
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_resolve-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_resolve-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1   -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_resolve/lib.rs
...
//I C-c ed  it after a while
real    25m48.675s
user    27m8.817s
sys 0m17.803s

Well, it got past it! Wait what?! So the issue is in the args that I pass to make! (why didn't I try this before?) Ok let's try this:

$ rm /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_front
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_front-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_front-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_front-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_front
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc_front-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/librustc_front-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_back-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_back-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_back-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_back x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_back
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc_back-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/librustc_back-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/librustc-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_borrowck-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_borrowck-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_platform_intrinsics-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_platform_intrinsics-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_borrowck-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_borrowck-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_borrowck x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_borrowck
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_borrowck-*.so x86_64-unknown-linux-gnu/stage1/lib
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_mir-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_mir-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_platform_intrinsics-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_platform_intrinsics-bb943c5a.so
info: now are following matches for librustc_borrowck-*.so libraries:
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_platform_intrinsics x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_platform_intrinsics
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_platform_intrinsics-*.so x86_64-unknown-linux-gnu/stage1/lib
x86_64-unknown-linux-gnu/stage1/lib/librustc_borrowck-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_resolve-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_resolve-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_mir-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_mir-bb943c5a.so
info: now are following matches for librustc_platform_intrinsics-*.so libraries:
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_mir x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_mir
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_mir-*.so x86_64-unknown-linux-gnu/stage1/lib
x86_64-unknown-linux-gnu/stage1/lib/librustc_platform_intrinsics-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_trans-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_trans-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_resolve-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_resolve-bb943c5a.so
info: now are following matches for librustc_mir-*.so libraries:
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_resolve x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_resolve
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_resolve-*.so x86_64-unknown-linux-gnu/stage1/lib
x86_64-unknown-linux-gnu/stage1/lib/librustc_mir-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_privacy-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_privacy-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_trans-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_trans-bb943c5a.so
info: now are following matches for librustc_resolve-*.so libraries:
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_trans x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_trans
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_trans-*.so x86_64-unknown-linux-gnu/stage1/lib
x86_64-unknown-linux-gnu/stage1/lib/librustc_resolve-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_lint-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_lint-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_privacy-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_privacy-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_privacy x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_privacy
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_privacy-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc_trans-*.so libraries:
warning: removing previous 'librustc_lint-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_lint-bb943c5a.so
info: now are following matches for librustc_privacy-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/librustc_trans-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_lint x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_lint
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_typeck-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_typeck-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
x86_64-unknown-linux-gnu/stage1/lib/librustc_privacy-bb943c5a.so
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_lint-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc_lint-*.so libraries:
warning: removing previous 'librustc_typeck-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_typeck-bb943c5a.so
x86_64-unknown-linux-gnu/stage1/lib/librustc_lint-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_typeck x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_typeck
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_typeck-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc_typeck-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/librustc_typeck-bb943c5a.so
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-bb943c5a.so"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_driver-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'librustc_driver-*.so' libraries: x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_driver x86_64-unknown-linux-gnu/stage1/lib/stamp.rustc_driver
cp -R x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_driver-*.so x86_64-unknown-linux-gnu/stage1/lib
info: now are following matches for librustc_driver-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/librustc_driver-bb943c5a.so
cp x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/bin/rustc x86_64-unknown-linux-gnu/stage1/bin/rustc
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libcore-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES="x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib"; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libcore-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
warning: removing previous 'libcore-*.rlib' libraries: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/libcore/lib.rs
time: 3.182; rss: 51MB  parsing
time: 0.608; rss: 51MB  configuration 1
time: 0.000; rss: 51MB  recursion limit
time: 0.113; rss: 51MB  gated macro checking
time: 0.000; rss: 51MB  crate injection
time: 0.021; rss: 51MB  macro loading
time: 0.000; rss: 51MB  plugin loading
time: 0.000; rss: 51MB  plugin registration
time: 15.385; rss: 81MB expansion
time: 0.581; rss: 81MB  complete gated feature checking 1
time: 4.190; rss: 81MB  configuration 2
time: 0.000; rss: 81MB  gated configuration checking
time: 2.190; rss: 81MB  maybe building test harness
time: 0.000; rss: 81MB  prelude injection
time: 0.098; rss: 81MB  checking that all macro invocations are gone
time: 0.000; rss: 81MB  checking for inline asm in case the target doesn't support it
time: 0.582; rss: 81MB  complete gated feature checking 2
time: 2.125; rss: 81MB  assigning node ids
time: 0.483; rss: 116MB lowering ast -> hir
time: 5.242; rss: 128MB indexing hir
time: 0.001; rss: 128MB attribute checking
time: 0.554; rss: 128MB early lint checks
time: 0.083; rss: 128MB external crate/lib resolution
time: 0.177; rss: 128MB language item collection
time: 3.882; rss: 147MB resolution
time: 0.329; rss: 146MB lifetime resolution
time: 0.000; rss: 146MB looking for entry point
time: 0.085; rss: 146MB looking for plugin registrar
time: 1.263; rss: 156MB region resolution
time: 0.086; rss: 156MB loop checking
time: 0.087; rss: 156MB static item recursion checking
time: 4.253; rss: 174MB type collecting
time: 0.216; rss: 174MB variance inference
time: 54.978; rss: 176MB    coherence checking
time: 39.796; rss: 179MB    wf checking (old)
time: 46.695; rss: 183MB    item-types checking
time: 307.045; rss: 212MB   item-bodies checking
time: 0.001; rss: 212MB drop-impl checking
time: 68.719; rss: 212MB    wf checking (new)
time: 11.501; rss: 212MB    const checking
time: 1.178; rss: 212MB privacy checking
time: 0.223; rss: 212MB stability index
time: 1.929; rss: 212MB intrinsic checking
time: 0.193; rss: 212MB effect checking
time: 3.241; rss: 212MB match checking
time: 11.913; rss: 273MB    MIR dump
time: 1.087; rss: 273MB liveness checking
time: 28.726; rss: 275MB    borrow checking
time: 13.648; rss: 275MB    rvalue checking
time: 1.866; rss: 276MB reachability checking
time: 0.927; rss: 277MB death checking
time: 1.406; rss: 277MB stability checking
time: 0.000; rss: 277MB unused lib feature checking
time: 37.869; rss: 277MB    lint checking
time: 0.000; rss: 277MB resolving dependency formats
time: 48.860; rss: 346MB    translation
Pass Arguments:  -tti -targetlibinfo -verify
Target Transform Information
Target Library Information
  FunctionPass Manager
    Module Verifier
  time: 0.164; rss: 322MB   llvm function passes
Pass Arguments:  -tti -assumption-cache-tracker -no-aa -basiccg -inline-cost -always-inline
Target Transform Information
Assumption Cache Tracker
No Alias Analysis (always returns 'may' alias)
  ModulePass Manager
    CallGraph Construction
    Call Graph SCC Pass Manager
      Inline Cost Analysis
      Inliner for always_inline functions
  time: 0.175; rss: 322MB   llvm module passes
Pass Arguments:  -tti -targetlibinfo -targetpassconfig -no-aa -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -collector-metadata -machinemoduleinfo -atomic-expand -verify -gc-lowering -shadow-stack-gc-lowering -unreachableblockelim -rewrite-symbols -domtree -dwarfehprepare -safe-stack -stack-protector -verify -expand-isel-pseudos -localstackalloc -phi-node-elimination -twoaddressinstruction -edge-bundles -prologepilog -postrapseudos -gc-analysis -stackmap-liveness
Target Transform Information
Target Library Information
Target Pass Configuration
No Alias Analysis (always returns 'may' alias)
Type-Based Alias Analysis
Scoped NoAlias Alias Analysis
Assumption Cache Tracker
Basic Alias Analysis (stateless AA impl)
Create Garbage Collector Module Metadata
Machine Module Information
  ModulePass Manager
    FunctionPass Manager
      Expand Atomic calls in terms of either load-linked & store-conditional or cmpxchg
      Module Verifier
      Lower Garbage Collection Instructions
      Shadow Stack GC Lowering
      Remove unreachable blocks from the CFG
    Rewrite Symbols
    FunctionPass Manager
      Dominator Tree Construction
      Exception handling preparation
      Safe Stack instrumentation pass
      Insert stack protectors
      Module Verifier
      Machine Function Analysis
      X86 DAG->DAG Instruction Selection
      X86 PIC Global Base Reg Initialization
      Expand ISel Pseudo-instructions
      Local Stack Slot Allocation
      X86 Optimize Call Frame
      Eliminate PHI nodes for register allocation
      Two-Address instruction pass
      Fast Register Allocator
      Bundle Machine CFG Edges
      X86 FP Stackifier
      Prologue/Epilogue Insertion & Frame Finalization
      Post-RA pseudo instruction expansion pass
      X86 pseudo instruction expansion pass
      Analyze Machine Code For Garbage Collection
      X86 vzeroupper inserter
      StackMap Liveness Analysis
      X86 Assembly / Object Emitter
  time: 4.017; rss: 326MB   codegen passes
Pass Arguments:  -tti -targetlibinfo -targetpassconfig -no-aa -tbaa -scoped-noalias -assumption-cache-tracker -basicaa -collector-metadata -machinemoduleinfo -atomic-expand -verify -gc-lowering -shadow-stack-gc-lowering -unreachableblockelim -rewrite-symbols -domtree -dwarfehprepare -safe-stack -stack-protector -verify -expand-isel-pseudos -localstackalloc -phi-node-elimination -twoaddressinstruction -edge-bundles -prologepilog -postrapseudos -gc-analysis -stackmap-liveness
Target Transform Information
Target Library Information
Target Pass Configuration
No Alias Analysis (always returns 'may' alias)
Type-Based Alias Analysis
Scoped NoAlias Alias Analysis
Assumption Cache Tracker
Basic Alias Analysis (stateless AA impl)
Create Garbage Collector Module Metadata
Machine Module Information
  ModulePass Manager
    FunctionPass Manager
      Expand Atomic calls in terms of either load-linked & store-conditional or cmpxchg
      Module Verifier
      Lower Garbage Collection Instructions
      Shadow Stack GC Lowering
      Remove unreachable blocks from the CFG
    Rewrite Symbols
    FunctionPass Manager
      Dominator Tree Construction
      Exception handling preparation
      Safe Stack instrumentation pass
      Insert stack protectors
      Module Verifier
      Machine Function Analysis
      X86 DAG->DAG Instruction Selection
      X86 PIC Global Base Reg Initialization
      Expand ISel Pseudo-instructions
      Local Stack Slot Allocation
      X86 Optimize Call Frame
      Eliminate PHI nodes for register allocation
      Two-Address instruction pass
      Fast Register Allocator
      Bundle Machine CFG Edges
      X86 FP Stackifier
      Prologue/Epilogue Insertion & Frame Finalization
      Post-RA pseudo instruction expansion pass
      X86 pseudo instruction expansion pass
      Analyze Machine Code For Garbage Collection
      X86 vzeroupper inserter
      StackMap Liveness Analysis
      X86 Assembly / Object Emitter
  time: 0.008; rss: 326MB   codegen passes
===-------------------------------------------------------------------------===
                      Instruction Selection and Scheduling
===-------------------------------------------------------------------------===
  Total Execution Time: 0.7300 seconds (0.6431 wall clock)

   ---User Time---   --System Time--   --User+System--   ---Wall Time---  --- Name ---
   0.1567 ( 22.9%)   0.0200 ( 42.9%)   0.1767 ( 24.2%)   0.1488 ( 23.1%)  Instruction Selection
   0.1200 ( 17.6%)   0.0067 ( 14.3%)   0.1267 ( 17.4%)   0.1115 ( 17.3%)  DAG Combining 1
   0.1767 ( 25.9%)   0.0033 (  7.1%)   0.1800 ( 24.7%)   0.1046 ( 16.3%)  Instruction Scheduling
   0.0433 (  6.3%)   0.0000 (  0.0%)   0.0433 (  5.9%)   0.0674 ( 10.5%)  DAG Combining 2
   0.0533 (  7.8%)   0.0067 ( 14.3%)   0.0600 (  8.2%)   0.0582 (  9.0%)  Instruction Creation
   0.0400 (  5.9%)   0.0033 (  7.1%)   0.0433 (  5.9%)   0.0516 (  8.0%)  DAG Legalization
...
real    13m47.960s
user    14m38.980s
sys 0m4.890s

Yes this passed... Ok, I need to redo this, then rerun make after the fail, maybe it passes when ran a second time... which would be odd.

$ git clean -dfx
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --disable-optimize --disable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --disable-debuginfo-tests --disable-llvm-assertions --disable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
touch /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/llvm-auto-clean-stamp.start_time
...
...
info: now are following matches for libsyntax-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'libsyntax-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.syntax x86_64-unknown-linux-gnu/stage2/lib/stamp.syntax
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for libsyntax-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/libsyntax-bb943c5a.so
time: 1.007; rss: 40MB  parsing
time: 0.163; rss: 40MB  configuration 1
time: 0.000; rss: 40MB  recursion limit
time: 0.017; rss: 40MB  gated macro checking
time: 0.000; rss: 40MB  crate injection
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 302134 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 237112 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 217066 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 195555 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 215600 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 325111 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 200933 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 246400 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 237111 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 385244 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 220489 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 268889 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 190667 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 197022 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 202889 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 239067 }
time: 0.192; rss: 43MB  macro loading
time: 0.000; rss: 43MB  plugin loading
time: 0.000; rss: 43MB  plugin registration
time: 4.960; rss: 62MB  expansion
time: 0.225; rss: 62MB  complete gated feature checking 1
time: 0.924; rss: 62MB  configuration 2
time: 0.000; rss: 62MB  gated configuration checking
time: 0.496; rss: 62MB  maybe building test harness
time: 0.443; rss: 62MB  prelude injection
time: 0.057; rss: 62MB  checking that all macro invocations are gone
time: 0.000; rss: 62MB  checking for inline asm in case the target doesn't support it
time: 0.226; rss: 62MB  complete gated feature checking 2
time: 0.487; rss: 62MB  assigning node ids
time: 0.269; rss: 79MB  lowering ast -> hir
time: 1.101; rss: 83MB  indexing hir
time: 0.000; rss: 83MB  attribute checking
time: 0.280; rss: 83MB  early lint checks
time: 0.113; rss: 83MB  external crate/lib resolution
time: 0.100; rss: 83MB  language item collection
time: 4.076; rss: 113MB resolution
time: 0.130; rss: 113MB lifetime resolution
time: 0.000; rss: 113MB looking for entry point
time: 0.051; rss: 113MB looking for plugin registrar
time: 0.791; rss: 119MB region resolution
time: 0.049; rss: 119MB loop checking
time: 0.050; rss: 119MB static item recursion checking
time: 0.994; rss: 126MB type collecting
time: 0.117; rss: 126MB variance inference
time: 2.505; rss: 147MB coherence checking
time: 1.271; rss: 148MB wf checking (old)
time: 1.400; rss: 148MB item-types checking
time: 218.727; rss: 192MB   item-bodies checking
time: 0.001; rss: 192MB drop-impl checking
time: 6.643; rss: 192MB wf checking (new)
time: 23.116; rss: 193MB    const checking
time: 0.545; rss: 193MB privacy checking
time: 0.029; rss: 193MB stability index
time: 0.292; rss: 193MB intrinsic checking
time: 0.147; rss: 193MB effect checking
time: 1.564; rss: 193MB match checking
time: 10.327; rss: 250MB    MIR dump
time: 1.262; rss: 256MB liveness checking
time: 57.194; rss: 256MB    borrow checking
time: 37.176; rss: 256MB    rvalue checking
time: 0.231; rss: 256MB reachability checking
time: 0.536; rss: 256MB death checking
time: 0.936; rss: 256MB stability checking
time: 0.000; rss: 256MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x3511f88206c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x3511f8a6036 - panicking::log_panic::closure.39699
   3:      0x3511f8a5851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3511f877828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x3511f7dff6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x3511f7e1803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3511c873489 - metadata::decoder::crate_metadata::lookup_item::hc6bb07d3788c1eebNlo
   8:      0x3511c911e48 - metadata::decoder::get_item_path::h4fea18eb8af39f4avjp
   9:      0x3511c49c9ab - metadata::csearch::get_item_path::h4c31ad371001de24Vgs
  10:      0x3511c850e3c - middle::ty::ctxt<'tcx>::with_path::h9335003841174771323
  11:      0x3511c3f8c4e - middle::ty::ctxt<'tcx>::item_path_str::h9f9a0e1f65fa6237rFh
  12:      0x3511c3f8a2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x3511c3f894f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x3511c3f88ff - middle::ty::context::tls::with::closure.91321
  15:      0x3511c3f88b1 - thread::scoped_tls::ScopedKey<T>::with::h3388241607244058986
  16:      0x3511c3f87fd - middle::ty::context::tls::with::h1576854055909152686
  17:      0x3511c3f86d7 - middle::ty::context::tls::with_opt::h3975270630994914165
  18:      0x3511c262a29 - middle::def_id::DefId.fmt..Debug::fmt::h9380a77c8bcca5e6Rfs
  19:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x3511c475e66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::he8690a35e38e3037k8B
  22:      0x3511c47599d - fmt::_&'a T.Debug::fmt::h9871204069832299809
  23:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x3511c028231 - util::ppaux::ty..Region.fmt..Debug::fmt::h267fab552161f204saC
  26:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x3511c4a1ea7 - util::ppaux::ty..Region.fmt..Display::fmt::ha5175ea75697977akkC
  29:      0x3511ca93cbd - fmt::_&'a T.Display::fmt::h3482439631434626367
  30:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x3511bfee264 - fmt::Write::write_fmt::h13212258486848778748
  32:      0x3511ca93c0d - string::T.ToString::to_string::h10930532372612609683
  33:      0x3511ca95c15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::heab318c128e7d715tKB
  34:      0x3511caad67d - boxed::Box<T>.fmt..Display::fmt::h11790562609537591910
  35:      0x3511caad64d - fmt::_&'a T.Display::fmt::h15967930059134508810
  36:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x3511caa968a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h2427238ac1d12534sQC
  39:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x3511c02bf79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hfd6eaa4ca73b7345WgD
  42:      0x3511c02be7d - fmt::_&'a T.Display::fmt::h10640878423442315299
  43:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x3511caa7ed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h2427238ac1d12534sQC
  46:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x3511c02bf79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hfd6eaa4ca73b7345WgD
  49:      0x3511c02be7d - fmt::_&'a T.Display::fmt::h10640878423442315299
  50:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x3511ca8f81b - util::ppaux::fn_sig::haf18e4d3ce2c6b8f7eB
  53:      0x3511ca9be55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::he161373bdaca1056huC
  54:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x3511caa9173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h2427238ac1d12534sQC
  57:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x3511f9135ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x3511c02bf79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hfd6eaa4ca73b7345WgD
  60:      0x3511f0be01d - fmt::_&'a T.Display::fmt::h16256538461273382626
  61:      0x3511f970d53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x3511f8a9a74 - fmt::Write::write_fmt::h13060622517508656124
  63:      0x3511f8a992b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x3511f0bd662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x3511f0be420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x3511ca508ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::ha0c4b6df3c6dbd76FOz
  67:      0x3511ca56753 - visit::walk_expr::h9391163145995048770
  68:      0x3511ca509c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::ha0c4b6df3c6dbd76FOz
  69:      0x3511ca564ab - visit::walk_expr::h9391163145995048770
  70:      0x3511ca509c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::ha0c4b6df3c6dbd76FOz
  71:      0x3511ca5d65b - visit::walk_block::h17995189004387409405
  72:      0x3511ca57127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::h12d3424f8ec2324d81z
  73:      0x3511ca57c6b - visit::walk_fn::h3093254267512643283
  74:      0x3511ca50d36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h34afd124e5c7b149LQz
  75:      0x3511ca4f1be - visit::walk_item::h14534520424903162107
  76:      0x3511ca46d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x3511ca43504 - lint::context::LintContext::with_lint_attrs::h2349662627144328648
  78:      0x3511ca41fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h7b8235a55ee9c3e9XKz
  79:      0x3511ca5d0ac - visit::walk_mod::h1390178209529731323
  80:      0x3511ca50fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0df79d8292e92da4UZz
  81:      0x3511ca4f211 - visit::walk_item::h14534520424903162107
  82:      0x3511ca46d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x3511ca43504 - lint::context::LintContext::with_lint_attrs::h2349662627144328648
  84:      0x3511ca41fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h7b8235a55ee9c3e9XKz
  85:      0x3511ca5d0ac - visit::walk_mod::h1390178209529731323
  86:      0x3511ca50fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0df79d8292e92da4UZz
  87:      0x3511ca4f211 - visit::walk_item::h14534520424903162107
  88:      0x3511ca46d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x3511ca43504 - lint::context::LintContext::with_lint_attrs::h2349662627144328648
  90:      0x3511ca41fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h7b8235a55ee9c3e9XKz
  91:      0x3511ca5d0ac - visit::walk_mod::h1390178209529731323
  92:      0x3511ca50fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0df79d8292e92da4UZz
  93:      0x3511ca89cb5 - visit::walk_crate::h5196432013235849832
  94:      0x3511ca898e5 - lint::context::check_crate::closure.108246
  95:      0x3511ca88d74 - lint::context::LintContext::with_lint_attrs::h13084572717791510283
  96:      0x3511ca87137 - lint::context::check_crate::h7f36c39f87fdf155zPA
  97:      0x3511ff06bc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x3511ff06d8e - util::common::time::closure.23238
  99:      0x3511ff06d32 - time::duration::Duration::span::h9592294553425648252
  100:      0x3511ff065d7 - util::common::time::h10311329967984885887
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    64m14.333s
user    72m42.606s
sys 6m5.717s

Ok it failed normally, exactly what I wanted, now let's rerun just the make command:

$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose -Z verbose -Z print-link-args -Z print-llvm-passes  -Z time-passes -Z time-llvm-passes -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
time: 1.004; rss: 39MB  parsing
time: 0.162; rss: 39MB  configuration 1
time: 0.000; rss: 39MB  recursion limit
time: 0.017; rss: 39MB  gated macro checking
time: 0.000; rss: 39MB  crate injection
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 304089 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 198489 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 204356 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 270845 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 231734 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 322667 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 170133 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 246889 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 184311 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 383778 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 238577 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 367156 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 226845 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 201911 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 209245 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 233200 }
time: 0.192; rss: 42MB  macro loading
time: 0.000; rss: 42MB  plugin loading
time: 0.000; rss: 42MB  plugin registration
time: 4.988; rss: 61MB  expansion
time: 0.227; rss: 61MB  complete gated feature checking 1
time: 0.924; rss: 61MB  configuration 2
time: 0.000; rss: 61MB  gated configuration checking
time: 0.497; rss: 61MB  maybe building test harness
time: 0.444; rss: 61MB  prelude injection
time: 0.057; rss: 61MB  checking that all macro invocations are gone
time: 0.000; rss: 61MB  checking for inline asm in case the target doesn't support it
time: 0.233; rss: 61MB  complete gated feature checking 2
time: 0.485; rss: 61MB  assigning node ids
time: 0.267; rss: 79MB  lowering ast -> hir
time: 1.095; rss: 83MB  indexing hir
time: 0.000; rss: 83MB  attribute checking
time: 0.278; rss: 83MB  early lint checks
time: 0.113; rss: 83MB  external crate/lib resolution
time: 0.100; rss: 83MB  language item collection
time: 4.062; rss: 113MB resolution
time: 0.129; rss: 112MB lifetime resolution
time: 0.000; rss: 112MB looking for entry point
time: 0.051; rss: 112MB looking for plugin registrar
time: 0.789; rss: 118MB region resolution
time: 0.049; rss: 118MB loop checking
time: 0.051; rss: 118MB static item recursion checking
time: 0.993; rss: 126MB type collecting
time: 0.117; rss: 126MB variance inference
time: 2.483; rss: 146MB coherence checking
time: 1.257; rss: 147MB wf checking (old)
time: 1.382; rss: 147MB item-types checking
time: 219.372; rss: 191MB   item-bodies checking
time: 0.001; rss: 191MB drop-impl checking
time: 6.724; rss: 191MB wf checking (new)
time: 23.367; rss: 192MB    const checking
time: 0.548; rss: 192MB privacy checking
time: 0.029; rss: 192MB stability index
time: 0.292; rss: 192MB intrinsic checking
time: 0.148; rss: 192MB effect checking
time: 1.568; rss: 192MB match checking
time: 10.371; rss: 250MB    MIR dump
time: 1.268; rss: 256MB liveness checking
time: 57.333; rss: 256MB    borrow checking
time: 37.048; rss: 256MB    rvalue checking
time: 0.229; rss: 256MB reachability checking
time: 0.533; rss: 256MB death checking
time: 0.934; rss: 256MB stability checking
time: 0.000; rss: 256MB unused lib feature checking
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x378491aa06c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x378491ce036 - panicking::log_panic::closure.39699
   3:      0x378491cd851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x3784919f828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x37849107f6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x37849109803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x3784619b489 - metadata::decoder::crate_metadata::lookup_item::hc6bb07d3788c1eebNlo
   8:      0x37846239e48 - metadata::decoder::get_item_path::h4fea18eb8af39f4avjp
   9:      0x37845dc49ab - metadata::csearch::get_item_path::h4c31ad371001de24Vgs
  10:      0x37846178e3c - middle::ty::ctxt<'tcx>::with_path::h9335003841174771323
  11:      0x37845d20c4e - middle::ty::ctxt<'tcx>::item_path_str::h9f9a0e1f65fa6237rFh
  12:      0x37845d20a2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x37845d2094f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x37845d208ff - middle::ty::context::tls::with::closure.91321
  15:      0x37845d208b1 - thread::scoped_tls::ScopedKey<T>::with::h3388241607244058986
  16:      0x37845d207fd - middle::ty::context::tls::with::h1576854055909152686
  17:      0x37845d206d7 - middle::ty::context::tls::with_opt::h3975270630994914165
  18:      0x37845b8aa29 - middle::def_id::DefId.fmt..Debug::fmt::h9380a77c8bcca5e6Rfs
  19:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x37845d9de66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::he8690a35e38e3037k8B
  22:      0x37845d9d99d - fmt::_&'a T.Debug::fmt::h9871204069832299809
  23:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x37845950231 - util::ppaux::ty..Region.fmt..Debug::fmt::h267fab552161f204saC
  26:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x37845dc9ea7 - util::ppaux::ty..Region.fmt..Display::fmt::ha5175ea75697977akkC
  29:      0x378463bbcbd - fmt::_&'a T.Display::fmt::h3482439631434626367
  30:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x37845916264 - fmt::Write::write_fmt::h13212258486848778748
  32:      0x378463bbc0d - string::T.ToString::to_string::h10930532372612609683
  33:      0x378463bdc15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::heab318c128e7d715tKB
  34:      0x378463d567d - boxed::Box<T>.fmt..Display::fmt::h11790562609537591910
  35:      0x378463d564d - fmt::_&'a T.Display::fmt::h15967930059134508810
  36:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x378463d168a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h2427238ac1d12534sQC
  39:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x37845953f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hfd6eaa4ca73b7345WgD
  42:      0x37845953e7d - fmt::_&'a T.Display::fmt::h10640878423442315299
  43:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x378463cfed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h2427238ac1d12534sQC
  46:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x37845953f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hfd6eaa4ca73b7345WgD
  49:      0x37845953e7d - fmt::_&'a T.Display::fmt::h10640878423442315299
  50:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x378463b781b - util::ppaux::fn_sig::haf18e4d3ce2c6b8f7eB
  53:      0x378463c3e55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::he161373bdaca1056huC
  54:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x378463d1173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h2427238ac1d12534sQC
  57:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x3784923b5ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x37845953f79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::hfd6eaa4ca73b7345WgD
  60:      0x378489e601d - fmt::_&'a T.Display::fmt::h16256538461273382626
  61:      0x37849298d53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x378491d1a74 - fmt::Write::write_fmt::h13060622517508656124
  63:      0x378491d192b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x378489e5662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x378489e6420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x378463788ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::ha0c4b6df3c6dbd76FOz
  67:      0x3784637e753 - visit::walk_expr::h9391163145995048770
  68:      0x378463789c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::ha0c4b6df3c6dbd76FOz
  69:      0x3784637e4ab - visit::walk_expr::h9391163145995048770
  70:      0x378463789c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::ha0c4b6df3c6dbd76FOz
  71:      0x3784638565b - visit::walk_block::h17995189004387409405
  72:      0x3784637f127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::h12d3424f8ec2324d81z
  73:      0x3784637fc6b - visit::walk_fn::h3093254267512643283
  74:      0x37846378d36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::h34afd124e5c7b149LQz
  75:      0x378463771be - visit::walk_item::h14534520424903162107
  76:      0x3784636ed05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x3784636b504 - lint::context::LintContext::with_lint_attrs::h2349662627144328648
  78:      0x37846369fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h7b8235a55ee9c3e9XKz
  79:      0x378463850ac - visit::walk_mod::h1390178209529731323
  80:      0x37846378fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0df79d8292e92da4UZz
  81:      0x37846377211 - visit::walk_item::h14534520424903162107
  82:      0x3784636ed05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x3784636b504 - lint::context::LintContext::with_lint_attrs::h2349662627144328648
  84:      0x37846369fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h7b8235a55ee9c3e9XKz
  85:      0x378463850ac - visit::walk_mod::h1390178209529731323
  86:      0x37846378fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0df79d8292e92da4UZz
  87:      0x37846377211 - visit::walk_item::h14534520424903162107
  88:      0x3784636ed05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x3784636b504 - lint::context::LintContext::with_lint_attrs::h2349662627144328648
  90:      0x37846369fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::h7b8235a55ee9c3e9XKz
  91:      0x378463850ac - visit::walk_mod::h1390178209529731323
  92:      0x37846378fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h0df79d8292e92da4UZz
  93:      0x378463b1cb5 - visit::walk_crate::h5196432013235849832
  94:      0x378463b18e5 - lint::context::check_crate::closure.108246
  95:      0x378463b0d74 - lint::context::LintContext::with_lint_attrs::h13084572717791510283
  96:      0x378463af137 - lint::context::check_crate::h7f36c39f87fdf155zPA
  97:      0x3784982ebc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x3784982ed8e - util::common::time::closure.23238
  99:      0x3784982ed32 - time::duration::Duration::span::h9592294553425648252
  100:      0x3784982e5d7 - util::common::time::h10311329967984885887
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    6m28.768s
user    6m25.177s
sys 0m2.627s

Excellent!

I'll just rerun it again just because... :) (but won't repaste output; I need to know it fails a 2nd time) Good! It does. Now let's remove args. Tested the following to fail (the first one is the original command, the rest remove args as I go along): (not going to paste the ouput, no reason to, since it fails like the above)

$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args' RUST_BACKTRACE=1
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args' RUST_BACKTRACE=1
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args' RUST_BACKTRACE=1
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 'RUSTFLAGS=--verbose -Z verbose' RUST_BACKTRACE=1

(small EDIT here to move the working cmdline from above list to below list) Works:

$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 'RUSTFLAGS=--verbose' RUST_BACKTRACE=1

WOW! Really? -Z verbose is the cause?

this works:

$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 'RUSTFLAGS=--verbose' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose  -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 308489 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 193600 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 209245 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 192133 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 231245 }
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 204356 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 323156 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 201912 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 184800 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 314356 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 257644 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 294800 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 235645 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 200445 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 239555 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 230756 }
info: now are following matches for librustc_front-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.so
info: now are following matches for librustc_front-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose  -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_back/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front x86_64-unknown-linux-gnu/stage2/lib/stamp.rustc_front
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for librustc_front-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/librustc_front-bb943c5a.so
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 311422 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 191644 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 198489 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 181867 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 337823 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 186755 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 202400 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 197511 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 196044 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 336844 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 240045 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 278666 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 229778 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 195556 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 247866 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_llvm-bb943c5a.rlib" => Duration { secs: 0, nanos: 4669379 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_front-bb943c5a.rlib" => Duration { secs: 0, nanos: 284534 }
info: now are following matches for librustc_back-*.so libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.so
info: now are following matches for librustc_back-*.rlib libraries:
x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.rlib
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_back-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose  -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc/lib.rs
cp x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_back x86_64-unknown-linux-gnu/stage2/lib/stamp.rustc_back
cp -R x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-*.so x86_64-unknown-linux-gnu/stage2/lib
info: now are following matches for librustc_back-*.so libraries:
x86_64-unknown-linux-gnu/stage2/lib/librustc_back-bb943c5a.so
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 309467 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 191644 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 225378 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 235155 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 225867 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 331466 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 164756 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 202400 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 208755 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 306044 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 265466 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 248845 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 195067 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 228800 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 185777 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 250311 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarena-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarena-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libarena-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libarena-bb943c5a.rlib" => Duration { secs: 0, nanos: 293822 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libflate-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libflate-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libflate-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libflate-bb943c5a.rlib" => Duration { secs: 0, nanos: 213644 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libgetopts-bb943c5a.rlib" => Duration { secs: 0, nanos: 196533 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgraphviz-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgraphviz-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgraphviz-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libgraphviz-bb943c5a.rlib" => Duration { secs: 0, nanos: 212666 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_llvm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_llvm-bb943c5a.rlib" => Duration { secs: 0, nanos: 4839023 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_back-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_back-bb943c5a.rlib" => Duration { secs: 0, nanos: 288444 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_front-bb943c5a.rlib" => Duration { secs: 0, nanos: 193111 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_data_structures-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_data_structures-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_data_structures-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_data_structures-bb943c5a.rlib" => Duration { secs: 0, nanos: 287467 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librbml-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librbml-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librbml-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librbml-bb943c5a.rlib" => Duration { secs: 0, nanos: 263511 }
...
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 --verbose  -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_resolve/lib.rs
...
//press C-c after a while
real    32m46.757s
user    36m57.460s
sys 0m18.123s
ghost commented 8 years ago

tl;dr: confirmed make 'RUSTFLAGS=-Z verbose' is causing this issue! (regardless of ./configure flags and other make flags)

More testing required to ensure it's actually only -Z verbose and not some other arg added to that (like --verbose). It's obviously highly dependnt on the code it compiles too (I doubt I'll go that deep to find it, since I'd probably have to have some understanding of the rust language which I currently don't: I have yet to start reading the rust book)

Now that I look at rustc -Z help it all makes sense since the stacktrace includes mentions of debug(even though I've debug off in ./configure):

Available debug options:

    -Z                   verbose -- in general, enable more debug printouts
$ git clean -dfx
Removing Makefile
Removing config.mk
Removing config.stamp
Removing dist/
Removing dl/
Removing doc/
Removing src/etc/snapshot.pyc
Removing tmp/
cd ..
Removing x86_64-unknown-linux-gnu/
$ ./configure --prefix=/home/zazdxscf/build/1nonpkgs/rust/usr/local --disable-rpath --enable-manage-submodules --disable-clang --enable-ccache --enable-dist-host-only --disable-valgrind --disable-helgrind --disable-valgrind-rpass --python=/usr/bin/python2 --disable-optimize --disable-optimize-cxx --enable-optimize-llvm --disable-debug --disable-debuginfo --disable-debug-assertions --disable-debuginfo-tests --disable-llvm-assertions --disable-debug-jemalloc --disable-local-rust --release-channel=dev --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
...
$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 TIME_PASSES=1 TIME_LLVM_PASSES=1 'RUSTFLAGS=--verbose -Z verbose -Z print-link-args -Z print-llvm-passes' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
touch /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/llvm-auto-clean-stamp.start_time
...
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    63m10.302s
user    72m22.193s
sys 6m2.037s

And it failed just as I wanted, so that now I can do this (the last failing command) to ensure it still fails:

$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 'RUSTFLAGS=--verbose -Z verbose' RUST_BACKTRACE=1
...
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    6m31.235s
user    6m27.830s
sys 0m2.010s

So that I can now just remove --verbose to see if it still fails:

$ time RUST_LOG=rustc::metadata::loader make -j4 -- VERBOSE=1 'RUSTFLAGS=-Z verbose' RUST_BACKTRACE=1
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.so\' "libraries:" $MATCHES; rm $MATCHES ; fi
MATCHES=""; if [ -n "$MATCHES" ] ; then echo "warning: removing previous" \'librustc_front-*.rlib\' "libraries:" $MATCHES; rm $MATCHES ; fi
CFG_LLVM_LINKAGE_FILE=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/rt/llvmdeps.rs LD_LIBRARY_PATH=/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib:$LD_LIBRARY_PATH   x86_64-unknown-linux-gnu/stage1/bin/rustc --cfg stage1 -Z verbose  -C prefer-dynamic --target=x86_64-unknown-linux-gnu  -D warnings -L "x86_64-unknown-linux-gnu/rt" -L native="/home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/llvm/Release/lib"     --out-dir x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib -C extra-filename=-bb943c5a src/librustc_front/lib.rs
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libstd-bb943c5a.rlib" => Duration { secs: 0, nanos: 373022 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcore-bb943c5a.rlib" => Duration { secs: 0, nanos: 250311 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libcollections-bb943c5a.rlib" => Duration { secs: 0, nanos: 235645 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_unicode-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_unicode-bb943c5a.rlib" => Duration { secs: 0, nanos: 194089 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_system-bb943c5a.rlib" => Duration { secs: 0, nanos: 193600 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 339778 }
INFO:rustc::metadata::loader: Rejecting via crate name
INFO:rustc::metadata::loader: metadata mismatch
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc-bb943c5a.rlib" => Duration { secs: 0, nanos: 214133 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librand-bb943c5a.rlib" => Duration { secs: 0, nanos: 276711 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblibc-bb943c5a.rlib" => Duration { secs: 0, nanos: 206800 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_jemalloc-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liballoc_jemalloc-bb943c5a.rlib" => Duration { secs: 0, nanos: 316800 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblog-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "liblog-bb943c5a.rlib" => Duration { secs: 0, nanos: 231244 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libsyntax-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libsyntax-bb943c5a.rlib" => Duration { secs: 0, nanos: 242489 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libfmt_macros-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libfmt_macros-bb943c5a.rlib" => Duration { secs: 0, nanos: 240533 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libserialize-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libserialize-bb943c5a.rlib" => Duration { secs: 0, nanos: 206311 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.so
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libterm-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "libterm-bb943c5a.rlib" => Duration { secs: 0, nanos: 208756 }
INFO:rustc::metadata::loader: lib candidate: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: rlib reading metadata from: /home/zazdxscf/build/1nonpkgs/rust/rust/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_bitflags-bb943c5a.rlib
INFO:rustc::metadata::loader: reading "librustc_bitflags-bb943c5a.rlib" => Duration { secs: 0, nanos: 244445 }
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 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70
stack backtrace:
   1:      0x37bbfba506c - sys::backtrace::tracing::imp::write::hcf25773dd1b9b1916tt
   2:      0x37bbfbc9036 - panicking::log_panic::closure.39699
   3:      0x37bbfbc8851 - panicking::log_panic::h3b637c6b446abf43Fux
   4:      0x37bbfb9a828 - panicking::on_panic::hc25d5876b810d5819xx
   5:      0x37bbfb02f6c - sys_common::unwind::begin_unwind_inner::h0e4a96b661d9f889xls
   6:      0x37bbfb04803 - sys_common::unwind::begin_unwind_fmt::h751259f99d216129Dks
   7:      0x37bbcb96489 - metadata::decoder::crate_metadata::lookup_item::hceaab574e3d51844Nlo
   8:      0x37bbcc34e48 - metadata::decoder::get_item_path::h7653a60f4b5eaeb3vjp
   9:      0x37bbc7bf9ab - metadata::csearch::get_item_path::h4248ccc6f7dfad90Vgs
  10:      0x37bbcb73e3c - middle::ty::ctxt<'tcx>::with_path::h11802873549257002857
  11:      0x37bbc71bc4e - middle::ty::ctxt<'tcx>::item_path_str::haf189c5c4c746d49rFh
  12:      0x37bbc71ba2b - middle::def_id::DefId.fmt..Debug::fmt::closure.91325
  13:      0x37bbc71b94f - middle::ty::context::tls::with_opt::closure.91323
  14:      0x37bbc71b8ff - middle::ty::context::tls::with::closure.91321
  15:      0x37bbc71b8b1 - thread::scoped_tls::ScopedKey<T>::with::h8755583549864709264
  16:      0x37bbc71b7fd - middle::ty::context::tls::with::h17277110619345102466
  17:      0x37bbc71b6d7 - middle::ty::context::tls::with_opt::h2247635784626063578
  18:      0x37bbc585a29 - middle::def_id::DefId.fmt..Debug::fmt::h9d21b5ba45368ca7Rfs
  19:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  20:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  21:      0x37bbc798e66 - util::ppaux::ty..BoundRegion.fmt..Debug::fmt::h9ead88964c7d3a6fk8B
  22:      0x37bbc79899d - fmt::_&'a T.Debug::fmt::h7893538456906839292
  23:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  24:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  25:      0x37bbc34b231 - util::ppaux::ty..Region.fmt..Debug::fmt::hf38e0208c656ffc1saC
  26:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  27:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  28:      0x37bbc7c4ea7 - util::ppaux::ty..Region.fmt..Display::fmt::h0ac6505701ba5076kkC
  29:      0x37bbcdb6cbd - fmt::_&'a T.Display::fmt::h13636915514064095164
  30:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  31:      0x37bbc311264 - fmt::Write::write_fmt::h12489643933446496354
  32:      0x37bbcdb6c0d - string::T.ToString::to_string::h13681150471017236373
  33:      0x37bbcdb8c15 - util::ppaux::ty..TraitTy<'tcx>.fmt..Display::fmt::hb37e6936c4f0d91dtKB
  34:      0x37bbcdd067d - boxed::Box<T>.fmt..Display::fmt::h8797919735308429487
  35:      0x37bbcdd064d - fmt::_&'a T.Display::fmt::h6108614467168194740
  36:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  37:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  38:      0x37bbcdcc68a - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0c81dd8a70e315f6sQC
  39:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  40:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  41:      0x37bbc34ef79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h81f4670088062beaWgD
  42:      0x37bbc34ee7d - fmt::_&'a T.Display::fmt::h5052431531228383809
  43:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  44:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  45:      0x37bbcdcaed2 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0c81dd8a70e315f6sQC
  46:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  47:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  48:      0x37bbc34ef79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h81f4670088062beaWgD
  49:      0x37bbc34ee7d - fmt::_&'a T.Display::fmt::h5052431531228383809
  50:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  51:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  52:      0x37bbcdb281b - util::ppaux::fn_sig::h11338447830479f77eB
  53:      0x37bbcdbee55 - util::ppaux::ty..FnSig<'tcx>.fmt..Display::fmt::hc19bfeb46dd94738huC
  54:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  55:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  56:      0x37bbcdcc173 - util::ppaux::ty..TypeVariants<'tcx>.fmt..Display::fmt::h0c81dd8a70e315f6sQC
  57:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  58:      0x37bbfc365ff - fmt::Formatter<'a>::write_fmt::hc619a91f18c6dbc1MsV
  59:      0x37bbc34ef79 - util::ppaux::ty..TyS<'tcx>.fmt..Display::fmt::h81f4670088062beaWgD
  60:      0x37bbf3e101d - fmt::_&'a T.Display::fmt::h12512797739877677854
  61:      0x37bbfc93d53 - fmt::write::h4c1f14d6ead6957fW5U
  62:      0x37bbfbcca74 - fmt::Write::write_fmt::h16219922215161971288
  63:      0x37bbfbcc92b - fmt::format::hdd6e6b41627bc4c0b6d
  64:      0x37bbf3e0662 - builtin::BoxPointers::check_heap_type::h1e674186eb19a6b9JIa
  65:      0x37bbf3e1420 - builtin::BoxPointers.LateLintPass::check_expr::hd56fae423a4daa98XLa
  66:      0x37bbcd738ed - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h0b3412db14ae7ae2FOz
  67:      0x37bbcd79753 - visit::walk_expr::h17228878623890741144
  68:      0x37bbcd739c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h0b3412db14ae7ae2FOz
  69:      0x37bbcd794ab - visit::walk_expr::h17228878623890741144
  70:      0x37bbcd739c7 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_expr::h0b3412db14ae7ae2FOz
  71:      0x37bbcd8065b - visit::walk_block::h15485943839253648361
  72:      0x37bbcd7a127 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_block::h0376f125fa46642d81z
  73:      0x37bbcd7ac6b - visit::walk_fn::h478676160674048928
  74:      0x37bbcd73d36 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_fn::hc2cc9a31c418dc01LQz
  75:      0x37bbcd721be - visit::walk_item::h8246449456039621649
  76:      0x37bbcd69d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  77:      0x37bbcd66504 - lint::context::LintContext::with_lint_attrs::h3842921709177915828
  78:      0x37bbcd64fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::hc46558438a52fd0dXKz
  79:      0x37bbcd800ac - visit::walk_mod::h13562637026557672212
  80:      0x37bbcd73fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h4e3d6dd14cb39fe2UZz
  81:      0x37bbcd72211 - visit::walk_item::h8246449456039621649
  82:      0x37bbcd69d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  83:      0x37bbcd66504 - lint::context::LintContext::with_lint_attrs::h3842921709177915828
  84:      0x37bbcd64fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::hc46558438a52fd0dXKz
  85:      0x37bbcd800ac - visit::walk_mod::h13562637026557672212
  86:      0x37bbcd73fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h4e3d6dd14cb39fe2UZz
  87:      0x37bbcd72211 - visit::walk_item::h8246449456039621649
  88:      0x37bbcd69d05 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::closure.108164
  89:      0x37bbcd66504 - lint::context::LintContext::with_lint_attrs::h3842921709177915828
  90:      0x37bbcd64fd0 - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_item::hc46558438a52fd0dXKz
  91:      0x37bbcd800ac - visit::walk_mod::h13562637026557672212
  92:      0x37bbcd73fdc - lint::context::LateContext<'a, 'tcx>.hir_visit..Visitor<'v>::visit_mod::h4e3d6dd14cb39fe2UZz
  93:      0x37bbcdaccb5 - visit::walk_crate::h15877291248654138526
  94:      0x37bbcdac8e5 - lint::context::check_crate::closure.108246
  95:      0x37bbcdabd74 - lint::context::LintContext::with_lint_attrs::h488990810979617694
  96:      0x37bbcdaa137 - lint::context::check_crate::h2dc0186798c698d5zPA
  97:      0x37bc0229bc6 - driver::phase_3_run_analysis_passes::closure.23233
  98:      0x37bc022955b - util::common::time::h16580670055439290156
  99:      0x37bc01ed08a - driver::phase_3_run_analysis_passes::closure.21934
  100:      0x37bc01ec8de - middle::ty::context::tls::enter::closure.21926
 ... <frames omitted>

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    6m27.951s
user    6m25.050s
sys 0m2.027s

and one more for kicks:

$ unset RUST_BACKTRACE
//I actually had that set in .bashrc so if any of the above show stacktrace when they shouldn't, that's why.
$ time make 'RUSTFLAGS=-Z verbose'
cfg: version 1.5.0-dev (9a855668f 2015-10-23)
cfg: build triple x86_64-unknown-linux-gnu
cfg: host triples x86_64-unknown-linux-gnu
cfg: target triples x86_64-unknown-linux-gnu
cfg: disabling rustc optimization (CFG_DISABLE_OPTIMIZE)
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: os for x86_64-unknown-linux-gnu is unknown-linux-gnu
cfg: disabling C++ optimization (CFG_DISABLE_OPTIMIZE_CXX)
cfg: good valgrind for x86_64-unknown-linux-gnu is 1
cfg: using CC=ccache gcc (CFG_CC)
cfg: disabling valgrind run-pass tests
rustc: x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_front
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: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'lookup_item: id not found: DefIndex(25591)', src/librustc/metadata/decoder.rs:70

/home/zazdxscf/build/1nonpkgs/rust/rust/mk/target.mk:164: recipe for target 'x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front' failed
make: *** [x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib/stamp.rustc_front] Error 101

real    4m53.172s
user    4m51.250s
sys 0m1.647s

I

ghost commented 5 years ago

I think this can be closed, as per this reasoning: https://github.com/rust-lang/rust/issues/29271#issuecomment-279102486 and https://github.com/rust-lang/rust/issues/29270#issuecomment-279102458

I'm not hitting an ICE anymore but I am hitting some linker errors which are being tracker in https://github.com/rust-lang/rust/issues/57596

However, if someone wants me to test if this is issue is still true, please suggest how to set RUSTFLAGS? or rather, `-Z verbose` when building `rustc`. According to [docs](https://doc.rust-lang.org/cargo/reference/environment-variables.html): > RUSTFLAGS — A space-separated list of custom flags to pass to all compiler invocations that Cargo performs. In contrast with cargo rustc, this is useful for passing a flag to all compiler instances. Now I wonder if `-Z verbose` and `-Zverbose` are equivalent. So then I don't have to pass it somehow to the `x.py` script(like it used to be passed to `make`), I can just export it prior to running `x.py`, right? Doing so right now: compiling rustc. eg. ``` export RUSTFLAGS="-Z verbose" python2 ./x.py build --incremental -j 5 python2 ./x.py install --incremental -j 5 ``` It looks like it has no effect on the output! (but exporting it or not does cause a rebuild!) and this `python2 ./x.py build 'RUSTFLAGS=-Z verbose' --incremental -j 5` will fail with `thread 'main' panicked at 'Error: no rules matched RUSTFLAGS=-Z verbose.', src/bootstrap/builder.rs:229:21` According to `./x.py build -h` maybe I should try this instead `./x.py build -vv` (for very verbose) Given the above I'm trying this: ``` export RUSTFLAGS="-Z verbose" python2 ./x.py build -vv --incremental -j 5 python2 ./x.py install -vv --incremental -j 5 ``` The `-vv` probably doesn't do what `-Z verbose` would do? I'm unsure. I'll make another post if the issue is still true, otherwise I'm just gonna edit this one with the result. Maybe the issue can be closed in advance? Well, there's an unrelated [error](https://github.com/rust-lang/rust/issues/57596) but no ICEs sao far. The good news is that I can see `-Z verbose` and `"-Z" "verbose"` being used(and it's only due to `RUSTFLAGS` being set, not `-vv` and not `verbose=2` in `config.toml`): ``` /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust $ ./go ~/build/2nonpkgs/rust.stuff/rust/rust ~/build/2nonpkgs/rust.stuff/rust ./go:47+ set -xev export RUSTFLAGS="-Z verbose" ./go:48+ export 'RUSTFLAGS=-Z verbose' ./go:48+ RUSTFLAGS='-Z verbose' time PATH="${HOME}/build/1packages/4used/chro/4_chromium-dev-git/makepkg_pacman/chromium-dev/src/python-path/:${PATH}" python2 ./x.py build -vv --incremental -j 5 ./go:49+ PATH=/home/xftroxgpx/build/1packages/4used/chro/4_chromium-dev-git/makepkg_pacman/chromium-dev/src/python-path/:/opt/google-cloud-sdk/bin:/opt/google-cloud-sdk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/depot_tools:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/xftroxgpx/bin:/home/xftroxgpx/build/2nonpkgs/rust.stuff/racer/target/release:/home/xftroxgpx/build/2nonpkgs/rust.stuff/chars/target/debug:/home/xftroxgpx/build/2nonpkgs/rust.stuff/chars/target/release:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rustfmt/target/release:/home/xftroxgpx/.cargo/bin:/opt/depot_tools:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/xftroxgpx/bin:/home/xftroxgpx/build/2nonpkgs/rust.stuff/racer/target/release:/home/xftroxgpx/build/2nonpkgs/rust.stuff/chars/target/debug:/home/xftroxgpx/build/2nonpkgs/rust.stuff/chars/target/release:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rustfmt/target/release:/home/xftroxgpx/.cargo/bin ./go:49+ python2 ./x.py build -vv --incremental -j 5 Updating only changed submodules Submodules updated in 0.09 seconds running: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo build --manifest-path /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/bootstrap/Cargo.toml --verbose Fresh unicode-xid v0.1.0 Fresh itoa v0.4.3 Fresh ordermap v0.3.5 Fresh cfg-if v0.1.6 Fresh fixedbitset v0.1.9 Fresh cc v1.0.25 Fresh getopts v0.2.17 Fresh lazy_static v0.2.11 Fresh build_helper v0.1.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/build_helper) Fresh petgraph v0.4.13 Fresh cmake v0.1.33 Fresh proc-macro2 v0.4.24 Fresh libc v0.2.46 Fresh serde v1.0.82 Fresh ryu v0.2.7 Fresh quote v0.6.10 Fresh filetime v0.2.4 Fresh num_cpus v1.8.0 Fresh time v0.1.40 Fresh toml v0.4.10 Fresh serde_json v1.0.33 Fresh syn v0.15.22 Fresh serde_derive v1.0.81 Fresh bootstrap v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/bootstrap) Finished dev [unoptimized] target(s) in 0.88s running: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/bootstrap/debug/bootstrap build -vv --incremental -j 5 finding compilers CC_x86_64-unknown-linux-gnu = "cc" CFLAGS_x86_64-unknown-linux-gnu = ["-ffunction-sections", "-fdata-sections", "-fPIC", "-m64"] AR_x86_64-unknown-linux-gnu = "ar" CXX_x86_64-unknown-linux-gnu = "c++" running sanity check learning about cargo > Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } < Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > StartupObjects { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < StartupObjects { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } > Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } < Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > StdLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } > Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } < Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < StdLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > TestLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < TestLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > RustcLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < RustcLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > CodegenBackend { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } c Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Llvm { target: "x86_64-unknown-linux-gnu", emscripten: false } < Llvm { target: "x86_64-unknown-linux-gnu", emscripten: false } < CodegenBackend { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } > Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } < Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } > Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } < Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } < Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > StartupObjects { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < StartupObjects { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > StdLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } < StdLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > TestLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } < TestLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > RustcLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } < RustcLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > CodegenBackend { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } c Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Llvm { target: "x86_64-unknown-linux-gnu", emscripten: false } < CodegenBackend { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } > Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } > Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > StartupObjects { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < StartupObjects { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > StdLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < StdLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > TestLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < TestLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > RustcLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < RustcLink { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > CodegenBackend { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } c Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c CodegenBackend { compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } < CodegenBackend { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu", backend: "llvm" } > Rustdoc { host: "x86_64-unknown-linux-gnu" } c Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } < Rustdoc { host: "x86_64-unknown-linux-gnu" } > Assemble { target_compiler: Compiler { stage: 2, host: "x86_64-unknown-linux-gnu" } } > Assemble { target_compiler: Compiler { stage: 1, host: "x86_64-unknown-linux-gnu" } } > Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } < Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Rustc { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > StartupObjects { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < StartupObjects { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } > Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } < Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) running: "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "5" "-v" "--release" "--features" "panic-unwind backtrace" "--manifest-path" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libstd/Cargo.toml" "--message-format" "json" Fresh cc v1.0.25 Fresh core v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libcore) Fresh build_helper v0.1.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/build_helper) Fresh cmake v0.1.33 Fresh rustc-std-workspace-core v1.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/tools/rustc-std-workspace-core) Fresh libc v0.2.46 Fresh compiler_builtins v0.1.4 Fresh alloc v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/liballoc) Fresh panic_abort v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libpanic_abort) Fresh rustc-demangle v0.1.10 Fresh unwind v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libunwind) Fresh backtrace-sys v0.1.27 Fresh rustc_asan v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_asan) Fresh rustc_msan v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_msan) Fresh rustc_tsan v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_tsan) Fresh rustc_lsan v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_lsan) Fresh panic_unwind v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libpanic_unwind) Fresh std v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libstd) Finished release [optimized] target(s) in 0.95s not updating "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-std/x86_64-unknown-linux-gnu/release/.libstd.stamp"; contents equal and SystemTime { tv_sec: 1547427671, tv_nsec: 866313844 } <= SystemTime { tv_sec: 1547427672, tv_nsec: 17311946 } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > StdLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) > Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } < Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < StdLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } [TIMING] Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } -- 1.015 < Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } Building stage0 test artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) running: "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "5" "-v" "--release" "--manifest-path" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libtest/Cargo.toml" "--message-format" "json" Fresh getopts v0.2.17 Fresh term v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libterm) Fresh proc_macro v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libproc_macro) Fresh test v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libtest) Finished release [optimized] target(s) in 0.68s not updating "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-test/x86_64-unknown-linux-gnu/release/.libtest.stamp"; contents equal and SystemTime { tv_sec: 1547427695, tv_nsec: 912011549 } <= SystemTime { tv_sec: 1547427695, tv_nsec: 964010895 } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } > TestLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } Copying stage0 test from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Libdir { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } < TestLink { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" }, target: "x86_64-unknown-linux-gnu" } [TIMING] Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } -- 0.744 < Test { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Assemble { target_compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Std { target: "x86_64-unknown-linux-gnu", compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } c Sysroot { compiler: Compiler { stage: 0, host: "x86_64-unknown-linux-gnu" } } Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) running: "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "5" "-v" "--release" "--features" "" "--manifest-path" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/rustc/Cargo.toml" "--message-format" "json" Fresh nodrop v0.1.12 Fresh cfg-if v0.1.6 Fresh scopeguard v0.3.3 Fresh rand_core v0.3.0 Fresh lazy_static v1.2.0 Fresh void v1.0.2 Fresh memoffset v0.2.1 Fresh stable_deref_trait v1.1.0 Fresh semver-parser v0.7.0 Fresh unicode-width v0.1.5 Fresh bitflags v1.0.4 Fresh either v1.5.0 Fresh byteorder v1.2.7 Fresh graphviz v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libgraphviz) Fresh scoped-tls v0.1.2 Fresh termcolor v1.0.4 Fresh lazy_static v0.2.11 Fresh rustc-demangle v0.1.10 Fresh datafrog v2.0.1 Fresh remove_dir_all v0.5.1 Fresh fmt_macros v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libfmt_macros) Fresh rustc_fs_util v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_fs_util) Fresh rustc-serialize v0.3.24 Fresh rustc_platform_intrinsics v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_platform_intrinsics) Fresh quick-error v1.2.2 Fresh cc v1.0.25 Fresh arrayvec v0.4.7 Fresh crossbeam-utils v0.2.2 Fresh log v0.4.6 Fresh rand_core v0.2.2 Fresh rand_xorshift v0.1.0 Fresh rand_isaac v0.1.1 Fresh rand_hc v0.1.0 Fresh log_settings v0.1.2 Fresh unreachable v1.0.0 Fresh owning_ref v0.3.3 Fresh semver v0.9.0 Fresh rustc-hash v1.0.1 Fresh chalk-macros v0.1.0 Fresh rls-span v0.4.0 Fresh humantime v1.2.0 Fresh libc v0.2.46 Fresh crossbeam-epoch v0.3.1 Fresh rustc_cratesio_shim v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_cratesio_shim) Fresh ena v0.11.0 Fresh smallvec v0.6.7 Fresh lock_api v0.1.3 Fresh rustc_version v0.2.3 Fresh polonius-engine v0.6.2 Fresh crc32fast v1.1.2 Fresh chalk-engine v0.9.0 Fresh rls-data v0.18.1 Fresh num_cpus v1.8.0 Fresh rand v0.5.5 Fresh rand v0.4.3 Fresh atty v0.2.11 Fresh jobserver v0.1.12 Fresh memmap v0.6.2 Fresh crossbeam-deque v0.2.0 Fresh serialize v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libserialize) Fresh rustc_apfloat v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_apfloat) Fresh miniz-sys v0.1.11 Fresh backtrace-sys v0.1.27 Fresh parking_lot_core v0.3.0 Fresh env_logger v0.5.13 Fresh rustc-rayon-core v0.1.1 Fresh flate2 v1.0.6 Fresh backtrace v0.3.11 Fresh parking_lot v0.6.4 Fresh rustc-rayon v0.1.1 Fresh rand_chacha v0.1.0 Fresh rand_pcg v0.1.1 Fresh rustc_data_structures v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_data_structures) Fresh rand v0.6.1 Fresh arena v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libarena) Fresh rustc_target v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_target) Fresh tempfile v3.0.5 Fresh syntax_pos v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libsyntax_pos) Fresh rustc_errors v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_errors) Fresh syntax v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libsyntax) Fresh rustc v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc) Fresh syntax_ext v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/libsyntax_ext) Fresh rustc_mir v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_mir) Fresh rustc_incremental v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_incremental) Fresh rustc_typeck v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_typeck) Fresh rustc_lint v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_lint) Fresh rustc_traits v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_traits) Fresh rustc_allocator v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_allocator) Fresh rustc_metadata v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_metadata) Fresh rustc_passes v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_passes) Fresh rustc_borrowck v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_borrowck) Fresh rustc_privacy v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_privacy) Fresh rustc_codegen_utils v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_codegen_utils) Fresh rustc_resolve v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_resolve) Fresh rustc_plugin v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_plugin) Fresh rustc_save_analysis v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_save_analysis) Fresh rustc_codegen_ssa v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_codegen_ssa) Fresh rustc_driver v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/librustc_driver) Compiling rustc-main v0.0.0 (/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/rustc) Running `/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/bootstrap/debug/rustc --edition=2018 --crate-name rustc_binary src/rustc/rustc.rs --color always --error-format json --crate-type bin --emit=dep-info,link -C opt-level=2 -C metadata=86cfcdb180ca1244 -C extra-filename=-86cfcdb180ca1244 --out-dir /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C incremental=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/incremental -L dependency=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps --extern rustc_codegen_ssa=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_codegen_ssa-f68b88a15d5f6923.so --extern rustc_driver=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so --extern rustc_target=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-9a73c2e4a0117f6a.so -Z verbose -L native=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-64431815b1652f33/out -L native=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-5c1d73718543201d/out` rustc command: "LD_LIBRARY_PATH"="/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/lib:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/xftroxgpx/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib:/home/xftroxgpx/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib:" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/rustc" "--edition=2018" "--crate-name" "rustc_binary" "src/rustc/rustc.rs" "--color" "always" "--crate-type" "bin" "--emit=dep-info,link" "-C" "opt-level=2" "-C" "metadata=86cfcdb180ca1244-rustc" "-C" "extra-filename=-86cfcdb180ca1244" "--out-dir" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "--target" "x86_64-unknown-linux-gnu" "-C" "incremental=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/incremental" "-L" "dependency=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-L" "dependency=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps" "--extern" "rustc_codegen_ssa=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_codegen_ssa-f68b88a15d5f6923.so" "--extern" "rustc_driver=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so" "--extern" "rustc_target=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-9a73c2e4a0117f6a.so" "-Z" "verbose" "-L" "native=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-64431815b1652f33/out" "-L" "native=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-5c1d73718543201d/out" "--cfg" "stage0" "--sysroot" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot" "-Cprefer-dynamic" "-C" "debug-assertions=y" "-C" "codegen-units=1" "-C" "link-args=-Wl,-rpath,$ORIGIN/../lib" "-Z" "force-unstable-if-unmarked" "--cfg" "parallel_queries" "-Dwarnings" "-Dbare_trait_objects" sysroot: "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot" libdir: "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib" error: linking with `cc` failed: exit code: 1 | = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_binary-86cfcdb180ca1244.4bhpffqk3funqhcw.rcgu.o" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_binary-86cfcdb180ca1244.4bnnlzdzsdhovhb8.rcgu.o" "-o" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/rustc_binary-86cfcdb180ca1244" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-Wl,-O1" "-nodefaultlibs" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-64431815b1652f33/out" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-5c1d73718543201d/out" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_driver-d94f0ceba3b5a89b" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_traits-a8773236c481a551" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_save_analysis-6202b8eecfed4af5" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_codegen_utils-ec8e74a195ef7344" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_resolve-d37bfd4921b228a0" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_incremental-de7c86489cd1b79b" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_privacy-b85faedc4ff48bd9" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_typeck-c4ad385f41519a05" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_platform_intrinsics-e62e309067db2736" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_plugin-d84f7948491fa69e" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_metadata-7a8d618be3637136" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lsyntax_ext-e59e3e461f4fb265" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_lint-bd52473efcc64668" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_passes-2ee491130475de2d" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_borrowck-03642d0ef468a1c2" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_mir-354544bfbcea27fc" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_allocator-a3c03bbba7fe7cc7" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc-282236f4f1f46ca9" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-ltest-f3467d7206e00635" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lterm-191793eb2af4b9c0" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_fs_util-c9dfb87f256b1ada" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lsyntax-a744286dd2425515" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_errors-e7d774cc7807d9b2" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lsyntax_pos-936239c3e5bfd9ca" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_target-9a73c2e4a0117f6a" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lfmt_macros-724be23d12ec6248" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-larena-4ae1c3a2423060a6" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_data_structures-7c6c775edbed4c1f" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lrustc_cratesio_shim-6fe5b72986d6800e" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lgraphviz-a2d84108033452cc" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps" "-lserialize-44f98e624dadc81a" "-Wl,--start-group" "-L" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lstd-6d610542ea1eb444" "-Wl,--end-group" "-Wl,-Bstatic" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d261cb8259a57d68.rlib" "-Wl,-Bdynamic" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-Wl,-rpath,$ORIGIN/../lib" = note: /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to `<(dyn core::any::Any + core::marker::Send + ReStatic) as core::fmt::Debug>::fmt' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-282236f4f1f46ca9.so: undefined reference to `>::eq' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_cratesio_shim-6fe5b72986d6800e.so: undefined reference to ` as core::iter_private::TrustedRandomAccess>::may_have_side_effect' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to `>::add' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-e7d774cc7807d9b2.so: undefined reference to ` as std::io::Write>::write' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to ` as core::convert::From<&ReEarlyBound(0, 'a) str>>::from' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to `>::sub' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-9a73c2e4a0117f6a.so: undefined reference to ` as core::iter::iterator::Iterator>::next' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-6202b8eecfed4af5.so: undefined reference to `>::eq' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to `>::eq' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-282236f4f1f46ca9.so: undefined reference to `<&ReEarlyBound(0, 'a) std::fs::File as std::io::Write>::write' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_cratesio_shim-6fe5b72986d6800e.so: undefined reference to ` as core::iter_private::TrustedRandomAccess>::get_unchecked' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_typeck-c4ad385f41519a05.so: undefined reference to `<&ReEarlyBound(1, 'b) alloc::string::String as core::str::pattern::Pattern>::into_searcher' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to ` as core::ops::drop::Drop>::drop' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsyntax_pos-936239c3e5bfd9ca.so: undefined reference to ` as core::ops::drop::Drop>::drop' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_incremental-de7c86489cd1b79b.so: undefined reference to `>::eq' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-282236f4f1f46ca9.so: undefined reference to `<&ReEarlyBound(0, 'a) std::fs::File as std::io::Read>::read' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-6d610542ea1eb444.so: undefined reference to ` as core::fmt::Display>::fmt' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to `std::error:: for alloc::boxed::Box<(dyn std::error::Error + core::marker::Sync + core::marker::Send + ReEarlyBound(0, 'a))>>::from' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-6202b8eecfed4af5.so: undefined reference to `>>::from' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_incremental-de7c86489cd1b79b.so: undefined reference to `>::partial_cmp' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-282236f4f1f46ca9.so: undefined reference to ` as std::io::Write>::write' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-282236f4f1f46ca9.so: undefined reference to `std::error:: for alloc::boxed::Box<(dyn std::error::Error + ReStatic)>>::from' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-6202b8eecfed4af5.so: undefined reference to `>::partial_cmp' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-6202b8eecfed4af5.so: undefined reference to ` as core::iter::iterator::Iterator>::next' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-f3467d7206e00635.so: undefined reference to `>::sub' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_save_analysis-6202b8eecfed4af5.so: undefined reference to `>::eq' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_codegen_utils-ec8e74a195ef7344.so: undefined reference to `<(dyn core::any::Any + ReStatic) as core::fmt::Debug>::fmt' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc-282236f4f1f46ca9.so: undefined reference to `>::partial_cmp' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to `std::error:: for alloc::boxed::Box<(dyn std::error::Error + core::marker::Sync + core::marker::Send + ReStatic)>>::from' /usr/bin/ld: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so: undefined reference to ` as core::fmt::Display>::fmt' collect2: error: ld returned 1 exit status error: aborting due to previous error [RUSTC-TIMING] rustc_binary test:false 1.081 error: Could not compile `rustc-main`. Caused by: process didn't exit successfully: `/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/bootstrap/debug/rustc --edition=2018 --crate-name rustc_binary src/rustc/rustc.rs --color always --error-format json --crate-type bin --emit=dep-info,link -C opt-level=2 -C metadata=86cfcdb180ca1244 -C extra-filename=-86cfcdb180ca1244 --out-dir /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps --target x86_64-unknown-linux-gnu -C incremental=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/incremental -L dependency=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps --extern rustc_codegen_ssa=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_codegen_ssa-f68b88a15d5f6923.so --extern rustc_driver=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_driver-d94f0ceba3b5a89b.so --extern rustc_target=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-9a73c2e4a0117f6a.so -Z verbose -L native=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/backtrace-sys-64431815b1652f33/out -L native=/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/miniz-sys-5c1d73718543201d/out` (exit code: 1) command did not execute successfully: "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/x86_64-unknown-linux-gnu/stage0/bin/cargo" "build" "--target" "x86_64-unknown-linux-gnu" "-j" "5" "-v" "--release" "--features" "" "--manifest-path" "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/rustc/Cargo.toml" "--message-format" "json" expected success, got: exit code: 101 Traceback (most recent call last): File "./x.py", line 11, in bootstrap.main() File "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/bootstrap/bootstrap.py", line 843, in main bootstrap(help_triggered) File "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/bootstrap/bootstrap.py", line 829, in bootstrap run(args, env=env, verbose=build.verbose) File "/home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/src/bootstrap/bootstrap.py", line 141, in run raise RuntimeError(err) RuntimeError: failed to run: /home/xftroxgpx/build/2nonpkgs/rust.stuff/rust/rust/build/bootstrap/debug/bootstrap build -vv --incremental -j 5 real 0m14.517s user 0m12.624s sys 0m1.256s ```
camelid commented 3 years ago

The author seems to think this can be closed: @Mark-Simulacrum should I close it?

lcnr commented 3 years ago

I don't think there is much we can do here. If we encounter a similar ICE in the future we can open a new issue for that