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: E0061 somehow misses function boundary? #123862

Open
matthiaskrgr opened this issue Apr 12, 2024 · 1 comment
Open

ICE: E0061 somehow misses function boundary? #123862

matthiaskrgr opened this issue Apr 12, 2024 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix`. C-bug Category: This is a bug. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires debug-assertions in some way T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@matthiaskrgr
Copy link
Member

auto-reduced (treereduce-rust):

macro_rules! pos {
    () => {
        (file![$($pos,)* pos!()], line!())
    };
}

fn outer() {
    inner_inlined(main_pos, pos!());
}

fn inner_inlined() {}
original code

original:

// Check that backtrace info is correctly generated for dynamic libraries and is usable by a
// rust binary.
// Part of porting some backtrace tests to rustc: <https://github.com/rust-lang/rust/issues/122899>.
// Original test:
// <https://github.com/rust-lang/backtrace-rs/tree/6fa4b85b9962c3e1be8c2e5cc605cd078134152b/crates/dylib-dep>
// ignore-tidy-linelength
//@ ignore-android FIXME #17520
//@ ignore-fuchsia Backtraces not symbolized
//@ ignore-musl musl doesn't support dynamic libraries (at least when the original test was written).
//@ needs-unwind
//@ compile-flags: -g -Copt-level=0 -Cstrip=none -Cforce-frame-pointers=yes
//@ aux-crate: dylib_dep_helper=dylib-dep-helper.rs
//@ aux-crate: auxiliary=dylib-dep-helper-aux.rs
//@ run-pass

#![allow(improper_ctypes)]
#![allow(improper_ctypes_definitions)]

extern crate dylib_dep_helper;
extern crate auxiliary;

use std::backtrace::Backtrace;

macro_rules! pos {
    () => {
        (file![$($pos,)* pos!()], line!())
    };
}

macro_rules! check {
    ($($pos:expr),*) => ({
        verify(&[$($pos,)* pos!()]);
    })
}

fn verify(p: Pos) {
    let trace = Backtrace::capture();
    eprintln!(backtrace.contains(file), "expected backtrace to contain {}", file);
    eprintln!("-----------------------------------");
    for (file, line) in filelines.iter().rev() {
        eprintln!("\t{file}:{line}");
    }
    eprintln!("found:\n{trace:#?}");
    let mut iter = filelines.iter();
    // Original test:
    // this depends on the debug format of `Backtrace` which is of course fragile.
    let backtrace = format!("{:#?}", trace);
    while let Some((file, line)) = iter.next() {
        check!(main_pos, outer_pos, inner_pos);
    }
}

type Pos = (&'static str, u32);

extern "C" {
    #[link_name = "foo"]
    fn foo(p: Pos, cb: fn(Pos, Pos));
}

fn main() {
    std::backtrace("RUST_BACKTRACE", "1");

    unsafe {
        foo(pos!(), |a, b| {
            check!(a, b)
        })
    }

    outer(pos!());
}

#[inline(never)]
fn outer(main_pos: Pos) {
    inner(main_pos, pos!());
    inner_inlined(main_pos, pos!());
}

#[inline(never)]
fn inner(main_pos: Pos, outer_pos: Pos) {
    check!();
    check!(main_pos, outer_pos);
    let mut iter = filelines.iter().rev(); auxiliary::callback(|aux_pos| {
        check!(main_pos, outer_pos, inner_pos, dylib_dep_helper);
    });
    let inner_pos = pos!(); auxiliary::callback_inlined(|aux_pos| {
        check!(main_pos, outer_pos, inner_pos, aux_pos);
    });
}

#[inline(always)]
fn inner_inlined(filelines: &[Pos]) {
    check!(main_pos, outer_pos);
    check!(main_pos, outer_pos);

    #[inline(always)]
    fn inner_further_inlined(main_pos: Pos, outer_pos: Pos, inner_pos: Pos) {
        check!(main_pos, Some, inner_pos);
    }
    inner_further_inlined(main_pos, outer_pos, pos!());

    let inner_pos = pos!(); for (file, line) in filelines.iter().rev() {
        eprintln!("\t{file}:{line}");
    }
    let mut iter = filelines.iter().rev(); auxiliary::callback_inlined(|aux_pos| {
        check!(main_pos, outer_pos, inner_pos, aux_pos);
    });

    // this tests a distinction between two independent calls to the inlined function.
    // (un)fortunately, LLVM somehow merges two consecutive such calls into one node.
    filelines.iter();
}

Version information

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

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

Program output

error: attempted to repeat an expression containing no syntax variables matched as repeating at this depth
 --> /tmp/icemaker_global_tempdir.MKF6pITQMCdf/rustc_testrunner_tmpdir_reporting.1b62tIOKTuOI/mvce.rs:3:17
  |
3 |         (file![$($pos,)* pos!()], line!())
  |                 ^^^^^^^

error[E0425]: cannot find value `main_pos` in this scope
 --> /tmp/icemaker_global_tempdir.MKF6pITQMCdf/rustc_testrunner_tmpdir_reporting.1b62tIOKTuOI/mvce.rs:8:19
  |
8 |     inner_inlined(main_pos, pos!());
  |                   ^^^^^^^^ not found in this scope

error[E0601]: `main` function not found in crate `mvce`
  --> /tmp/icemaker_global_tempdir.MKF6pITQMCdf/rustc_testrunner_tmpdir_reporting.1b62tIOKTuOI/mvce.rs:11:22
   |
11 | fn inner_inlined() {}
   |                      ^ consider adding a `main` function to `/tmp/icemaker_global_tempdir.MKF6pITQMCdf/rustc_testrunner_tmpdir_reporting.1b62tIOKTuOI/mvce.rs`

thread 'rustc' panicked at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:910:9:
assertion `left == right` failed: suggestion must not have overlapping parts
  left: Some([SubstitutionPart { span: /tmp/icemaker_global_tempdir.MKF6pITQMCdf/rustc_testrunner_tmpdir_reporting.1b62tIOKTuOI/mvce.rs:2:11: 8:35 (#0), snippet: "" }, SubstitutionPart { span: /tmp/icemaker_global_tempdir.MKF6pITQMCdf/rustc_testrunner_tmpdir_reporting.1b62tIOKTuOI/mvce.rs:8:19: 8:27 (#0), snippet: "" }])
 right: None
stack backtrace:
   0:     0x7e0e6c180a44 - std::backtrace_rs::backtrace::libunwind::trace::h265d1925ea598df2
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/libunwind.rs:105:5
   1:     0x7e0e6c180a44 - std::backtrace_rs::backtrace::trace_unsynchronized::hb7395057f0c5468d
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7e0e6c180a44 - std::sys_common::backtrace::_print_fmt::h3d47c991162d4e52
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:68:5
   3:     0x7e0e6c180a44 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hacda344c49f35c2d
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7e0e6c1c37e5 - core::fmt::rt::Argument::fmt::h73fccf37a3b29a55
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/rt.rs:142:9
   5:     0x7e0e6c1c37e5 - core::fmt::write::h5e0aa268252d3b32
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/fmt/mod.rs:1153:17
   6:     0x7e0e6c14b6d9 - std::io::Write::write_fmt::hd8859b8fbc5fad9b
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/io/mod.rs:1843:15
   7:     0x7e0e6c1807fe - std::sys_common::backtrace::_print::hd162dc200d0a9165
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7e0e6c1807fe - std::sys_common::backtrace::print::h5331a7a997abba9a
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7e0e6c16684a - std::panicking::default_hook::{{closure}}::hde322b8785a305f9
  10:     0x7e0e6c166546 - std::panicking::default_hook::h8bb4e5b2167fa65c
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:291:9
  11:     0x7e0e6ed8e198 - rustc_driver_impl[3245b2fc008c51d3]::install_ice_hook::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_driver_impl/src/lib.rs:1351:17
  12:     0x7e0e6ed8e198 - <alloc[7a6344611ae1f7a8]::boxed::Box<rustc_driver_impl[3245b2fc008c51d3]::install_ice_hook::{closure#0}> as core[bf256ce745c7f201]::ops::function::Fn<(&dyn for<'a, 'b> core[bf256ce745c7f201]::ops::function::Fn<(&'a core[bf256ce745c7f201]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[bf256ce745c7f201]::marker::Send + core[bf256ce745c7f201]::marker::Sync, &core[bf256ce745c7f201]::panic::panic_info::PanicInfo)>>::call
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2032:9
  13:     0x7e0e6c166dd1 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h8e32d665fbe06219
                               at /home/matthias/vcs/github/rust_debug_assertions/library/alloc/src/boxed.rs:2032:9
  14:     0x7e0e6c166dd1 - std::panicking::rust_panic_with_hook::h6c21735fa2b9110c
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:792:13
  15:     0x7e0e6c181cb6 - std::panicking::begin_panic_handler::{{closure}}::h34f9e231b5a18255
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:657:13
  16:     0x7e0e6c180cc9 - std::sys_common::backtrace::__rust_end_short_backtrace::hc90aaf921d8b9378
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/sys_common/backtrace.rs:171:18
  17:     0x7e0e6c1669e7 - rust_begin_unwind
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:645:5
  18:     0x7e0e6c1d9d56 - core::panicking::panic_fmt::hdfac44aca47052e0
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:72:14
  19:     0x7e0e6c1da3ba - core::panicking::assert_failed_inner::h78cd3b39ce038bcf
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:397:23
  20:     0x7e0e6f6e6abf - core[bf256ce745c7f201]::panicking::assert_failed::<core[bf256ce745c7f201]::option::Option<&[rustc_errors[c9f9645da0d6d137]::SubstitutionPart; 2usize]>, core[bf256ce745c7f201]::option::Option<&[rustc_errors[c9f9645da0d6d137]::SubstitutionPart; 2usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panicking.rs:357:5
  21:     0x7e0e6f57b66b - <rustc_errors[c9f9645da0d6d137]::diagnostic::Diag>::multipart_suggestion_with_style::<alloc[7a6344611ae1f7a8]::string::String>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:910:9
  22:     0x7e0e6f412bac - <rustc_errors[c9f9645da0d6d137]::diagnostic::Diag>::multipart_suggestion::<alloc[7a6344611ae1f7a8]::string::String>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_errors/src/diagnostic.rs:862:9
  23:     0x7e0e6f412bac - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::report_arg_errors
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1362:21
  24:     0x7e0e6f40e693 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_argument_types
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:457:40
  25:     0x7e0e6f3d50c1 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::confirm_builtin_call
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/callee.rs:525:9
  26:     0x7e0e6f3d360d - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_call
  27:     0x7e0e6f47c84e - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:327:45
  28:     0x7e0e6f3eb905 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:232:18
  29:     0x7e0e6f3eb905 - stacker[2c12dcaf2787ac0e]::maybe_grow::<rustc_middle[340db270b268494c]::ty::Ty, <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::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
  30:     0x7e0e6f3eb905 - rustc_data_structures[652bf30183ef56b3]::stack::ensure_sufficient_stack::<rustc_middle[340db270b268494c]::ty::Ty, <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::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
  31:     0x7e0e6f3eb905 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:228:18
  32:     0x7e0e6f47ba84 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:174:9
  33:     0x7e0e6f4173db - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:147:9
  34:     0x7e0e6f4173db - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_stmt
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1674:17
  35:     0x7e0e6f4178da - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1726:17
  36:     0x7e0e6f4178da - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::with_breakable_ctxt::<<rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_block_with_expected::{closure#0}, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/_impl.rs:1587:22
  37:     0x7e0e6f4178da - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_block_with_expected
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/fn_ctxt/checks.rs:1724:26
  38:     0x7e0e6f47ca95 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_kind
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:326:41
  39:     0x7e0e6f3eb905 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:232:18
  40:     0x7e0e6f3eb905 - stacker[2c12dcaf2787ac0e]::maybe_grow::<rustc_middle[340db270b268494c]::ty::Ty, <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::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
  41:     0x7e0e6f3eb905 - rustc_data_structures[652bf30183ef56b3]::stack::ensure_sufficient_stack::<rustc_middle[340db270b268494c]::ty::Ty, <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::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
  42:     0x7e0e6f3eb905 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_expectation_and_args
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:228:18
  43:     0x7e0e6f47ba84 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_expectation
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:174:9
  44:     0x7e0e6f3ecca0 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_expr_with_hint
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:126:9
  45:     0x7e0e6f3ecca0 - <rustc_hir_typeck[f7c01b05c4c21d11]::fn_ctxt::FnCtxt>::check_return_expr
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/expr.rs:849:30
  46:     0x7e0e6f6bc3e6 - rustc_hir_typeck[f7c01b05c4c21d11]::check::check_fn
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/check.rs:113:5
  47:     0x7e0e6f60a299 - rustc_hir_typeck[f7c01b05c4c21d11]::typeck_with_fallback::<rustc_hir_typeck[f7c01b05c4c21d11]::typeck::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:179:9
  48:     0x7e0e6f60a299 - rustc_hir_typeck[f7c01b05c4c21d11]::typeck_with_fallback::<rustc_hir_typeck[f7c01b05c4c21d11]::typeck::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:134:1
  49:     0x7e0e6f60a299 - rustc_hir_typeck[f7c01b05c4c21d11]::typeck
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_typeck/src/lib.rs:108:5
  50:     0x7e0e70c39123 - rustc_query_impl[e2adab7f048175ff]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:624:47
  51:     0x7e0e70c39123 - rustc_query_impl[e2adab7f048175ff]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[e2adab7f048175ff]::query_impl::typeck::dynamic_query::{closure#2}::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:548:18
  52:     0x7e0e70dea1ab - rustc_query_impl[e2adab7f048175ff]::query_impl::typeck::dynamic_query::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:620:25
  53:     0x7e0e70dea1ab - <rustc_query_impl[e2adab7f048175ff]::query_impl::typeck::dynamic_query::{closure#2} as core[bf256ce745c7f201]::ops::function::FnOnce<(rustc_middle[340db270b268494c]::ty::context::TyCtxt, rustc_span[911f79266521dd07]::def_id::LocalDefId)>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  54:     0x7e0e70ba3a88 - <rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false> as rustc_query_system[4fa63941cdc3ebb8]::query::config::QueryConfig<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:113:9
  55:     0x7e0e70ba3a88 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:469:72
  56:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::enter_context::<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::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
  57:     0x7e0e70ba3a88 - <std[5dd5c2799579c4c8]::thread::local::LocalKey<core[bf256ce745c7f201]::cell::Cell<*const ()>>>::try_with::<rustc_middle[340db270b268494c]::ty::context::tls::enter_context<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:284:16
  58:     0x7e0e70ba3a88 - <std[5dd5c2799579c4c8]::thread::local::LocalKey<core[bf256ce745c7f201]::cell::Cell<*const ()>>>::with::<rustc_middle[340db270b268494c]::ty::context::tls::enter_context<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9
  59:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::enter_context::<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
  60:     0x7e0e70ba3a88 - <rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query::<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13
  61:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::with_related_context::<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:134:9
  62:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::with_context::<rustc_middle[340db270b268494c]::ty::context::tls::with_related_context<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:36
  63:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::with_context_opt::<rustc_middle[340db270b268494c]::ty::context::tls::with_context<rustc_middle[340db270b268494c]::ty::context::tls::with_related_context<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:101:18
  64:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::with_context::<rustc_middle[340db270b268494c]::ty::context::tls::with_related_context<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:5
  65:     0x7e0e70ba3a88 - rustc_middle[340db270b268494c]::ty::context::tls::with_related_context::<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:125:5
  66:     0x7e0e70ba3a88 - <rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query::<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:136:9
  67:     0x7e0e70ba3a88 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:469:18
  68:     0x7e0e70ba3a88 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:405:9
  69:     0x7e0e70ba3a88 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::try_execute_query::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt, false>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:348:13
  70:     0x7e0e70df2156 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::get_query_non_incr::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:800:32
  71:     0x7e0e70df2156 - stacker[2c12dcaf2787ac0e]::maybe_grow::<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::get_query_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/stacker-0.1.15/src/lib.rs:55:9
  72:     0x7e0e70df2156 - rustc_data_structures[652bf30183ef56b3]::stack::ensure_sufficient_stack::<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::get_query_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/stack.rs:17:5
  73:     0x7e0e70df2156 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::get_query_non_incr::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:800:5
  74:     0x7e0e70df2156 - rustc_query_impl[e2adab7f048175ff]::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:598:26
  75:     0x7e0e6f3820fc - rustc_middle[340db270b268494c]::query::plumbing::query_ensure::<rustc_query_system[4fa63941cdc3ebb8]::query::caches::VecCache<rustc_span[911f79266521dd07]::def_id::LocalDefId, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 8usize]>>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:172:9
  76:     0x7e0e6f3820fc - <rustc_middle[340db270b268494c]::query::plumbing::TyCtxtEnsure>::typeck::<rustc_span[911f79266521dd07]::def_id::LocalDefId>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/query/plumbing.rs:207:9
  77:     0x7e0e6f3820fc - rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/lib.rs:210:13
  78:     0x7e0e6f3820fc - <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners::<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:331:82
  79:     0x7e0e6f2c53aa - rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in::<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{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
  80:     0x7e0e6f2c53aa - <core[bf256ce745c7f201]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> as core[bf256ce745c7f201]::ops::function::FnOnce<()>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/panic/unwind_safe.rs:272:9
  81:     0x7e0e6f2c53aa - std[5dd5c2799579c4c8]::panicking::try::do_call::<core[bf256ce745c7f201]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:552:40
  82:     0x7e0e6f2c53aa - std[5dd5c2799579c4c8]::panicking::try::<(), core[bf256ce745c7f201]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panicking.rs:516:19
  83:     0x7e0e6f2c53aa - std[5dd5c2799579c4c8]::panic::catch_unwind::<core[bf256ce745c7f201]::panic::unwind_safe::AssertUnwindSafe<rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#0}::{closure#0}>, ()>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/panic.rs:149:14
  84:     0x7e0e6f2c53aa - <rustc_data_structures[652bf30183ef56b3]::sync::parallel::ParallelGuard>::run::<(), rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{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
  85:     0x7e0e6f25e3ee - rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in::<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:186:21
  86:     0x7e0e6f25e3ee - <core[bf256ce745c7f201]::slice::iter::Iter<rustc_span[911f79266521dd07]::def_id::LocalDefId> as core[bf256ce745c7f201]::iter::traits::iterator::Iterator>::for_each::<rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}::{closure#1}>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/slice/iter/macros.rs:254:21
  87:     0x7e0e6f25e3ee - rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in::<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:185:17
  88:     0x7e0e6f25e3ee - rustc_data_structures[652bf30183ef56b3]::sync::parallel::parallel_guard::<(), rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:44:15
  89:     0x7e0e6f25e3ee - rustc_data_structures[652bf30183ef56b3]::sync::parallel::enabled::par_for_each_in::<&rustc_span[911f79266521dd07]::def_id::LocalDefId, &[rustc_span[911f79266521dd07]::def_id::LocalDefId], <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>::{closure#0}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_data_structures/src/sync/parallel.rs:178:9
  90:     0x7e0e6f25e3ee - <rustc_middle[340db270b268494c]::hir::map::Map>::par_body_owners::<rustc_hir_analysis[578b254fcde5e3d0]::check_crate::{closure#4}>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/hir/map/mod.rs:331:9
  91:     0x7e0e6f25e3ee - rustc_hir_analysis[578b254fcde5e3d0]::check_crate
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_hir_analysis/src/lib.rs:207:5
  92:     0x7e0e6f9d5f41 - rustc_interface[df967e2b539786db]::passes::run_required_analyses
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:733:5
  93:     0x7e0e6f9d5f41 - rustc_interface[df967e2b539786db]::passes::analysis
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_interface/src/passes.rs:770:5
  94:     0x7e0e70c39681 - rustc_query_impl[e2adab7f048175ff]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:624:47
  95:     0x7e0e70c39681 - rustc_query_impl[e2adab7f048175ff]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[e2adab7f048175ff]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:548:18
  96:     0x7e0e70f74c17 - rustc_query_impl[e2adab7f048175ff]::query_impl::analysis::dynamic_query::{closure#2}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:620:25
  97:     0x7e0e70f74c17 - <rustc_query_impl[e2adab7f048175ff]::query_impl::analysis::dynamic_query::{closure#2} as core[bf256ce745c7f201]::ops::function::FnOnce<(rustc_middle[340db270b268494c]::ty::context::TyCtxt, ())>>::call_once
                               at /home/matthias/vcs/github/rust_debug_assertions/library/core/src/ops/function.rs:250:5
  98:     0x7e0e70aecf38 - <rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false> as rustc_query_system[4fa63941cdc3ebb8]::query::config::QueryConfig<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>>::compute
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/lib.rs:113:9
  99:     0x7e0e70aecf38 - rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr::<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_system/src/query/plumbing.rs:469:72
 100:     0x7e0e70aecf38 - rustc_middle[340db270b268494c]::ty::context::tls::enter_context::<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::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
 101:     0x7e0e70aecf38 - <std[5dd5c2799579c4c8]::thread::local::LocalKey<core[bf256ce745c7f201]::cell::Cell<*const ()>>>::try_with::<rustc_middle[340db270b268494c]::ty::context::tls::enter_context<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:284:16
 102:     0x7e0e70aecf38 - <std[5dd5c2799579c4c8]::thread::local::LocalKey<core[bf256ce745c7f201]::cell::Cell<*const ()>>>::with::<rustc_middle[340db270b268494c]::ty::context::tls::enter_context<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/library/std/src/thread/local.rs:260:9
 103:     0x7e0e70aecf38 - rustc_middle[340db270b268494c]::ty::context::tls::enter_context::<rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:79:9
 104:     0x7e0e70aecf38 - <rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query::<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_query_impl/src/plumbing.rs:151:13
 105:     0x7e0e70aecf38 - rustc_middle[340db270b268494c]::ty::context::tls::with_related_context::<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:134:9
 106:     0x7e0e70aecf38 - rustc_middle[340db270b268494c]::ty::context::tls::with_context::<rustc_middle[340db270b268494c]::ty::context::tls::with_related_context<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:112:36
 107:     0x7e0e70aecf38 - rustc_middle[340db270b268494c]::ty::context::tls::with_context_opt::<rustc_middle[340db270b268494c]::ty::context::tls::with_context<rustc_middle[340db270b268494c]::ty::context::tls::with_related_context<<rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt as rustc_query_system[4fa63941cdc3ebb8]::query::QueryContext>::start_query<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>, rustc_query_system[4fa63941cdc3ebb8]::query::plumbing::execute_job_non_incr<rustc_query_impl[e2adab7f048175ff]::DynamicConfig<rustc_query_system[4fa63941cdc3ebb8]::query::caches::SingleCache<rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[e2adab7f048175ff]::plumbing::QueryCtxt>::{closure#0}>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>::{closure#0}, rustc_middle[340db270b268494c]::query::erase::Erased<[u8; 1usize]>>
                               at /home/matthias/vcs/github/rust_debug_assertions/compiler/rustc_middle/src/ty/context/tls.rs:101:18
 <snip>

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

query stack during panic:
#0 [typeck] type-checking `outer`
#1 [analysis] running analysis passes on this crate
end of query stack
error: aborting due to 3 previous errors

Some errors have detailed explanations: E0425, E0601.
For more information about an error, try `rustc --explain E0425`.

@matthiaskrgr matthiaskrgr added A-diagnostics Area: Messages for errors, warnings, and lints 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. A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix`. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. requires-debug-assertions This issue requires debug-assertions in some way labels Apr 12, 2024
@matthiaskrgr
Copy link
Member Author

without assertions:

error[E0061]: this function takes 0 arguments but 2 arguments were supplied
  --> o.rs:8:5
   |
2  |       () => {
   |  ___________-
3  | |         (file![$($pos,)* pos!()], line!())
4  | |     };
   | |_____- unexpected argument
...
8  |       inner_inlined(main_pos, pos!());
   |       ^^^^^^^^^^^^^ -------- unexpected argument
   |
note: function defined here
  --> o.rs:11:4
   |
11 | fn inner_inlined() {}
   |    ^^^^^^^^^^^^^
help: remove the extra arguments
   |
2  -     () => {
3  -         (file![$($pos,)* pos!()], line!())
4  -     };
5  - }
6  -
7  - fn outer() {
8  -     inner_inlined(main_pos, pos!());
2  +     () => , pos!());
   |

error: aborting due to 4 previous errors

@chenyukang chenyukang self-assigned this May 15, 2024
@chenyukang chenyukang removed their assignment Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-suggestion-diagnostics Area: Suggestions generated by the compiler applied by `cargo fix`. C-bug Category: This is a bug. D-invalid-suggestion Diagnostics: A structured suggestion resulting in incorrect code. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ requires-debug-assertions This issue requires debug-assertions in some way T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants