Repository: rust
Issue: ICE running `x.py doc`
Labels: I-ICE,T-compiler,A-incr-comp,C-bug

<!--
Thank you for finding an Internal Compiler Error! 🧊  If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.

http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/

-->

I'm not sure this is actually considered a bug, as it happened while running `./x.py doc` in the rust repo. It started working after running `./x.py clean`, so maybe there were something left in the cache from an earlier version of the compiler. 

### Code

I did not change any code in the compiler, and it happened after pulling, and updating all submodules.

### Meta
<!--
If you're using the stable version of the compiler, you should also check if the
bug also exists in the beta or nightly versions.
-->

`rustc --version --verbose`:

I'm not sure how to do this as it is the bootstrap(?) version I'm running

I've put all of the relevant compiler output in the backtrace summary, including the backtrace, and the query backtrace.

<!--
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
environment. E.g. `RUST_BACKTRACE=1 cargo build`.
-->
<details><summary><strong>Backtrace</strong></summary>
<p>

```
thread 'rustc' panicked at 'no entry found for key', compiler/rustc_metadata/src/rmeta/decoder/cstore_impl.rs:632:9
stack backtrace:
   0: rust_begin_unwind
             at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:584:5
   1: core::panicking::panic_fmt
             at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:142:14
   2: core::panicking::panic_display
             at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:72:5
   3: core::panicking::panic_str
             at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:56:5
   4: core::option::expect_failed
             at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/option.rs:1874:5
   5: <rustc_metadata::creader::CStore as rustc_session::cstore::CrateStore>::stable_crate_id_to_crate_num
   6: <rustc_span::span_encoding::Span as rustc_serialize::serialize::Decodable<rustc_query_impl::on_disk_cache::CacheDecoder>>::decode
   7: <rustc_query_impl::on_disk_cache::OnDiskCache>::try_load_query_result::<rustc_middle::ty::generics::GenericPredicates>
   8: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::predicates_of, rustc_query_impl::plumbing::QueryCtxt>
   9: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::predicates_of
  10: <rustc_privacy::ReachEverythingInTheInterfaceVisitor>::predicates
  11: <rustc_privacy::EmbargoVisitor as rustc_hir::intravisit::Visitor>::visit_item
  12: <rustc_privacy::EmbargoVisitor as rustc_hir::intravisit::Visitor>::visit_item
  13: rustc_privacy::privacy_access_levels
  14: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (), &rustc_middle::middle::privacy::AccessLevels>
  15: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), &rustc_middle::middle::privacy::AccessLevels>>
  16: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::privacy_access_levels, rustc_query_impl::plumbing::QueryCtxt>
  17: rustc_passes::stability::check_unused_or_stable_features
  18: <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#0}::{closure#2}::{closure#0}>
  19: <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#0}>
  20: rustc_interface::passes::analysis
  21: <rustc_query_system::dep_graph::graph::DepGraph<rustc_middle::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle::ty::context::TyCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  22: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), core::result::Result<(), rustc_errors::ErrorGuaranteed>>>
  23: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::analysis, rustc_query_impl::plumbing::QueryCtxt>
  24: <rustc_interface::passes::QueryContext>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
  25: <rustc_interface::interface::Compiler>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}, core::result::Result<core::option::Option<rustc_interface::queries::Linker>, rustc_errors::ErrorGuaranteed>>
  26: rustc_span::with_source_map::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_interface::interface::create_compiler_and_run<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#1}>
  27: <scoped_tls::ScopedKey<rustc_span::SessionGlobals>>::set::<rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.63.0-beta.2 (6c1f14289 2022-06-28) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -C incremental -C symbol-mangling-version=v0 -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -Z unstable-options -C split-debuginfo=off -Z tls-model=initial-exec -Z unstable-options -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
thread 'rustc' panicked at 'Illegal read of: 68167', /rustc/6c1f1428998a08864495bb599840a5997ec175f4/compiler/rustc_query_system/src/dep_graph/graph.rs:436:25
stack backtrace:
   0:     0x7f3cfbe9e1ad - std::backtrace_rs::backtrace::libunwind::trace::hd39436cf2637fe8e
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f3cfbe9e1ad - std::backtrace_rs::backtrace::trace_unsynchronized::h335fdfe2725ee7a4
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f3cfbe9e1ad - std::sys_common::backtrace::_print_fmt::h5c9fc027b63f8c04
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x7f3cfbe9e1ad - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7872720990c73bfd
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x7f3cfbef9f9c - core::fmt::write::h81ffafe73d2c897d
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/fmt/mod.rs:1197:17
   5:     0x7f3cfbe8f8c1 - std::io::Write::write_fmt::h620cba01b90c63e4
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/io/mod.rs:1672:15
   6:     0x7f3cfbea0e75 - std::sys_common::backtrace::_print::h38cfabcde28269ad
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x7f3cfbea0e75 - std::sys_common::backtrace::print::hdc3357495d7f03de
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x7f3cfbea0e75 - std::panicking::default_hook::{{closure}}::hbcbed9087405d990
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:295:22
   9:     0x7f3cfbea0b96 - std::panicking::default_hook::hac5a91355be6dfeb
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:314:9
  10:     0x7f3cfc70f5d4 - rustc_driver[408cfae4cc3c6df2]::DEFAULT_HOOK::{closure#0}::{closure#0}
  11:     0x7f3ce91db549 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h923245f383332f8f
  12:     0x7f3ce92127cb - proc_macro::bridge::client::<impl proc_macro::bridge::Bridge>::enter::{{closure}}::{{closure}}::h039f2fc19dc79f4a
  13:     0x7f3cfbea154a - std::panicking::rust_panic_with_hook::hbd93644d507813e8
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:702:17
  14:     0x7f3cfbea1387 - std::panicking::begin_panic_handler::{{closure}}::hdb2a726c9c7bdbb5
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:588:13
  15:     0x7f3cfbe9e664 - std::sys_common::backtrace::__rust_end_short_backtrace::h89864bbb035f1e5f
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys_common/backtrace.rs:138:18
  16:     0x7f3cfbea10b9 - rust_begin_unwind
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:584:5
  17:     0x7f3cfbe66283 - core::panicking::panic_fmt::h418f829e9a4aee22
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:142:14
  18:     0x7f3cfe3653e4 - rustc_query_system[911edcd6a8f7477d]::query::plumbing::get_query::<rustc_query_impl[37e52937f351d760]::queries::def_span, rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt>
  19:     0x7f3cfe2e3f4e - <rustc_query_impl[37e52937f351d760]::Queries as rustc_middle[6f344fff696dbda8]::ty::query::QueryEngine>::def_span
  20:     0x7f3cfd017806 - <rustc_span[6f70bc57662b2091]::def_id::DefId as rustc_query_impl[37e52937f351d760]::keys::Key>::default_span
  21:     0x7f3cfd1bde59 - rustc_query_impl[37e52937f351d760]::make_query::predicates_of
  22:     0x7f3cfd0c3b99 - <rustc_query_system[911edcd6a8f7477d]::query::plumbing::QueryState<rustc_span[6f70bc57662b2091]::def_id::DefId>>::try_collect_active_jobs::<rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt>
  23:     0x7f3cfd0b4e4c - <rustc_query_impl[37e52937f351d760]::Queries>::try_collect_active_jobs
  24:     0x7f3cfd0b391c - <rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt>::try_print_query_stack
  25:     0x7f3cfc78d7cf - rustc_interface[f15557808a92caff]::interface::try_print_query_stack
  26:     0x7f3cfc7101e0 - rustc_driver[408cfae4cc3c6df2]::report_ice
  27:     0x7f3ce91db549 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h923245f383332f8f
  28:     0x7f3ce92127cb - proc_macro::bridge::client::<impl proc_macro::bridge::Bridge>::enter::{{closure}}::{{closure}}::h039f2fc19dc79f4a
  29:     0x7f3cfbea154a - std::panicking::rust_panic_with_hook::hbd93644d507813e8
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:702:17
  30:     0x7f3cfbea1387 - std::panicking::begin_panic_handler::{{closure}}::hdb2a726c9c7bdbb5
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:588:13
  31:     0x7f3cfbe9e664 - std::sys_common::backtrace::__rust_end_short_backtrace::h89864bbb035f1e5f
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys_common/backtrace.rs:138:18
  32:     0x7f3cfbea10b9 - rust_begin_unwind
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/panicking.rs:584:5
  33:     0x7f3cfbe66283 - core::panicking::panic_fmt::h418f829e9a4aee22
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:142:14
  34:     0x7f3cfbef6c01 - core::panicking::panic_display::h44eb5e78b4a565c3
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:72:5
  35:     0x7f3cfbef6bab - core::panicking::panic_str::h38b9596b7b2b24cd
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/panicking.rs:56:5
  36:     0x7f3cfbe660f6 - core::option::expect_failed::h1d83381522dbb338
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/core/src/option.rs:1874:5
  37:     0x7f3cfe3f7a7a - <rustc_metadata[189bb5dd0a155bb6]::creader::CStore as rustc_session[2b91fda18a608cf5]::cstore::CrateStore>::stable_crate_id_to_crate_num
  38:     0x7f3cfe24e290 - <rustc_span[6f70bc57662b2091]::span_encoding::Span as rustc_serialize[6da498e8cb2a97f5]::serialize::Decodable<rustc_query_impl[37e52937f351d760]::on_disk_cache::CacheDecoder>>::decode
  39:     0x7f3cfe257921 - <rustc_query_impl[37e52937f351d760]::on_disk_cache::OnDiskCache>::try_load_query_result::<rustc_middle[6f344fff696dbda8]::ty::generics::GenericPredicates>
  40:     0x7f3cfe33b96d - rustc_query_system[911edcd6a8f7477d]::query::plumbing::get_query::<rustc_query_impl[37e52937f351d760]::queries::predicates_of, rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt>
  41:     0x7f3cfe2e186e - <rustc_query_impl[37e52937f351d760]::Queries as rustc_middle[6f344fff696dbda8]::ty::query::QueryEngine>::predicates_of
  42:     0x7f3cfdb37614 - <rustc_privacy[ad772a0335cea07c]::ReachEverythingInTheInterfaceVisitor>::predicates
  43:     0x7f3cfdb318c8 - <rustc_privacy[ad772a0335cea07c]::EmbargoVisitor as rustc_hir[2970a650b792ca61]::intravisit::Visitor>::visit_item
  44:     0x7f3cfdb3462b - <rustc_privacy[ad772a0335cea07c]::EmbargoVisitor as rustc_hir[2970a650b792ca61]::intravisit::Visitor>::visit_item
  45:     0x7f3cfea8c389 - rustc_privacy[ad772a0335cea07c]::privacy_access_levels
  46:     0x7f3cfedee324 - <rustc_query_system[911edcd6a8f7477d]::dep_graph::graph::DepGraph<rustc_middle[6f344fff696dbda8]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6f344fff696dbda8]::ty::context::TyCtxt, (), &rustc_middle[6f344fff696dbda8]::middle::privacy::AccessLevels>
  47:     0x7f3cfee9a677 - rustc_query_system[911edcd6a8f7477d]::query::plumbing::try_execute_query::<rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt, rustc_query_system[911edcd6a8f7477d]::query::caches::DefaultCache<(), &rustc_middle[6f344fff696dbda8]::middle::privacy::AccessLevels>>
  48:     0x7f3cfeed02df - rustc_query_system[911edcd6a8f7477d]::query::plumbing::get_query::<rustc_query_impl[37e52937f351d760]::queries::privacy_access_levels, rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt>
  49:     0x7f3cfec6922f - rustc_passes[69f5c6c31eea90e7]::stability::check_unused_or_stable_features
  50:     0x7f3cfe93c5e6 - <rustc_session[2b91fda18a608cf5]::session::Session>::time::<(), rustc_interface[f15557808a92caff]::passes::analysis::{closure#0}::{closure#2}::{closure#0}>
  51:     0x7f3cfe93d541 - <rustc_session[2b91fda18a608cf5]::session::Session>::time::<(), rustc_interface[f15557808a92caff]::passes::analysis::{closure#0}>
  52:     0x7f3cfe93755e - rustc_interface[f15557808a92caff]::passes::analysis
  53:     0x7f3cfedea975 - <rustc_query_system[911edcd6a8f7477d]::dep_graph::graph::DepGraph<rustc_middle[6f344fff696dbda8]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[6f344fff696dbda8]::ty::context::TyCtxt, (), core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>
  54:     0x7f3cfee93a7d - rustc_query_system[911edcd6a8f7477d]::query::plumbing::try_execute_query::<rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt, rustc_query_system[911edcd6a8f7477d]::query::caches::DefaultCache<(), core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>>
  55:     0x7f3cfeedd6ae - rustc_query_system[911edcd6a8f7477d]::query::plumbing::get_query::<rustc_query_impl[37e52937f351d760]::queries::analysis, rustc_query_impl[37e52937f351d760]::plumbing::QueryCtxt>
  56:     0x7f3cfe91b337 - <rustc_interface[f15557808a92caff]::passes::QueryContext>::enter::<rustc_driver[408cfae4cc3c6df2]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>
  57:     0x7f3cfe90561f - <rustc_interface[f15557808a92caff]::interface::Compiler>::enter::<rustc_driver[408cfae4cc3c6df2]::run_compiler::{closure#1}::{closure#2}, core[5a36d070a32d33ff]::result::Result<core[5a36d070a32d33ff]::option::Option<rustc_interface[f15557808a92caff]::queries::Linker>, rustc_errors[10645af10a1be704]::ErrorGuaranteed>>
  58:     0x7f3cfe8feb5f - rustc_span[6f70bc57662b2091]::with_source_map::<core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>, rustc_interface[f15557808a92caff]::interface::create_compiler_and_run<core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>, rustc_driver[408cfae4cc3c6df2]::run_compiler::{closure#1}>::{closure#1}>
  59:     0x7f3cfe9064b2 - <scoped_tls[93fdc487700f9e56]::ScopedKey<rustc_span[6f70bc57662b2091]::SessionGlobals>>::set::<rustc_interface[f15557808a92caff]::interface::run_compiler<core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>, rustc_driver[408cfae4cc3c6df2]::run_compiler::{closure#1}>::{closure#0}, core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>
  60:     0x7f3cfe91ba6f - std[bb5070e20908af4f]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f15557808a92caff]::util::run_in_thread_pool_with_globals<rustc_interface[f15557808a92caff]::interface::run_compiler<core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>, rustc_driver[408cfae4cc3c6df2]::run_compiler::{closure#1}>::{closure#0}, core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>::{closure#0}, core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>
  61:     0x7f3cfe91bba9 - <<std[bb5070e20908af4f]::thread::Builder>::spawn_unchecked_<rustc_interface[f15557808a92caff]::util::run_in_thread_pool_with_globals<rustc_interface[f15557808a92caff]::interface::run_compiler<core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>, rustc_driver[408cfae4cc3c6df2]::run_compiler::{closure#1}>::{closure#0}, core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>::{closure#0}, core[5a36d070a32d33ff]::result::Result<(), rustc_errors[10645af10a1be704]::ErrorGuaranteed>>::{closure#1} as core[5a36d070a32d33ff]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
  62:     0x7f3cfbeab483 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h4135e69d869d02da
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/alloc/src/boxed.rs:1951:9
  63:     0x7f3cfbeab483 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h3f19aa106d42e724
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/alloc/src/boxed.rs:1951:9
  64:     0x7f3cfbeab483 - std::sys::unix::thread::Thread::new::thread_start::h7e78afdac6a15870
                               at /rustc/6c1f1428998a08864495bb599840a5997ec175f4/library/std/src/sys/unix/thread.rs:108:17
  65:     0x7f3cfbc8054d - <unknown>
  66:     0x7f3cfbd05874 - clone
  67:                0x0 - <unknown>

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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.63.0-beta.2 (6c1f14289 2022-06-28) running on x86_64-unknown-linux-gnu

note: compiler flags: --crate-type lib -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -C incremental -C symbol-mangling-version=v0 -Z macro-backtrace -C link-args=-Wl,-z,origin -C link-args=-Wl,-rpath,$ORIGIN/../lib -Z unstable-options -C split-debuginfo=off -Z tls-model=initial-exec -Z unstable-options -C prefer-dynamic -C llvm-args=-import-instr-limit=10 -Z binary-dep-depinfo -Z force-unstable-if-unmarked

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
end of query stack
thread panicked while panicking. aborting.
    Checking rustc_resolve v0.0.0 (/home/erikfc/code/rust/open-source/rust/compiler/rustc_resolve)
 Documenting rustc_resolve v0.0.0 (/home/erikfc/code/rust/open-source/rust/compiler/rustc_resolve)
rustc exited with signal: 6 (SIGABRT) (core dumped)
error: could not compile `rustc_infer`

Caused by:
  process didn't exit successfully: `/home/erikfc/code/rust/open-source/rust/build/bootstrap/debug/rustc --crate-name rustc_infer --edition=2021 compiler/rustc_infer/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C opt-level=3 -C embed-bitcode=no -C debuginfo=0 -C metadata=05f91e2d2692371e -C extra-filename=-05f91e2d2692371e --out-dir /home/erikfc/code/rust/open-source/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/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/incremental -L dependency=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps -L dependency=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps --extern rustc_data_structures=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_data_structures-be14d5e9e4804a7d.rmeta --extern rustc_errors=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_errors-284b71baaeffb15f.rmeta --extern rustc_hir=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_hir-7fe6e98bdc4204bc.rmeta --extern rustc_index=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_index-acbea49c412ce1f5.rmeta --extern rustc_macros=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/release/deps/librustc_macros-831b2b734d834888.so --extern rustc_middle=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_middle-0dc400bdabb2ccbc.rmeta --extern rustc_serialize=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_serialize-a5e70b6b21249489.rmeta --extern rustc_span=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_span-9e96b8b22552c16b.rmeta --extern rustc_target=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_target-f77ef6a1f6d9dab8.rmeta --extern smallvec=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libsmallvec-bedd6f56616f8817.rmeta --extern tracing=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/libtracing-df3f0173b20ca4aa.rmeta --cfg=bootstrap -Csymbol-mangling-version=v0 -Zmacro-backtrace -Clink-args=-Wl,-z,origin '-Clink-args=-Wl,-rpath,$ORIGIN/../lib' -Zunstable-options -Csplit-debuginfo=off -Ztls-model=initial-exec -Zunstable-options '-Wrustc::internal' -Cprefer-dynamic -Cllvm-args=-import-instr-limit=10 -Z binary-dep-depinfo -L native=/home/erikfc/code/rust/open-source/rust/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/build/psm-2da4bb8e205288c8/out` (exit status: 254)
warning: build failed, waiting for other jobs to finish...
Build completed unsuccessfully in 0:22:33
```

</p>
</details>