Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICE: delayed_good_path_bugs: trimmed_def_paths constructed #99387

Closed
matthiaskrgr opened this issue Jul 17, 2022 · 5 comments · Fixed by #99893
Closed

ICE: delayed_good_path_bugs: trimmed_def_paths constructed #99387

matthiaskrgr opened this issue Jul 17, 2022 · 5 comments · Fixed by #99893
Assignees
Labels
C-bug Category: This is a bug. glacier ICE tracked in rust-lang/glacier. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthiaskrgr
Copy link
Member

matthiaskrgr commented Jul 17, 2022

Code

code from glacier/fixed/70121.rs

#![feature(type_alias_impl_trait)]
#![allow(private_in_public)]

pub type Successors<'a> = impl Iterator<Item = &'a ()>;

pub fn f<'a>() -> Successors<'a> {
    None.into_iter()
}

trait Tr {
    type Item;
}

impl<'a> Tr for &'a () {
    type Item = Successors<'a>;
}

pub fn ohno<'a>() -> <&'a () as Tr>::Item {
    None.into_iter()
}

fn main() {}

Meta

rustc --version --verbose:

c2ecd3af87477147695aa3f6e1237e3185044e62 built with debug assertions

Error output

rustc ./70121.rs


backtrace does not fit into a single comment :|

@matthiaskrgr matthiaskrgr added I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. C-bug Category: This is a bug. requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way labels Jul 17, 2022
@matthiaskrgr
Copy link
Member Author

backtrace part 1

error: internal compiler error: no warnings or errors encountered even though `delayed_good_path_bugs` issued

