rust-lang / rust

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

ICE: `param types with same index differ in name` #121983

Open matthiaskrgr opened 8 months ago

matthiaskrgr commented 8 months ago

auto-reduced (treereduce-rust):

struct S0<T>();

impl<T> S0<T> {
    fn foo() {
        fn bar<T2>() -> S0<T2> {
            Self()
        }
    }
}

original:

code from #117246

use std::marker::PhantomData;

struct S0<T>(PhantomData<T>);

impl<T> S0<T> {
    fn foo() {
        fn bar<T2>() -> S0<T2> {
            Self(PhantomData) // <~ this constructs S0<T> not S0<T2> :(
        }
    }
}

Version information

rustc 1.78.0-dev
binary: rustc
commit-hash: unknown
commit-date: unknown
host: x86_64-unknown-linux-gnu
release: 1.78.0-dev
LLVM version: 18.1.0

Command: /home/matthias/.rustup/toolchains/local-debug-assertions/bin/rustc

matthiaskrgr commented 8 months ago
Program output

``` error[E0601]: `main` function not found in crate `mvce` --> /tmp/icemaker_global_tempdir.3iA96DPRXd6t/rustc_testrunner_tmpdir_reporting.fNvHQkXJyelR/mvce.rs:9:2 | 9 | } | ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.3iA96DPRXd6t/rustc_testrunner_tmpdir_reporting.fNvHQkXJyelR/mvce.rs` error[E0392]: type parameter `T` is never used --> /tmp/icemaker_global_tempdir.3iA96DPRXd6t/rustc_testrunner_tmpdir_reporting.fNvHQkXJyelR/mvce.rs:1:11 | 1 | struct S0(); | ^ unused type parameter | = help: consider removing `T`, referring to it in a field, or using a marker such as `PhantomData` = help: if you intended `T` to be a const parameter, use `const T: /* Type */` instead thread 'rustc' panicked at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:411:13: assertion `left == right` failed: param types with same index differ in name left: "T" right: "T2" stack backtrace: 0: 0x7f51e8fb24ed - std::backtrace_rs::backtrace::libunwind::trace::h71aa28bdc5089aab at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 1: 0x7f51e8fb24ed - std::backtrace_rs::backtrace::trace_unsynchronized::hc71f6f29c4d7cf67 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 2: 0x7f51e8fb24ed - std::sys_common::backtrace::_print_fmt::h8e1e2ea27397ed17 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:68:5 3: 0x7f51e8fb24ed - ::fmt::h28aca7b36a9d50a9 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22 4: 0x7f51e90017e7 - core::fmt::rt::Argument::fmt::h67bfbe6caf20ecda at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:142:9 5: 0x7f51e90017e7 - core::fmt::write::h2b3e0bd86bdfc209 at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1120:17 6: 0x7f51e8f6b305 - std::io::Write::write_fmt::h136db78b548c4ef6 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1846:15 7: 0x7f51e8fb2284 - std::sys_common::backtrace::_print::h5b92b1853c8de3bd at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5 8: 0x7f51e8fb2284 - std::sys_common::backtrace::print::h490b617a207e3b67 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9 9: 0x7f51e8f8dd13 - std::panicking::default_hook::{{closure}}::h45adea5532c8b211 10: 0x7f51e8f8da08 - std::panicking::default_hook::hd02efd9905101244 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:292:9 11: 0x7f51e4a92b4a - rustc_driver_impl[1a673441bf96e3e3]::install_ice_hook::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1337:17 12: 0x7f51e4a92b4a - as core[aa444211b5f41879]::ops::function::Fn<(&dyn for<'a, 'b> core[aa444211b5f41879]::ops::function::Fn<(&'a core[aa444211b5f41879]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[aa444211b5f41879]::marker::Sync + core[aa444211b5f41879]::marker::Send, &core[aa444211b5f41879]::panic::panic_info::PanicInfo)>>::call at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9 13: 0x7f51e8f8e3f5 - as core::ops::function::Fn>::call::hc3e26a573d0d775a at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2030:9 14: 0x7f51e8f8e3f5 - std::panicking::rust_panic_with_hook::h62b1349491684a47 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:783:13 15: 0x7f51e8fb29c2 - std::panicking::begin_panic_handler::{{closure}}::ha9ba801d79b7df26 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:657:13 16: 0x7f51e8fb27b6 - std::sys_common::backtrace::__rust_end_short_backtrace::h143ebb6cbd4c764e at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:171:18 17: 0x7f51e8f8df64 - rust_begin_unwind at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:645:5 18: 0x7f51e8f557b5 - core::panicking::panic_fmt::h7cdaca6ac7987f65 at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:72:14 19: 0x7f51e8f55d99 - core::panicking::assert_failed_inner::heed625da7882381e at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:337:23 20: 0x7f51e38e9ca1 - core[aa444211b5f41879]::panicking::assert_failed:: at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:297:5 21: 0x7f51e554c5d3 - rustc_middle[6c2d286f0f81b1e4]::ty::relate::structurally_relate_tys::::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:411:13 22: 0x7f51e554c5d3 - rustc_middle[6c2d286f0f81b1e4]::ty::relate::structurally_relate_tys:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:379:1 23: 0x7f51e54b9f7c - ::super_combine_tys:: 24: 0x7f51e54a91d1 - ::tys at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_infer/src/infer/relate/type_relating.rs:165:17 25: 0x7f51e713d47f - ::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:372:9 26: 0x7f51e713d47f - ::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:26:9 27: 0x7f51e713d47f - ::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:754:20 28: 0x7f51e7275274 - ::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:26:9 29: 0x7f51e7275274 - ::relate_with_variance:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_infer/src/infer/relate/type_relating.rs:70:81 30: 0x7f51e71c5b40 - rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:126:9 31: 0x7f51e71c5b40 - <&mut rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::{closure#0} as core[aa444211b5f41879]::ops::function::FnOnce<((rustc_middle[6c2d286f0f81b1e4]::ty::generic_args::GenericArg, rustc_middle[6c2d286f0f81b1e4]::ty::generic_args::GenericArg),)>>::call_once at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:305:13 32: 0x7f51e71c5b40 - >::map::, &mut rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/option.rs:1073:29 33: 0x7f51e71c5b40 - >, core[aa444211b5f41879]::iter::adapters::copied::Copied>>, rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::{closure#0}> as core[aa444211b5f41879]::iter::traits::iterator::Iterator>::next at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/iter/adapters/map.rs:108:26 34: 0x7f51e71c5b40 - as rustc_type_ir[34ea19d71c283717]::interner::CollectAndApply>>::collect_and_apply::>, core[aa444211b5f41879]::iter::adapters::copied::Copied>>, rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::{closure#0}>, ::mk_args_from_iter>, core[aa444211b5f41879]::iter::adapters::copied::Copied>>, rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::{closure#0}>, core[aa444211b5f41879]::result::Result>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_type_ir/src/interner.rs:200:26 35: 0x7f51e7272baa - ::mk_args_from_iter::>, core[aa444211b5f41879]::iter::adapters::copied::Copied>>, rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly::{closure#0}>, core[aa444211b5f41879]::result::Result> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:2043:9 36: 0x7f51e7272baa - rustc_middle[6c2d286f0f81b1e4]::ty::relate::relate_args_invariantly:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:125:20 37: 0x7f51e7272baa - ::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:302:24 38: 0x7f51e7276032 - ::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:26:9 39: 0x7f51e7276032 - ::binders:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_infer/src/infer/relate/type_relating.rs:236:18 40: 0x7f51e71f4ac3 - as rustc_middle[6c2d286f0f81b1e4]::ty::relate::Relate>::relate:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:739:9 41: 0x7f51e71f4ac3 - ::relate::> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/relate.rs:26:9 42: 0x7f51e71f4ac3 - ::sup::> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_infer/src/infer/at.rs:258:14 43: 0x7f51e71f4ac3 - ::sup::> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_infer/src/infer/at.rs:123:9 44: 0x7f51e710e327 - ::match_poly_trait_ref at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:2618:9 45: 0x7f51e710e327 - ::match_where_clause_trait_ref at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:2607:9 46: 0x7f51e71b492a - ::where_clause_may_apply::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:1693:19 47: 0x7f51e71b492a - ::evaluation_probe::<::where_clause_may_apply::{closure#0}>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:605:26 48: 0x7f51e71b492a - ::probe::, ::evaluation_probe<::where_clause_may_apply::{closure#0}>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_infer/src/infer/mod.rs:911:17 49: 0x7f51e7111398 - ::evaluation_probe::<::where_clause_may_apply::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:603:9 50: 0x7f51e7111398 - ::where_clause_may_apply at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:1692:14 51: 0x7f51e7111398 - ::assemble_candidates_from_caller_bounds at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs:242:22 52: 0x7f51e7110047 - ::assemble_candidates at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/candidate_assembly.rs:137:13 53: 0x7f51e7106103 - ::candidate_from_obligation_no_cache at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:449:29 54: 0x7f51e7174a62 - ::candidate_from_obligation::{closure#0}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:397:33 55: 0x7f51e7174a62 - ::in_task::<::candidate_from_obligation::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result, rustc_middle[6c2d286f0f81b1e4]::traits::SelectionError>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:1401:88 56: 0x7f51e7174a62 - >::with_anon_task::::in_task<::candidate_from_obligation::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result, rustc_middle[6c2d286f0f81b1e4]::traits::SelectionError>>::{closure#0}, core[aa444211b5f41879]::result::Result, rustc_middle[6c2d286f0f81b1e4]::traits::SelectionError>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/dep_graph/graph.rs:301:22 57: 0x7f51e7125486 - ::in_task::<::candidate_from_obligation::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result, rustc_middle[6c2d286f0f81b1e4]::traits::SelectionError>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:1401:13 58: 0x7f51e7125486 - ::candidate_from_obligation::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:397:13 59: 0x7f51e7125486 - ::candidate_from_obligation at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:365:5 60: 0x7f51e7124691 - ::select_from_obligation at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:362:9 61: 0x7f51e7124691 - ::poly_select::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:315:31 62: 0x7f51e7124691 - ::poly_select at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/select/mod.rs:306:5 63: 0x7f51e7217dfe - ::process_trait_obligation at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/fulfill.rs:708:15 64: 0x7f51e7217dfe - ::process_obligation 65: 0x7f51e71e5e51 - >::process_obligations:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/obligation_forest/mod.rs:457:23 66: 0x7f51e721415c - ::select at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/fulfill.rs:99:13 67: 0x7f51e721415c - ::select_where_possible at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_trait_selection/src/traits/fulfill.rs:149:9 68: 0x7f51e50af55f - ::select_obligations_where_possible::<::check_argument_types::{closure#1}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:592:26 69: 0x7f51e50af55f - ::check_argument_types at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:320:17 70: 0x7f51e507519d - ::confirm_builtin_call at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/callee.rs:521:9 71: 0x7f51e50736b1 - ::check_call 72: 0x7f51e511e5e1 - ::check_expr_kind at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:330:45 73: 0x7f51e508c3de - ::check_expr_with_expectation_and_args::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:235:18 74: 0x7f51e508c3de - stacker[bd635a8d74548ce]::maybe_grow::::check_expr_with_expectation_and_args::{closure#0}> at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9 75: 0x7f51e508c3de - rustc_data_structures[a8e59caf67e0a32f]::stack::ensure_sufficient_stack::::check_expr_with_expectation_and_args::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5 76: 0x7f51e508c3de - ::check_expr_with_expectation_and_args at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:231:18 77: 0x7f51e511d708 - ::check_expr_with_expectation at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:177:9 78: 0x7f51e50b96ac - ::check_block_with_expected::{closure#0}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1677:44 79: 0x7f51e50b96ac - >::map::<(&rustc_hir[87176bb2cd9f0924]::hir::Expr, rustc_middle[6c2d286f0f81b1e4]::ty::Ty), ::check_block_with_expected::{closure#0}::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/option.rs:1073:29 80: 0x7f51e50b96ac - ::check_block_with_expected::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1677:26 81: 0x7f51e50b96ac - ::with_breakable_ctxt::<::check_block_with_expected::{closure#0}, ()> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1581:22 82: 0x7f51e50b96ac - ::check_block_with_expected at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1669:26 83: 0x7f51e511e831 - ::check_expr_kind at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:329:41 84: 0x7f51e508c3de - ::check_expr_with_expectation_and_args::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:235:18 85: 0x7f51e508c3de - stacker[bd635a8d74548ce]::maybe_grow::::check_expr_with_expectation_and_args::{closure#0}> at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9 86: 0x7f51e508c3de - rustc_data_structures[a8e59caf67e0a32f]::stack::ensure_sufficient_stack::::check_expr_with_expectation_and_args::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5 87: 0x7f51e508c3de - ::check_expr_with_expectation_and_args at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:231:18 88: 0x7f51e511d708 - ::check_expr_with_expectation at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:177:9 89: 0x7f51e508d730 - ::check_expr_with_hint at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:129:9 90: 0x7f51e508d730 - ::check_return_expr at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:846:30 91: 0x7f51e535d0f0 - rustc_hir_typeck[b4b74243a619efd6]::check::check_fn at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/check.rs:113:5 92: 0x7f51e52054d9 - rustc_hir_typeck[b4b74243a619efd6]::typeck_with_fallback::::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:215:9 93: 0x7f51e52054d9 - rustc_hir_typeck[b4b74243a619efd6]::typeck_with_fallback:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:170:1 94: 0x7f51e52054d9 - rustc_hir_typeck[b4b74243a619efd6]::typeck at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:144:5 95: 0x7f51e67b0333 - rustc_query_impl[72661472ed32b11e]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:587:47 96: 0x7f51e67b0333 - rustc_query_impl[72661472ed32b11e]::plumbing::__rust_begin_short_backtrace::> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:511:18 97: 0x7f51e69cb55b - rustc_query_impl[72661472ed32b11e]::query_impl::typeck::dynamic_query::{closure#2} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:583:25 98: 0x7f51e69cb55b - >::call_once at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5 99: 0x7f51e6730a90 - >, false, false, false> as rustc_query_system[18d25a63ac9dec]::query::config::QueryConfig>::compute at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:113:9 100: 0x7f51e6730a90 - rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:470:72 101: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9 102: 0x7f51e6730a90 - >>::try_with::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:284:16 103: 0x7f51e6730a90 - >>::with::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9 104: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9 105: 0x7f51e6730a90 - ::start_query::, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:149:13 106: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:133:9 107: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_context::::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:36 108: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_context_opt::::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:100:18 109: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_context::::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:5 110: 0x7f51e6730a90 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 8usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:5 111: 0x7f51e6730a90 - ::start_query::, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:134:9 112: 0x7f51e6730a90 - rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:470:18 113: 0x7f51e6730a90 - rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt, false> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:406:9 114: 0x7f51e6730a90 - rustc_query_system[18d25a63ac9dec]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt, false> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:349:13 115: 0x7f51e69d3c86 - rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:801:32 116: 0x7f51e69d3c86 - stacker[bd635a8d74548ce]::maybe_grow::, rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}> at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9 117: 0x7f51e69d3c86 - rustc_data_structures[a8e59caf67e0a32f]::stack::ensure_sufficient_stack::, rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5 118: 0x7f51e69d3c86 - rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:801:5 119: 0x7f51e69d3c86 - rustc_query_impl[72661472ed32b11e]::query_impl::typeck::get_query_non_incr::__rust_end_short_backtrace at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:561:26 120: 0x7f51e4fa9021 - rustc_middle[6c2d286f0f81b1e4]::query::plumbing::query_ensure::>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:172:9 121: 0x7f51e4fa9021 - ::typeck:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:207:9 122: 0x7f51e4fa9021 - rustc_hir_analysis[cefe1c3b7af66eea]::check_crate::{closure#6} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/lib.rs:223:13 123: 0x7f51e4fa9021 - ::par_body_owners::::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:386:82 124: 0x7f51e4ee183a - rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::enabled::par_for_each_in::<&rustc_span[144b99ae40102460]::def_id::LocalDefId, &[rustc_span[144b99ae40102460]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:182:34 125: 0x7f51e4ee183a - ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9 126: 0x7f51e4ee183a - std[9e45a94ab2b939d9]::panicking::try::do_call::::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>, ()> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:552:40 127: 0x7f51e4ee183a - std[9e45a94ab2b939d9]::panicking::try::<(), core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:516:19 128: 0x7f51e4ee183a - std[9e45a94ab2b939d9]::panic::catch_unwind::::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>, ()> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:146:14 129: 0x7f51e4ee183a - ::run::<(), rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::enabled::par_for_each_in<&rustc_span[144b99ae40102460]::def_id::LocalDefId, &[rustc_span[144b99ae40102460]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:28:9 130: 0x7f51e4f9df5e - rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::enabled::par_for_each_in::<&rustc_span[144b99ae40102460]::def_id::LocalDefId, &[rustc_span[144b99ae40102460]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#1} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:186:21 131: 0x7f51e4f9df5e - as core[aa444211b5f41879]::iter::traits::iterator::Iterator>::for_each::::par_body_owners::{closure#0}>::{closure#0}::{closure#1}> at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/slice/iter/macros.rs:254:21 132: 0x7f51e4f9df5e - rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::enabled::par_for_each_in::<&rustc_span[144b99ae40102460]::def_id::LocalDefId, &[rustc_span[144b99ae40102460]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:185:17 133: 0x7f51e4f9df5e - rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::parallel_guard::<(), rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::enabled::par_for_each_in<&rustc_span[144b99ae40102460]::def_id::LocalDefId, &[rustc_span[144b99ae40102460]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:44:15 134: 0x7f51e4f9df5e - rustc_data_structures[a8e59caf67e0a32f]::sync::parallel::enabled::par_for_each_in::<&rustc_span[144b99ae40102460]::def_id::LocalDefId, &[rustc_span[144b99ae40102460]::def_id::LocalDefId], ::par_body_owners::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:178:9 135: 0x7f51e4f9df5e - ::par_body_owners:: at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:386:9 136: 0x7f51e4f9df5e - rustc_hir_analysis[cefe1c3b7af66eea]::check_crate at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/lib.rs:220:5 137: 0x7f51e5704ed0 - rustc_interface[f62b646c66a22b4a]::passes::analysis at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:730:5 138: 0x7f51e67b08f1 - rustc_query_impl[72661472ed32b11e]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:587:47 139: 0x7f51e67b08f1 - rustc_query_impl[72661472ed32b11e]::plumbing::__rust_begin_short_backtrace::> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:511:18 140: 0x7f51e6b162a7 - rustc_query_impl[72661472ed32b11e]::query_impl::analysis::dynamic_query::{closure#2} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:583:25 141: 0x7f51e6b162a7 - >::call_once at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5 142: 0x7f51e6680b58 - >, false, false, false> as rustc_query_system[18d25a63ac9dec]::query::config::QueryConfig>::compute at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:113:9 143: 0x7f51e6680b58 - rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:470:72 144: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9 145: 0x7f51e6680b58 - >>::try_with::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:284:16 146: 0x7f51e6680b58 - >>::with::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9 147: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::enter_context::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9 148: 0x7f51e6680b58 - ::start_query::, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:149:13 149: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:133:9 150: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_context::::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:36 151: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_context_opt::::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:100:18 152: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_context::::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:111:5 153: 0x7f51e6680b58 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::with_related_context::<::start_query, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[6c2d286f0f81b1e4]::query::erase::Erased<[u8; 1usize]>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:124:5 154: 0x7f51e6680b58 - ::start_query::, rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:134:9 155: 0x7f51e6680b58 - rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:470:18 156: 0x7f51e6680b58 - rustc_query_system[18d25a63ac9dec]::query::plumbing::execute_job::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt, false> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:406:9 157: 0x7f51e6680b58 - rustc_query_system[18d25a63ac9dec]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt, false> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:349:13 158: 0x7f51e69cd8f2 - rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:801:32 159: 0x7f51e69cd8f2 - stacker[bd635a8d74548ce]::maybe_grow::, rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}> at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9 160: 0x7f51e69cd8f2 - rustc_data_structures[a8e59caf67e0a32f]::stack::ensure_sufficient_stack::, rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5 161: 0x7f51e69cd8f2 - rustc_query_system[18d25a63ac9dec]::query::plumbing::get_query_non_incr::>, false, false, false>, rustc_query_impl[72661472ed32b11e]::plumbing::QueryCtxt> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:801:5 162: 0x7f51e69cd8f2 - rustc_query_impl[72661472ed32b11e]::query_impl::analysis::get_query_non_incr::__rust_end_short_backtrace at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:561:26 163: 0x7f51e4aa3b49 - rustc_middle[6c2d286f0f81b1e4]::query::plumbing::query_get_at::>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:156:17 164: 0x7f51e4aa3b49 - ::analysis at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/mod.rs:2252:1 165: 0x7f51e4aa3b49 - ::analysis at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:431:35 166: 0x7f51e4aa3b49 - rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}::{closure#1}::{closure#3} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:438:52 167: 0x7f51e4aa3b49 - ::enter::>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:670:37 168: 0x7f51e4aa3b49 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::enter_context::<::enter>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:82:9 169: 0x7f51e4aa3b49 - >>::try_with::::enter>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:284:16 170: 0x7f51e4aa3b49 - >>::with::::enter>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9 171: 0x7f51e4aa3b49 - rustc_middle[6c2d286f0f81b1e4]::ty::context::tls::enter_context::<::enter>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9 172: 0x7f51e4aa3b49 - ::enter::> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context.rs:670:9 173: 0x7f51e4ab6546 - rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}::{closure#1} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:438:13 174: 0x7f51e4ab6546 - ::enter::, rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/queries.rs:315:19 175: 0x7f51e4ad9e22 - rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:386:22 176: 0x7f51e4ad9e22 - rustc_interface[f62b646c66a22b4a]::interface::run_compiler::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:439:31 177: 0x7f51e4ad9e22 - rustc_span[144b99ae40102460]::set_source_map::, rustc_interface[f62b646c66a22b4a]::interface::run_compiler, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:1275:5 178: 0x7f51e4af8a72 - rustc_interface[f62b646c66a22b4a]::interface::run_compiler::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/interface.rs:425:13 179: 0x7f51e4aec453 - rustc_interface[f62b646c66a22b4a]::util::run_in_thread_pool_with_globals::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:116:13 180: 0x7f51e4aec453 - >::set::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/scoped-tls-1.0.1/src/lib.rs:137:9 181: 0x7f51e4ada2b9 - rustc_span[144b99ae40102460]::create_session_globals_then::, rustc_interface[f62b646c66a22b4a]::util::run_in_thread_pool_with_globals, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}> at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_span/src/lib.rs:136:5 182: 0x7f51e4a8b980 - rustc_interface[f62b646c66a22b4a]::util::run_in_thread_with_globals::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/util.rs:78:38 183: 0x7f51e4a8b980 - std[9e45a94ab2b939d9]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:155:18 184: 0x7f51e4ae7e53 - ::spawn_unchecked_::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1}::{closure#0} at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:528:17 185: 0x7f51e4ae7e53 - ::spawn_unchecked_, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1}::{closure#0}> as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9 186: 0x7f51e4ae7e53 - std[9e45a94ab2b939d9]::panicking::try::do_call::::spawn_unchecked_, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:552:40 187: 0x7f51e4ae7e53 - std[9e45a94ab2b939d9]::panicking::try::, core[aa444211b5f41879]::panic::unwind_safe::AssertUnwindSafe<::spawn_unchecked_, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1}::{closure#0}>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:516:19 188: 0x7f51e4ae7e53 - std[9e45a94ab2b939d9]::panic::catch_unwind::::spawn_unchecked_, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1}::{closure#0}>, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>> at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:146:14 189: 0x7f51e4ae7e53 - ::spawn_unchecked_::, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1} at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/mod.rs:527:30 190: 0x7f51e4ae7e53 - <::spawn_unchecked_, rustc_driver_impl[1a673441bf96e3e3]::run_compiler::{closure#0}>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[aa444211b5f41879]::result::Result<(), rustc_span[144b99ae40102460]::ErrorGuaranteed>>::{closure#1} as core[aa444211b5f41879]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5 191: 0x7f51e8f7257e - as core::ops::function::FnOnce>::call_once::h6534edd00de45d0a at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9 192: 0x7f51e8f7257e - as core::ops::function::FnOnce>::call_once::hfc923cc959abd00c at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2016:9 193: 0x7f51e8f7257e - std::sys::pal::unix::thread::Thread::new::thread_start::h57135b15377165e8 at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys/pal/unix/thread.rs:108:17 194: 0x7f51e2ea955a - 195: 0x7f51e2f26a3c - 196: 0x0 - error: 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.78.0-dev running on x86_64-unknown-linux-gnu query stack during panic: #0 [typeck] type-checking `::foo::bar` #1 [analysis] running analysis passes on this crate end of query stack error: aborting due to 2 previous errors Some errors have detailed explanations: E0392, E0601. For more information about an error, try `rustc --explain E0392`. ```

compiler-errors commented 8 months ago

This is precisely the bug that I pointed out in https://github.com/rust-lang/rust/pull/117246#discussion_r1373815315

The correct fix here would be to re-land #111020 with a proper lint -> warning period -> hard error transition.