error: internal compiler error: trimmed_def_paths constructed
  |
  = note: delayed at    0: <rustc_errors::HandlerInner>::delay_good_path_bug::<&str>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/lib.rs:1364:25
             1: <rustc_errors::Handler>::delay_good_path_bug::<&str>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/lib.rs:927:9
             2: rustc_middle::ty::print::pretty::trimmed_def_paths
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:2714:9
             3: <rustc_query_system::query::config::QueryVtable<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>>::compute
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/config.rs:43:9
             4: rustc_query_system::query::plumbing::execute_job::<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:384:55
             5: stacker::maybe_grow::<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>
                       at /home/matthias/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/stacker-0.1.14/src/lib.rs:55:9
             6: rustc_data_structures::stack::ensure_sufficient_stack::<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
             7: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:112:17
             8: rustc_middle::ty::context::tls::enter_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:50
             9: rustc_middle::ty::context::tls::set_tlv::<rustc_middle::ty::context::tls::enter_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1914:9
            10: rustc_middle::ty::context::tls::enter_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:9
            11: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:111:13
            12: rustc_middle::ty::context::tls::with_related_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1974:13
            13: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:40
            14: rustc_middle::ty::context::tls::with_context_opt::<rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1947:22
            15: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:9
            16: rustc_middle::ty::context::tls::with_related_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>::{closure#0}, std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1971:9
            17: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:100:9
            18: rustc_query_system::query::plumbing::execute_job::<rustc_query_impl::plumbing::QueryCtxt, (), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:384:22
            19: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::ArenaCache<(), std::collections::hash::map::HashMap<rustc_span::def_id::DefId, rustc_span::symbol::Symbol, core::hash::BuildHasherDefault<rustc_hash::FxHasher>>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:343:44
            20: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::trimmed_def_paths, rustc_query_impl::plumbing::QueryCtxt>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:702:36
            21: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::trimmed_def_paths
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:56:1
            22: <rustc_middle::ty::query::TyCtxtAt>::trimmed_def_paths
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:258:17
            23: <rustc_middle::ty::context::TyCtxt>::trimmed_def_paths
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:239:17
            24: <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::pretty::PrettyPrinter>::try_print_trimmed_def_path
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:308:15
            25: <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::print_def_path
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:1656:19
            26: <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::default_print_def_path::{closure#2}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/mod.rs:154:42
            27: <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::path_generic_args::<<rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::default_print_def_path::{closure#2}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:1819:16
            28: <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::default_print_def_path
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/mod.rs:153:40
            29: <rustc_middle::ty::print::pretty::FmtPrinter as rustc_middle::ty::print::Printer>::print_def_path
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:1704:9
            30: <rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as rustc_middle::ty::print::Print<rustc_middle::ty::print::pretty::FmtPrinter>>::print
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:2520:9
            31: <rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:2354:30
            32: rustc_middle::ty::context::tls::with::<<rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt::{closure#0}, core::result::Result<(), core::fmt::Error>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1985:32
            33: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with<<rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt::{closure#0}, core::result::Result<(), core::fmt::Error>>::{closure#0}, core::result::Result<(), core::fmt::Error>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:40
            34: rustc_middle::ty::context::tls::with_context_opt::<rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with<<rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt::{closure#0}, core::result::Result<(), core::fmt::Error>>::{closure#0}, core::result::Result<(), core::fmt::Error>>::{closure#0}, core::result::Result<(), core::fmt::Error>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1947:22
            35: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with<<rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt::{closure#0}, core::result::Result<(), core::fmt::Error>>::{closure#0}, core::result::Result<(), core::fmt::Error>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:9
            36: rustc_middle::ty::context::tls::with::<<rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt::{closure#0}, core::result::Result<(), core::fmt::Error>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1985:9
            37: <rustc_middle::ty::print::pretty::TraitRefPrintOnlyTraitPath as core::fmt::Display>::fmt
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/print/pretty.rs:2353:17
            38: <dyn core::fmt::Display as alloc::string::ToString>::to_string
                       at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/string.rs:2489:9
            39: <rustc_privacy::SearchInterfaceForPrivateItemsVisitor>::check_def_id
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:1752:25
            40: <rustc_privacy::SearchInterfaceForPrivateItemsVisitor as rustc_privacy::DefIdVisitor>::visit_def_id
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:1812:12
            41: <rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::visit_trait
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:114:9
            42: <rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::visit_projection_ty
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:124:9
            43: <rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor> as rustc_middle::ty::visit::TypeVisitor>::visit_ty
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:230:24
            44: <rustc_middle::ty::Ty as rustc_middle::ty::visit::TypeVisitable>::visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/structural_impls.rs:993:9
            45: <&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/subst.rs:495:38
            46: core::iter::traits::iterator::Iterator::try_for_each::call::<rustc_middle::ty::Ty, core::ops::control_flow::ControlFlow<()>, <&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::{closure#0}>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/iter/traits/iterator.rs:2296:26
            47: core::iter::adapters::copied::copy_try_fold::<rustc_middle::ty::Ty, (), core::ops::control_flow::ControlFlow<()>, core::iter::traits::iterator::Iterator::try_for_each::call<rustc_middle::ty::Ty, core::ops::control_flow::ControlFlow<()>, <&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::{closure#0}>::{closure#0}>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/iter/adapters/copied.rs:32:22
            48: <core::slice::iter::Iter<rustc_middle::ty::Ty> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::adapters::copied::copy_try_fold<rustc_middle::ty::Ty, (), core::ops::control_flow::ControlFlow<()>, core::iter::traits::iterator::Iterator::try_for_each::call<rustc_middle::ty::Ty, core::ops::control_flow::ControlFlow<()>, <&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::{closure#0}>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<()>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/iter/traits/iterator.rs:2238:21
            49: <core::iter::adapters::copied::Copied<core::slice::iter::Iter<rustc_middle::ty::Ty>> as core::iter::traits::iterator::Iterator>::try_fold::<(), core::iter::traits::iterator::Iterator::try_for_each::call<rustc_middle::ty::Ty, core::ops::control_flow::ControlFlow<()>, <&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::{closure#0}>::{closure#0}, core::ops::control_flow::ControlFlow<()>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/iter/adapters/copied.rs:57:9
            50: <core::iter::adapters::copied::Copied<core::slice::iter::Iter<rustc_middle::ty::Ty>> as core::iter::traits::iterator::Iterator>::try_for_each::<<&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>::{closure#0}, core::ops::control_flow::ControlFlow<()>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/iter/traits/iterator.rs:2299:9
            51: <&rustc_middle::ty::list::List<rustc_middle::ty::Ty> as rustc_middle::ty::visit::TypeVisitable>::visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/subst.rs:495:9
            52: <rustc_middle::ty::sty::FnSig as rustc_middle::ty::visit::TypeVisitable>::visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/sty.rs:1215:36
            53: <rustc_middle::ty::sty::Binder<rustc_middle::ty::sty::FnSig> as rustc_middle::ty::visit::TypeSuperVisitable>::super_visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/structural_impls.rs:893:9
            54: <rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor> as rustc_middle::ty::visit::TypeVisitor>::visit_binder::<rustc_middle::ty::sty::FnSig>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/visit.rs:187:9
            55: <rustc_middle::ty::sty::Binder<rustc_middle::ty::sty::FnSig> as rustc_middle::ty::visit::TypeVisitable>::visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/structural_impls.rs:878:9
            56: <rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor> as rustc_middle::ty::visit::TypeVisitor>::visit_ty
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:208:21
            57: <rustc_middle::ty::Ty as rustc_middle::ty::visit::TypeVisitable>::visit_with::<rustc_privacy::DefIdVisitorSkeleton<rustc_privacy::SearchInterfaceForPrivateItemsVisitor>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/structural_impls.rs:993:9
            58: <rustc_privacy::SearchInterfaceForPrivateItemsVisitor as rustc_privacy::DefIdVisitor>::visit::<rustc_middle::ty::Ty>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:83:9
            59: <rustc_privacy::SearchInterfaceForPrivateItemsVisitor>::ty
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:1713:9
            60: <rustc_privacy::PrivateItemsInPublicInterfacesChecker>::check_item
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:1867:17
            61: rustc_privacy::check_private_in_public
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_privacy/src/lib.rs:2098:9
            62: <rustc_query_system::query::config::QueryVtable<rustc_query_impl::plumbing::QueryCtxt, (), ()>>::compute
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/config.rs:43:9
            63: rustc_query_system::query::plumbing::execute_job::<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:384:55
            64: stacker::maybe_grow::<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>
                       at /home/matthias/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/stacker-0.1.14/src/lib.rs:55:9
            65: rustc_data_structures::stack::ensure_sufficient_stack::<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
            66: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:112:17
            67: rustc_middle::ty::context::tls::enter_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}::{closure#0}, ()>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:50
            68: rustc_middle::ty::context::tls::set_tlv::<rustc_middle::ty::context::tls::enter_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}::{closure#0}, ()>::{closure#0}, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1914:9
            69: rustc_middle::ty::context::tls::enter_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}::{closure#0}, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:9
            70: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:111:13
            71: rustc_middle::ty::context::tls::with_related_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}, ()>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1974:13
            72: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}, ()>::{closure#0}, ()>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:40
            73: rustc_middle::ty::context::tls::with_context_opt::<rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}, ()>::{closure#0}, ()>::{closure#0}, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1947:22
            74: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}, ()>::{closure#0}, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:9
            75: rustc_middle::ty::context::tls::with_related_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>::{closure#0}, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1971:9
            76: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<(), rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), ()>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:100:9
            77: rustc_query_system::query::plumbing::execute_job::<rustc_query_impl::plumbing::QueryCtxt, (), ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:384:22
            78: rustc_query_system::query::plumbing::try_execute_query::<rustc_query_impl::plumbing::QueryCtxt, rustc_query_system::query::caches::DefaultCache<(), ()>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:343:44
            79: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::check_private_in_public, rustc_query_impl::plumbing::QueryCtxt>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:702:36
            80: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::check_private_in_public
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:56:1
            81: <rustc_middle::ty::query::TyCtxtEnsure>::check_private_in_public
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:229:17
            82: rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:960:25
            83: <rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#0} as core::ops::function::FnOnce<()>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:248:5
            84: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
            85: std::panicking::try::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#0}>, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:492:40
            86: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#0}>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:456:19
            87: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}::{closure#0}>, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:137:14
            88: rustc_interface::passes::analysis::{closure#5}::{closure#1}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:958:17
            89: <rustc_interface::passes::analysis::{closure#5}::{closure#1} as core::ops::function::FnOnce<()>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:248:5
            90: <core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}> as core::ops::function::FnOnce<()>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
            91: std::panicking::try::do_call::<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}>, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:492:40
            92: std::panicking::try::<(), core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:456:19
            93: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<rustc_interface::passes::analysis::{closure#5}::{closure#1}>, ()>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:137:14
            94: rustc_interface::passes::analysis::{closure#5}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:954:9
            95: <rustc_data_structures::profiling::VerboseTimingGuard>::run::<(), rustc_interface::passes::analysis::{closure#5}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:739:9
            96: <rustc_session::session::Session>::time::<(), rustc_interface::passes::analysis::{closure#5}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_session/src/utils.rs:10:9
            97: rustc_interface::passes::analysis
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:953:5
            98: <rustc_query_system::query::config::QueryVtable<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>>::compute
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/config.rs:43:9
            99: rustc_query_system::query::plumbing::execute_job::<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:384:55
           100: stacker::maybe_grow::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>
                       at /home/matthias/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/stacker-0.1.14/src/lib.rs:55:9
           101: rustc_data_structures::stack::ensure_sufficient_stack::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
           102: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:112:17
           103: rustc_middle::ty::context::tls::enter_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:50
           104: rustc_middle::ty::context::tls::set_tlv::<rustc_middle::ty::context::tls::enter_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1914:9
           105: rustc_middle::ty::context::tls::enter_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:9
           106: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:111:13
           107: rustc_middle::ty::context::tls::with_related_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1974:13
           108: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:40
           109: rustc_middle::ty::context::tls::with_context_opt::<rustc_middle::ty::context::tls::with_context<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1947:22
           110: rustc_middle::ty::context::tls::with_context::<rustc_middle::ty::context::tls::with_related_context<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1958:9
           111: rustc_middle::ty::context::tls::with_related_context::<<rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1971:9
           112: <rustc_query_impl::plumbing::QueryCtxt as rustc_query_system::query::QueryContext>::start_query::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_query_system::query::plumbing::execute_job<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:100:9
           113: rustc_query_system::query::plumbing::execute_job::<rustc_query_impl::plumbing::QueryCtxt, (), core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:384:22
           114: 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>>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:343:44
           115: rustc_query_system::query::plumbing::get_query::<rustc_query_impl::queries::analysis, rustc_query_impl::plumbing::QueryCtxt>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:702:36
           116: <rustc_query_impl::Queries as rustc_middle::ty::query::QueryEngine>::analysis
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:56:1
           117: <rustc_middle::ty::query::TyCtxtAt>::analysis
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:258:17
           118: <rustc_middle::ty::context::TyCtxt>::analysis
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/query.rs:239:17
           119: rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver/src/lib.rs:379:30
           120: <rustc_interface::passes::QueryContext>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:787:42
           121: rustc_middle::ty::context::tls::enter_context::<<rustc_interface::passes::QueryContext>::enter<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:50
           122: rustc_middle::ty::context::tls::set_tlv::<rustc_middle::ty::context::tls::enter_context<<rustc_interface::passes::QueryContext>::enter<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1914:9
           123: rustc_middle::ty::context::tls::enter_context::<<rustc_interface::passes::QueryContext>::enter<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:1930:9
           124: <rustc_interface::passes::QueryContext>::enter::<rustc_driver::run_compiler::{closure#1}::{closure#2}::{closure#3}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:787:9
           125: rustc_driver::run_compiler::{closure#1}::{closure#2}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver/src/lib.rs:378:13
           126: <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>>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:381:19
           127: rustc_driver::run_compiler::{closure#1}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver/src/lib.rs:310:22
           128: rustc_interface::interface::create_compiler_and_run::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#1}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:323:13
           129: 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}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:986:5
           130: rustc_interface::interface::create_compiler_and_run::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:317:5
           131: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:337:12
           132: <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>>
                       at /home/matthias/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:137:9
           133: rustc_span::create_session_globals_then::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_interface::interface::run_compiler<core::result::Result<(), rustc_errors::ErrorGuaranteed>, rustc_driver::run_compiler::{closure#1}>::{closure#0}>
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:112:5
           134: rustc_interface::util::run_in_thread_pool_with_globals::<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>>::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:160:32
           135: std::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:122:18
           136: <std::thread::Builder>::spawn_unchecked_::<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1}::{closure#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:505:17
           137: <core::panic::unwind_safe::AssertUnwindSafe<<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
           138: std::panicking::try::do_call::<core::panic::unwind_safe::AssertUnwindSafe<<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:492:40
           139: std::panicking::try::<core::result::Result<(), rustc_errors::ErrorGuaranteed>, core::panic::unwind_safe::AssertUnwindSafe<<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:456:19
           140: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core::result::Result<(), rustc_errors::ErrorGuaranteed>>
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:137:14
           141: <std::thread::Builder>::spawn_unchecked_::<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1}
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:504:30
           142: <<std::thread::Builder>::spawn_unchecked_<rustc_interface::util::run_in_thread_pool_with_globals<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>>::{closure#0}, core::result::Result<(), rustc_errors::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                       at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:248:5
           143: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1935:9
           144: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
                       at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1935:9
           145: std::sys::unix::thread::Thread::new::thread_start
                       at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/unix/thread.rs:108:17
           146: <unknown>
           147: clone

@matthiaskrgr
Copy link
Member Author

backtrace part 2 / cont


thread 'rustc' panicked at 'Box<dyn Any>', compiler/rustc_errors/src/lib.rs:1425:13
stack backtrace:
   0:     0x7f8a9791dc80 - std::backtrace_rs::backtrace::libunwind::trace::hfd97d34f5b9adb5a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7f8a9791dc80 - std::backtrace_rs::backtrace::trace_unsynchronized::ha08ef33cdd1a8d14
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7f8a9791dc80 - std::sys_common::backtrace::_print_fmt::haf7cabbcd4c09172
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:66:5
   3:     0x7f8a9791dc80 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h7e27323de08c589f
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:45:22
   4:     0x7f8a9798b5a8 - core::fmt::write::hfbeb0e19f1f81a2c
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1198:17
   5:     0x7f8a978e64df - std::io::Write::write_fmt::h0c909a73698b88b2
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1672:15
   6:     0x7f8a978ecdce - std::sys_common::backtrace::_print::he5cc0f9d8f290756
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:48:5
   7:     0x7f8a978ecdce - std::sys_common::backtrace::print::h180abf93ce822247
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:35:9
   8:     0x7f8a978ecdce - std::panicking::default_hook::{{closure}}::h0088be320aa53a67
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:295:22
   9:     0x7f8a978eca19 - std::panicking::default_hook::he281460b60075c8f
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:314:9
  10:     0x7f8a986ae16a - <alloc[bb226ae01fa67229]::boxed::Box<dyn for<'a, 'b> core[68c69b1964127ede]::ops::function::Fn<(&'a core[68c69b1964127ede]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[68c69b1964127ede]::marker::Send + core[68c69b1964127ede]::marker::Sync> as core[68c69b1964127ede]::ops::function::Fn<(&core[68c69b1964127ede]::panic::panic_info::PanicInfo,)>>::call
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1949:9
  11:     0x7f8a986ae16a - rustc_driver[c951fd703985c6d1]::DEFAULT_HOOK::{closure#0}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver/src/lib.rs:1153:13
  12:     0x7f8a978ed539 - std::panicking::rust_panic_with_hook::h278c3ffd37674291
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:702:17
  13:     0x7f8a9dcd6f83 - std[a34c85a79a5ff9e1]::panicking::begin_panic::<rustc_errors[6f9c501190a828e4]::ExplicitBug>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:617:9
  14:     0x7f8a9dcd5fa6 - std[a34c85a79a5ff9e1]::sys_common::backtrace::__rust_end_short_backtrace::<std[a34c85a79a5ff9e1]::panicking::begin_panic<rustc_errors[6f9c501190a828e4]::ExplicitBug>::{closure#0}, !>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:138:18
  15:     0x7f8a98630e06 - std[a34c85a79a5ff9e1]::panicking::begin_panic::<rustc_errors[6f9c501190a828e4]::ExplicitBug>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:616:12
  16:     0x7f8a9dd1bd06 - std[a34c85a79a5ff9e1]::panic::panic_any::<rustc_errors[6f9c501190a828e4]::ExplicitBug>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:61:5
  17:     0x7f8a9dd20e83 - <rustc_errors[6f9c501190a828e4]::HandlerInner as core[68c69b1964127ede]::ops::drop::Drop>::drop
  18:     0x7f8a986c3c48 - core[68c69b1964127ede]::ptr::drop_in_place::<rustc_errors[6f9c501190a828e4]::HandlerInner>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  19:     0x7f8a986c3c48 - core[68c69b1964127ede]::ptr::drop_in_place::<core[68c69b1964127ede]::cell::UnsafeCell<rustc_errors[6f9c501190a828e4]::HandlerInner>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  20:     0x7f8a986c3c48 - core[68c69b1964127ede]::ptr::drop_in_place::<core[68c69b1964127ede]::cell::RefCell<rustc_errors[6f9c501190a828e4]::HandlerInner>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  21:     0x7f8a986c3c48 - core[68c69b1964127ede]::ptr::drop_in_place::<rustc_data_structures[5381e28d570373a7]::sync::Lock<rustc_errors[6f9c501190a828e4]::HandlerInner>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  22:     0x7f8a986c3c48 - core[68c69b1964127ede]::ptr::drop_in_place::<rustc_errors[6f9c501190a828e4]::Handler>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  23:     0x7f8a986c3c48 - core[68c69b1964127ede]::ptr::drop_in_place::<rustc_session[4aa44555e437e6f6]::parse::ParseSess>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  24:     0x7f8a986cf055 - core[68c69b1964127ede]::ptr::drop_in_place::<rustc_session[4aa44555e437e6f6]::session::Session>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  25:     0x7f8a986cf055 - <alloc[bb226ae01fa67229]::rc::Rc<rustc_session[4aa44555e437e6f6]::session::Session> as core[68c69b1964127ede]::ops::drop::Drop>::drop
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/rc.rs:1559:17
  26:     0x7f8a9877254c - core[68c69b1964127ede]::ptr::drop_in_place::<alloc[bb226ae01fa67229]::rc::Rc<rustc_session[4aa44555e437e6f6]::session::Session>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  27:     0x7f8a9877254c - core[68c69b1964127ede]::ptr::drop_in_place::<rustc_interface[544e148730d0046e]::interface::Compiler>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ptr/mod.rs:487:1
  28:     0x7f8a9876fc6b - core[68c69b1964127ede]::mem::drop::<rustc_interface[544e148730d0046e]::interface::Compiler>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/mem/mod.rs:974:24
  29:     0x7f8a9876fc6b - rustc_interface[544e148730d0046e]::interface::create_compiler_and_run::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#1}::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:327:60
  30:     0x7f8a9876fc6b - <rustc_data_structures[5381e28d570373a7]::profiling::TimingGuard>::run::<(), rustc_interface[544e148730d0046e]::interface::create_compiler_and_run<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#1}::{closure#1}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/profiling.rs:718:9
  31:     0x7f8a9876fc6b - rustc_interface[544e148730d0046e]::interface::create_compiler_and_run::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:327:9
  32:     0x7f8a9876fc6b - rustc_span[8ecc148ab01e39e]::with_source_map::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_interface[544e148730d0046e]::interface::create_compiler_and_run<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#1}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:986:5
  33:     0x7f8a986d7d69 - rustc_interface[544e148730d0046e]::interface::create_compiler_and_run::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:317:5
  34:     0x7f8a986d7d69 - rustc_interface[544e148730d0046e]::interface::run_compiler::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:337:12
  35:     0x7f8a986d7d69 - <scoped_tls[a31a5a0e226b4d9f]::ScopedKey<rustc_span[8ecc148ab01e39e]::SessionGlobals>>::set::<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>
                               at /home/matthias/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:137:9
  36:     0x7f8a9876bb0f - rustc_span[8ecc148ab01e39e]::create_session_globals_then::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:112:5
  37:     0x7f8a9876bb0f - rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals::<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:160:32
  38:     0x7f8a9876bb0f - std[a34c85a79a5ff9e1]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:122:18
  39:     0x7f8a9875f3fa - <std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_::<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:505:17
  40:     0x7f8a9875f3fa - <core[68c69b1964127ede]::panic::unwind_safe::AssertUnwindSafe<<std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[68c69b1964127ede]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:271:9
  41:     0x7f8a9875f3fa - std[a34c85a79a5ff9e1]::panicking::try::do_call::<core[68c69b1964127ede]::panic::unwind_safe::AssertUnwindSafe<<std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:492:40
  42:     0x7f8a9875f3fa - std[a34c85a79a5ff9e1]::panicking::try::<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, core[68c69b1964127ede]::panic::unwind_safe::AssertUnwindSafe<<std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:456:19
  43:     0x7f8a9875f3fa - std[a34c85a79a5ff9e1]::panic::catch_unwind::<core[68c69b1964127ede]::panic::unwind_safe::AssertUnwindSafe<<std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:137:14
  44:     0x7f8a9875f3fa - <std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_::<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:504:30
  45:     0x7f8a9875f3fa - <<std[a34c85a79a5ff9e1]::thread::Builder>::spawn_unchecked_<rustc_interface[544e148730d0046e]::util::run_in_thread_pool_with_globals<rustc_interface[544e148730d0046e]::interface::run_compiler<core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>, rustc_driver[c951fd703985c6d1]::run_compiler::{closure#1}>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#0}, core[68c69b1964127ede]::result::Result<(), rustc_errors[6f9c501190a828e4]::ErrorGuaranteed>>::{closure#1} as core[68c69b1964127ede]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:248:5
  46:     0x7f8a978ee405 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h920bbd4619823104
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1935:9
  47:     0x7f8a978ee405 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hdcffa1fbabb23688
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:1935:9
  48:     0x7f8a978ee405 - std::sys::unix::thread::Thread::new::thread_start::h1e3eea9b9bf258db
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/unix/thread.rs:108:17
  49:     0x7f8a9768854d - <unknown>
  50:     0x7f8a9770d874 - clone
  51:                0x0 - <unknown>

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.64.0-dev running on x86_64-unknown-linux-gnu

query stack during panic:
end of query stack

@matthiaskrgr
Copy link
Member Author

actually does not seem to require debug assertions, mh

@matthiaskrgr matthiaskrgr removed the requires-debug-assertions This issue requires a build of rustc or tooling with debug-assertions in some way label Jul 19, 2022
@matthiaskrgr
Copy link
Member Author

This crashes since nightly-2022-07-17 / d5e7f47 / #99346 hmm

@gimbling-away
Copy link
Contributor

@matthiaskrgr Might be better to use a GitHub gist or similar and link to it instead. :)

@compiler-errors compiler-errors self-assigned this Jul 29, 2022
@bors bors closed this as completed in 76b0484 Aug 6, 2022
ehuss pushed a commit to ehuss/rust that referenced this issue Aug 31, 2022
Delay formatting trimmed path until lint/error is emitted

Fixes rust-lang#99387

r? `@davidtwco`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. glacier ICE tracked in rust-lang/glacier. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants