From 0f635416942b30f9eae3991bc2763c41dead8333 Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 12:20:01 +0200 Subject: [PATCH 1/9] cleaned starknet syncing --- Cargo.lock | 11 +++ macro_utils/Cargo.toml | 2 +- rustc-ice-2024-05-23T08_57_45-16285.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16286.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16287.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16288.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16289.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16290.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16291.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16292.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16293.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16294.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16295.txt | 114 ++++++++++++++++++++++++ rustc-ice-2024-05-23T08_57_45-16296.txt | 114 ++++++++++++++++++++++++ unit_tests/Cargo.toml | 1 + unit_tests/tests/common.rs | 2 +- unit_tests/tests/test_block_number.rs | 2 +- unit_tests/tests/test_chain_id.rs | 2 + unit_tests/tests/test_syncing.rs | 58 +++++++++++- 19 files changed, 1441 insertions(+), 5 deletions(-) create mode 100644 rustc-ice-2024-05-23T08_57_45-16285.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16286.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16287.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16288.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16289.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16290.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16291.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16292.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16293.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16294.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16295.txt create mode 100644 rustc-ice-2024-05-23T08_57_45-16296.txt diff --git a/Cargo.lock b/Cargo.lock index d492522..0b1a618 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -320,6 +320,16 @@ dependencies = [ "inout", ] +[[package]] +name = "colored" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cbf2150cce219b664a8a70df7a1f933836724b503f8a413af9365b4dcc4d90b8" +dependencies = [ + "lazy_static", + "windows-sys 0.48.0", +] + [[package]] name = "concurrent-queue" version = "2.4.0" @@ -2805,6 +2815,7 @@ name = "unit_tests" version = "0.1.0" dependencies = [ "anyhow", + "colored", "env_logger", "flate2", "jsonrpsee", diff --git a/macro_utils/Cargo.toml b/macro_utils/Cargo.toml index 9b4900b..72af1f9 100644 --- a/macro_utils/Cargo.toml +++ b/macro_utils/Cargo.toml @@ -16,4 +16,4 @@ url = "2.5.0" syn = "2.0.48" quote = "1.0.35" tokio = { version = "1", features = ["full"] } -lazy_static = "1.4.0" \ No newline at end of file +lazy_static = "1.4.0" diff --git a/rustc-ice-2024-05-23T08_57_45-16285.txt b/rustc-ice-2024-05-23T08_57_45-16285.txt new file mode 100644 index 0000000..dfa4419 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16285.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10515840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10e7574c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105170f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105170d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x10516e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105170ab8 - _rust_begin_unwind + 6: 0x1051cb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x1051ae254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1051cb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10ec38004 - ::coerce + 10: 0x10eca6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10eb14178 - ::coerce + 12: 0x10eb36b4c - ::check_argument_types + 13: 0x10eb10b1c - ::confirm_builtin_call + 14: 0x10eb0f804 - ::check_call + 15: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10eb7b458 - ::check_expr_kind + 17: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 18: 0x10eb3c814 - ::check_decl_initializer + 19: 0x10eb3c9dc - ::check_decl + 20: 0x10eb3cd50 - ::check_stmt + 21: 0x10eb3d3bc - ::check_block_with_expected + 22: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 23: 0x10eb20768 - ::check_return_expr + 24: 0x10ebf6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10ec85bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10f9967d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10faedc3c - >::call_once + 28: 0x10f94eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10fab185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10e994c80 - ::par_body_owners::::{closure#0} + 31: 0x10e97292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10ea3681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10eeee9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10f996870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10fa842cc - >::call_once + 36: 0x10f8c5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10fa547fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10e760ee4 - ::enter::> + 39: 0x10e72b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10e75ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10e760100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10e754aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10e724cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x105178788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10515840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10e7574c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105170f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105170d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x10516e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105170ab8 - _rust_begin_unwind + 6: 0x1051cb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x1051ae254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1051cb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10ec38004 - ::coerce + 10: 0x10eca6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10eb14178 - ::coerce + 12: 0x10eb36b4c - ::check_argument_types + 13: 0x10eb10b1c - ::confirm_builtin_call + 14: 0x10eb0f804 - ::check_call + 15: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10eb3cec4 - ::check_stmt + 17: 0x10eb3d3bc - ::check_block_with_expected + 18: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 19: 0x10eb7db6c - ::check_expr_kind + 20: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 21: 0x10eb3cdcc - ::check_stmt + 22: 0x10eb3d3bc - ::check_block_with_expected + 23: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args + 24: 0x10eb20768 - ::check_return_expr + 25: 0x10ebf6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10ec85bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10f9967d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10faedc3c - >::call_once + 29: 0x10f94eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10fab185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10e994c80 - ::par_body_owners::::{closure#0} + 32: 0x10e97292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10ea3681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10eeee9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10f996870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10fa842cc - >::call_once + 37: 0x10f8c5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10fa547fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10e760ee4 - ::enter::> + 40: 0x10e72b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10e75ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10e760100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10e754aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10e724cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x105178788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16286.txt b/rustc-ice-2024-05-23T08_57_45-16286.txt new file mode 100644 index 0000000..c32fd45 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16286.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10577840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10ed774c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105790f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105790d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x10578e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105790ab8 - _rust_begin_unwind + 6: 0x1057eb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x1057ce254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1057eb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10f258004 - ::coerce + 10: 0x10f2c6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10f134178 - ::coerce + 12: 0x10f156b4c - ::check_argument_types + 13: 0x10f130b1c - ::confirm_builtin_call + 14: 0x10f12f804 - ::check_call + 15: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10f19b458 - ::check_expr_kind + 17: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 18: 0x10f15c814 - ::check_decl_initializer + 19: 0x10f15c9dc - ::check_decl + 20: 0x10f15cd50 - ::check_stmt + 21: 0x10f15d3bc - ::check_block_with_expected + 22: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 23: 0x10f140768 - ::check_return_expr + 24: 0x10f216874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10f2a5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10ffb67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x11010dc3c - >::call_once + 28: 0x10ff6eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x1100d185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10efb4c80 - ::par_body_owners::::{closure#0} + 31: 0x10ef9292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10f05681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10f50e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10ffb6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x1100a42cc - >::call_once + 36: 0x10fee5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x1100747fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10ed80ee4 - ::enter::> + 39: 0x10ed4b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10ed7ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10ed80100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10ed74aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10ed44cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x105798788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10577840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10ed774c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105790f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105790d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x10578e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105790ab8 - _rust_begin_unwind + 6: 0x1057eb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x1057ce254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1057eb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10f258004 - ::coerce + 10: 0x10f2c6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10f134178 - ::coerce + 12: 0x10f156b4c - ::check_argument_types + 13: 0x10f130b1c - ::confirm_builtin_call + 14: 0x10f12f804 - ::check_call + 15: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10f15cec4 - ::check_stmt + 17: 0x10f15d3bc - ::check_block_with_expected + 18: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 19: 0x10f19db6c - ::check_expr_kind + 20: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 21: 0x10f15cdcc - ::check_stmt + 22: 0x10f15d3bc - ::check_block_with_expected + 23: 0x10f13f5f4 - ::check_expr_with_expectation_and_args + 24: 0x10f140768 - ::check_return_expr + 25: 0x10f216874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10f2a5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10ffb67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x11010dc3c - >::call_once + 29: 0x10ff6eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x1100d185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10efb4c80 - ::par_body_owners::::{closure#0} + 32: 0x10ef9292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10f05681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10f50e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10ffb6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x1100a42cc - >::call_once + 37: 0x10fee5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x1100747fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10ed80ee4 - ::enter::> + 40: 0x10ed4b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10ed7ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10ed80100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10ed74aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10ed44cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x105798788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16287.txt b/rustc-ice-2024-05-23T08_57_45-16287.txt new file mode 100644 index 0000000..41ea630 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16287.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x101d6c40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10b36b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x101d84f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x101d84d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x101d82448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x101d84ab8 - _rust_begin_unwind + 6: 0x101ddf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x101dc2254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x101ddf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10b84c004 - ::coerce + 10: 0x10b8bad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10b728178 - ::coerce + 12: 0x10b74ab4c - ::check_argument_types + 13: 0x10b724b1c - ::confirm_builtin_call + 14: 0x10b723804 - ::check_call + 15: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 16: 0x10b78f458 - ::check_expr_kind + 17: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 18: 0x10b750814 - ::check_decl_initializer + 19: 0x10b7509dc - ::check_decl + 20: 0x10b750d50 - ::check_stmt + 21: 0x10b7513bc - ::check_block_with_expected + 22: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 23: 0x10b734768 - ::check_return_expr + 24: 0x10b80a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10b899bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10c5aa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10c701c3c - >::call_once + 28: 0x10c562b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10c6c585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10b5a8c80 - ::par_body_owners::::{closure#0} + 31: 0x10b58692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10b64a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10bb029fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10c5aa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10c6982cc - >::call_once + 36: 0x10c4d9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10c6687fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10b374ee4 - ::enter::> + 39: 0x10b33f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10b372c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10b374100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10b368aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10b338cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x101d8c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x101d6c40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10b36b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x101d84f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x101d84d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x101d82448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x101d84ab8 - _rust_begin_unwind + 6: 0x101ddf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x101dc2254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x101ddf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10b84c004 - ::coerce + 10: 0x10b8bad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10b728178 - ::coerce + 12: 0x10b74ab4c - ::check_argument_types + 13: 0x10b724b1c - ::confirm_builtin_call + 14: 0x10b723804 - ::check_call + 15: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 16: 0x10b750ec4 - ::check_stmt + 17: 0x10b7513bc - ::check_block_with_expected + 18: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 19: 0x10b791b6c - ::check_expr_kind + 20: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 21: 0x10b750dcc - ::check_stmt + 22: 0x10b7513bc - ::check_block_with_expected + 23: 0x10b7335f4 - ::check_expr_with_expectation_and_args + 24: 0x10b734768 - ::check_return_expr + 25: 0x10b80a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10b899bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10c5aa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10c701c3c - >::call_once + 29: 0x10c562b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10c6c585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10b5a8c80 - ::par_body_owners::::{closure#0} + 32: 0x10b58692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10b64a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10bb029fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10c5aa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10c6982cc - >::call_once + 37: 0x10c4d9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10c6687fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10b374ee4 - ::enter::> + 40: 0x10b33f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10b372c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10b374100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10b368aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10b338cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x101d8c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16288.txt b/rustc-ice-2024-05-23T08_57_45-16288.txt new file mode 100644 index 0000000..e35901d --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16288.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x103b4840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10d1474c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x103b60f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x103b60d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x103b5e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x103b60ab8 - _rust_begin_unwind + 6: 0x103bbb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x103b9e254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x103bbb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10d628004 - ::coerce + 10: 0x10d696d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10d504178 - ::coerce + 12: 0x10d526b4c - ::check_argument_types + 13: 0x10d500b1c - ::confirm_builtin_call + 14: 0x10d4ff804 - ::check_call + 15: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10d56b458 - ::check_expr_kind + 17: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 18: 0x10d52c814 - ::check_decl_initializer + 19: 0x10d52c9dc - ::check_decl + 20: 0x10d52cd50 - ::check_stmt + 21: 0x10d52d3bc - ::check_block_with_expected + 22: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 23: 0x10d510768 - ::check_return_expr + 24: 0x10d5e6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10d675bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10e3867d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10e4ddc3c - >::call_once + 28: 0x10e33eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10e4a185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10d384c80 - ::par_body_owners::::{closure#0} + 31: 0x10d36292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10d42681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10d8de9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10e386870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10e4742cc - >::call_once + 36: 0x10e2b5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10e4447fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10d150ee4 - ::enter::> + 39: 0x10d11b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10d14ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10d150100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10d144aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10d114cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x103b68788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x103b4840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10d1474c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x103b60f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x103b60d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x103b5e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x103b60ab8 - _rust_begin_unwind + 6: 0x103bbb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x103b9e254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x103bbb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10d628004 - ::coerce + 10: 0x10d696d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10d504178 - ::coerce + 12: 0x10d526b4c - ::check_argument_types + 13: 0x10d500b1c - ::confirm_builtin_call + 14: 0x10d4ff804 - ::check_call + 15: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10d52cec4 - ::check_stmt + 17: 0x10d52d3bc - ::check_block_with_expected + 18: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 19: 0x10d56db6c - ::check_expr_kind + 20: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 21: 0x10d52cdcc - ::check_stmt + 22: 0x10d52d3bc - ::check_block_with_expected + 23: 0x10d50f5f4 - ::check_expr_with_expectation_and_args + 24: 0x10d510768 - ::check_return_expr + 25: 0x10d5e6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10d675bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10e3867d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10e4ddc3c - >::call_once + 29: 0x10e33eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10e4a185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10d384c80 - ::par_body_owners::::{closure#0} + 32: 0x10d36292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10d42681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10d8de9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10e386870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10e4742cc - >::call_once + 37: 0x10e2b5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10e4447fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10d150ee4 - ::enter::> + 40: 0x10d11b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10d14ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10d150100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10d144aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10d114cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x103b68788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16289.txt b/rustc-ice-2024-05-23T08_57_45-16289.txt new file mode 100644 index 0000000..6a3a498 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16289.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x101b1c40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10b11b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x101b34f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x101b34d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x101b32448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x101b34ab8 - _rust_begin_unwind + 6: 0x101b8f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x101b72254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x101b8f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10b5fc004 - ::coerce + 10: 0x10b66ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10b4d8178 - ::coerce + 12: 0x10b4fab4c - ::check_argument_types + 13: 0x10b4d4b1c - ::confirm_builtin_call + 14: 0x10b4d3804 - ::check_call + 15: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 16: 0x10b53f458 - ::check_expr_kind + 17: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 18: 0x10b500814 - ::check_decl_initializer + 19: 0x10b5009dc - ::check_decl + 20: 0x10b500d50 - ::check_stmt + 21: 0x10b5013bc - ::check_block_with_expected + 22: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 23: 0x10b4e4768 - ::check_return_expr + 24: 0x10b5ba874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10b649bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10c35a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10c4b1c3c - >::call_once + 28: 0x10c312b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10c47585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10b358c80 - ::par_body_owners::::{closure#0} + 31: 0x10b33692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10b3fa81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10b8b29fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10c35a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10c4482cc - >::call_once + 36: 0x10c289308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10c4187fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10b124ee4 - ::enter::> + 39: 0x10b0ef3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10b122c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10b124100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10b118aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10b0e8cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x101b3c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x101b1c40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10b11b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x101b34f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x101b34d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x101b32448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x101b34ab8 - _rust_begin_unwind + 6: 0x101b8f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x101b72254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x101b8f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10b5fc004 - ::coerce + 10: 0x10b66ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10b4d8178 - ::coerce + 12: 0x10b4fab4c - ::check_argument_types + 13: 0x10b4d4b1c - ::confirm_builtin_call + 14: 0x10b4d3804 - ::check_call + 15: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 16: 0x10b500ec4 - ::check_stmt + 17: 0x10b5013bc - ::check_block_with_expected + 18: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 19: 0x10b541b6c - ::check_expr_kind + 20: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 21: 0x10b500dcc - ::check_stmt + 22: 0x10b5013bc - ::check_block_with_expected + 23: 0x10b4e35f4 - ::check_expr_with_expectation_and_args + 24: 0x10b4e4768 - ::check_return_expr + 25: 0x10b5ba874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10b649bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10c35a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10c4b1c3c - >::call_once + 29: 0x10c312b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10c47585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10b358c80 - ::par_body_owners::::{closure#0} + 32: 0x10b33692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10b3fa81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10b8b29fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10c35a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10c4482cc - >::call_once + 37: 0x10c289308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10c4187fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10b124ee4 - ::enter::> + 40: 0x10b0ef3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10b122c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10b124100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10b118aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10b0e8cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x101b3c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16290.txt b/rustc-ice-2024-05-23T08_57_45-16290.txt new file mode 100644 index 0000000..3ca51bd --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16290.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x105b4c40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10f14b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105b64f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105b64d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x105b62448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105b64ab8 - _rust_begin_unwind + 6: 0x105bbf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x105ba2254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x105bbf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10f62c004 - ::coerce + 10: 0x10f69ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10f508178 - ::coerce + 12: 0x10f52ab4c - ::check_argument_types + 13: 0x10f504b1c - ::confirm_builtin_call + 14: 0x10f503804 - ::check_call + 15: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 16: 0x10f56f458 - ::check_expr_kind + 17: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 18: 0x10f530814 - ::check_decl_initializer + 19: 0x10f5309dc - ::check_decl + 20: 0x10f530d50 - ::check_stmt + 21: 0x10f5313bc - ::check_block_with_expected + 22: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 23: 0x10f514768 - ::check_return_expr + 24: 0x10f5ea874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10f679bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x11038a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x1104e1c3c - >::call_once + 28: 0x110342b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x1104a585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10f388c80 - ::par_body_owners::::{closure#0} + 31: 0x10f36692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10f42a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10f8e29fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x11038a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x1104782cc - >::call_once + 36: 0x1102b9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x1104487fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10f154ee4 - ::enter::> + 39: 0x10f11f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10f152c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10f154100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10f148aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10f118cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x105b6c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x105b4c40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10f14b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105b64f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105b64d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x105b62448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105b64ab8 - _rust_begin_unwind + 6: 0x105bbf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x105ba2254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x105bbf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10f62c004 - ::coerce + 10: 0x10f69ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10f508178 - ::coerce + 12: 0x10f52ab4c - ::check_argument_types + 13: 0x10f504b1c - ::confirm_builtin_call + 14: 0x10f503804 - ::check_call + 15: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 16: 0x10f530ec4 - ::check_stmt + 17: 0x10f5313bc - ::check_block_with_expected + 18: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 19: 0x10f571b6c - ::check_expr_kind + 20: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 21: 0x10f530dcc - ::check_stmt + 22: 0x10f5313bc - ::check_block_with_expected + 23: 0x10f5135f4 - ::check_expr_with_expectation_and_args + 24: 0x10f514768 - ::check_return_expr + 25: 0x10f5ea874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10f679bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x11038a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x1104e1c3c - >::call_once + 29: 0x110342b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x1104a585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10f388c80 - ::par_body_owners::::{closure#0} + 32: 0x10f36692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10f42a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10f8e29fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x11038a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x1104782cc - >::call_once + 37: 0x1102b9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x1104487fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10f154ee4 - ::enter::> + 40: 0x10f11f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10f152c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10f154100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10f148aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10f118cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x105b6c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16291.txt b/rustc-ice-2024-05-23T08_57_45-16291.txt new file mode 100644 index 0000000..394a7fb --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16291.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10174040c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10ad3f4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x101758f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x101758d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x101756448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x101758ab8 - _rust_begin_unwind + 6: 0x1017b3968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x101796254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1017b3934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10b220004 - ::coerce + 10: 0x10b28ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10b0fc178 - ::coerce + 12: 0x10b11eb4c - ::check_argument_types + 13: 0x10b0f8b1c - ::confirm_builtin_call + 14: 0x10b0f7804 - ::check_call + 15: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 16: 0x10b163458 - ::check_expr_kind + 17: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 18: 0x10b124814 - ::check_decl_initializer + 19: 0x10b1249dc - ::check_decl + 20: 0x10b124d50 - ::check_stmt + 21: 0x10b1253bc - ::check_block_with_expected + 22: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 23: 0x10b108768 - ::check_return_expr + 24: 0x10b1de874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10b26dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10bf7e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10c0d5c3c - >::call_once + 28: 0x10bf36b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10c09985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10af7cc80 - ::par_body_owners::::{closure#0} + 31: 0x10af5a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10b01e81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10b4d69fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10bf7e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10c06c2cc - >::call_once + 36: 0x10bead308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10c03c7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10ad48ee4 - ::enter::> + 39: 0x10ad133f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10ad46c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10ad48100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10ad3caa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10ad0ccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x101760788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10174040c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10ad3f4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x101758f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x101758d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x101756448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x101758ab8 - _rust_begin_unwind + 6: 0x1017b3968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x101796254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1017b3934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10b220004 - ::coerce + 10: 0x10b28ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10b0fc178 - ::coerce + 12: 0x10b11eb4c - ::check_argument_types + 13: 0x10b0f8b1c - ::confirm_builtin_call + 14: 0x10b0f7804 - ::check_call + 15: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 16: 0x10b124ec4 - ::check_stmt + 17: 0x10b1253bc - ::check_block_with_expected + 18: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 19: 0x10b165b6c - ::check_expr_kind + 20: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 21: 0x10b124dcc - ::check_stmt + 22: 0x10b1253bc - ::check_block_with_expected + 23: 0x10b1075f4 - ::check_expr_with_expectation_and_args + 24: 0x10b108768 - ::check_return_expr + 25: 0x10b1de874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10b26dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10bf7e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10c0d5c3c - >::call_once + 29: 0x10bf36b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10c09985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10af7cc80 - ::par_body_owners::::{closure#0} + 32: 0x10af5a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10b01e81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10b4d69fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10bf7e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10c06c2cc - >::call_once + 37: 0x10bead308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10c03c7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10ad48ee4 - ::enter::> + 40: 0x10ad133f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10ad46c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10ad48100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10ad3caa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10ad0ccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x101760788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16292.txt b/rustc-ice-2024-05-23T08_57_45-16292.txt new file mode 100644 index 0000000..3999f87 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16292.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x105ca840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10f2a74c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105cc0f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105cc0d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x105cbe448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105cc0ab8 - _rust_begin_unwind + 6: 0x105d1b968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x105cfe254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x105d1b934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10f788004 - ::coerce + 10: 0x10f7f6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10f664178 - ::coerce + 12: 0x10f686b4c - ::check_argument_types + 13: 0x10f660b1c - ::confirm_builtin_call + 14: 0x10f65f804 - ::check_call + 15: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10f6cb458 - ::check_expr_kind + 17: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 18: 0x10f68c814 - ::check_decl_initializer + 19: 0x10f68c9dc - ::check_decl + 20: 0x10f68cd50 - ::check_stmt + 21: 0x10f68d3bc - ::check_block_with_expected + 22: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 23: 0x10f670768 - ::check_return_expr + 24: 0x10f746874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10f7d5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x1104e67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x11063dc3c - >::call_once + 28: 0x11049eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x11060185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10f4e4c80 - ::par_body_owners::::{closure#0} + 31: 0x10f4c292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10f58681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10fa3e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x1104e6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x1105d42cc - >::call_once + 36: 0x110415308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x1105a47fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10f2b0ee4 - ::enter::> + 39: 0x10f27b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10f2aec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10f2b0100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10f2a4aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10f274cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x105cc8788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x105ca840c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10f2a74c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105cc0f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105cc0d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x105cbe448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105cc0ab8 - _rust_begin_unwind + 6: 0x105d1b968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x105cfe254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x105d1b934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10f788004 - ::coerce + 10: 0x10f7f6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10f664178 - ::coerce + 12: 0x10f686b4c - ::check_argument_types + 13: 0x10f660b1c - ::confirm_builtin_call + 14: 0x10f65f804 - ::check_call + 15: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 16: 0x10f68cec4 - ::check_stmt + 17: 0x10f68d3bc - ::check_block_with_expected + 18: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 19: 0x10f6cdb6c - ::check_expr_kind + 20: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 21: 0x10f68cdcc - ::check_stmt + 22: 0x10f68d3bc - ::check_block_with_expected + 23: 0x10f66f5f4 - ::check_expr_with_expectation_and_args + 24: 0x10f670768 - ::check_return_expr + 25: 0x10f746874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10f7d5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x1104e67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x11063dc3c - >::call_once + 29: 0x11049eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x11060185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10f4e4c80 - ::par_body_owners::::{closure#0} + 32: 0x10f4c292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10f58681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10fa3e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x1104e6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x1105d42cc - >::call_once + 37: 0x110415308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x1105a47fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10f2b0ee4 - ::enter::> + 40: 0x10f27b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10f2aec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10f2b0100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10f2a4aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10f274cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x105cc8788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16293.txt b/rustc-ice-2024-05-23T08_57_45-16293.txt new file mode 100644 index 0000000..d8432ae --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16293.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x1034bc40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10cabb4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x1034d4f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x1034d4d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x1034d2448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x1034d4ab8 - _rust_begin_unwind + 6: 0x10352f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x103512254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x10352f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10cf9c004 - ::coerce + 10: 0x10d00ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10ce78178 - ::coerce + 12: 0x10ce9ab4c - ::check_argument_types + 13: 0x10ce74b1c - ::confirm_builtin_call + 14: 0x10ce73804 - ::check_call + 15: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 16: 0x10cedf458 - ::check_expr_kind + 17: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 18: 0x10cea0814 - ::check_decl_initializer + 19: 0x10cea09dc - ::check_decl + 20: 0x10cea0d50 - ::check_stmt + 21: 0x10cea13bc - ::check_block_with_expected + 22: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 23: 0x10ce84768 - ::check_return_expr + 24: 0x10cf5a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10cfe9bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10dcfa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10de51c3c - >::call_once + 28: 0x10dcb2b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10de1585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10ccf8c80 - ::par_body_owners::::{closure#0} + 31: 0x10ccd692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10cd9a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10d2529fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10dcfa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10dde82cc - >::call_once + 36: 0x10dc29308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10ddb87fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10cac4ee4 - ::enter::> + 39: 0x10ca8f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10cac2c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10cac4100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10cab8aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10ca88cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x1034dc788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x1034bc40c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10cabb4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x1034d4f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x1034d4d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x1034d2448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x1034d4ab8 - _rust_begin_unwind + 6: 0x10352f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x103512254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x10352f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10cf9c004 - ::coerce + 10: 0x10d00ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10ce78178 - ::coerce + 12: 0x10ce9ab4c - ::check_argument_types + 13: 0x10ce74b1c - ::confirm_builtin_call + 14: 0x10ce73804 - ::check_call + 15: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 16: 0x10cea0ec4 - ::check_stmt + 17: 0x10cea13bc - ::check_block_with_expected + 18: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 19: 0x10cee1b6c - ::check_expr_kind + 20: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 21: 0x10cea0dcc - ::check_stmt + 22: 0x10cea13bc - ::check_block_with_expected + 23: 0x10ce835f4 - ::check_expr_with_expectation_and_args + 24: 0x10ce84768 - ::check_return_expr + 25: 0x10cf5a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10cfe9bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10dcfa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10de51c3c - >::call_once + 29: 0x10dcb2b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10de1585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10ccf8c80 - ::par_body_owners::::{closure#0} + 32: 0x10ccd692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10cd9a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10d2529fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10dcfa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10dde82cc - >::call_once + 37: 0x10dc29308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10ddb87fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10cac4ee4 - ::enter::> + 40: 0x10ca8f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10cac2c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10cac4100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10cab8aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10ca88cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x1034dc788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16294.txt b/rustc-ice-2024-05-23T08_57_45-16294.txt new file mode 100644 index 0000000..a468f85 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16294.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x103bf440c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10d1f34c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x103c0cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x103c0cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x103c0a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x103c0cab8 - _rust_begin_unwind + 6: 0x103c67968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x103c4a254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x103c67934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10d6d4004 - ::coerce + 10: 0x10d742d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10d5b0178 - ::coerce + 12: 0x10d5d2b4c - ::check_argument_types + 13: 0x10d5acb1c - ::confirm_builtin_call + 14: 0x10d5ab804 - ::check_call + 15: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 16: 0x10d617458 - ::check_expr_kind + 17: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 18: 0x10d5d8814 - ::check_decl_initializer + 19: 0x10d5d89dc - ::check_decl + 20: 0x10d5d8d50 - ::check_stmt + 21: 0x10d5d93bc - ::check_block_with_expected + 22: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 23: 0x10d5bc768 - ::check_return_expr + 24: 0x10d692874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10d721bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10e4327d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10e589c3c - >::call_once + 28: 0x10e3eab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10e54d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10d430c80 - ::par_body_owners::::{closure#0} + 31: 0x10d40e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10d4d281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10d98a9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10e432870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10e5202cc - >::call_once + 36: 0x10e361308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10e4f07fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10d1fcee4 - ::enter::> + 39: 0x10d1c73f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10d1fac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10d1fc100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10d1f0aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10d1c0cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x103c14788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x103bf440c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10d1f34c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x103c0cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x103c0cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x103c0a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x103c0cab8 - _rust_begin_unwind + 6: 0x103c67968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x103c4a254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x103c67934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10d6d4004 - ::coerce + 10: 0x10d742d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10d5b0178 - ::coerce + 12: 0x10d5d2b4c - ::check_argument_types + 13: 0x10d5acb1c - ::confirm_builtin_call + 14: 0x10d5ab804 - ::check_call + 15: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 16: 0x10d5d8ec4 - ::check_stmt + 17: 0x10d5d93bc - ::check_block_with_expected + 18: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 19: 0x10d619b6c - ::check_expr_kind + 20: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 21: 0x10d5d8dcc - ::check_stmt + 22: 0x10d5d93bc - ::check_block_with_expected + 23: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args + 24: 0x10d5bc768 - ::check_return_expr + 25: 0x10d692874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10d721bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10e4327d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10e589c3c - >::call_once + 29: 0x10e3eab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10e54d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10d430c80 - ::par_body_owners::::{closure#0} + 32: 0x10d40e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10d4d281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10d98a9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10e432870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10e5202cc - >::call_once + 37: 0x10e361308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10e4f07fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10d1fcee4 - ::enter::> + 40: 0x10d1c73f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10d1fac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10d1fc100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10d1f0aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10d1c0cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x103c14788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16295.txt b/rustc-ice-2024-05-23T08_57_45-16295.txt new file mode 100644 index 0000000..9e93237 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16295.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10530040c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10e8ff4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105318f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105318d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x105316448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105318ab8 - _rust_begin_unwind + 6: 0x105373968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x105356254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x105373934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10ede0004 - ::coerce + 10: 0x10ee4ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10ecbc178 - ::coerce + 12: 0x10ecdeb4c - ::check_argument_types + 13: 0x10ecb8b1c - ::confirm_builtin_call + 14: 0x10ecb7804 - ::check_call + 15: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 16: 0x10ed23458 - ::check_expr_kind + 17: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 18: 0x10ece4814 - ::check_decl_initializer + 19: 0x10ece49dc - ::check_decl + 20: 0x10ece4d50 - ::check_stmt + 21: 0x10ece53bc - ::check_block_with_expected + 22: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 23: 0x10ecc8768 - ::check_return_expr + 24: 0x10ed9e874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10ee2dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10fb3e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10fc95c3c - >::call_once + 28: 0x10faf6b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10fc5985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10eb3cc80 - ::par_body_owners::::{closure#0} + 31: 0x10eb1a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10ebde81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10f0969fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10fb3e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10fc2c2cc - >::call_once + 36: 0x10fa6d308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10fbfc7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10e908ee4 - ::enter::> + 39: 0x10e8d33f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10e906c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10e908100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10e8fcaa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10e8cccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x105320788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10530040c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10e8ff4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x105318f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x105318d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x105316448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x105318ab8 - _rust_begin_unwind + 6: 0x105373968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x105356254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x105373934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10ede0004 - ::coerce + 10: 0x10ee4ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10ecbc178 - ::coerce + 12: 0x10ecdeb4c - ::check_argument_types + 13: 0x10ecb8b1c - ::confirm_builtin_call + 14: 0x10ecb7804 - ::check_call + 15: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 16: 0x10ece4ec4 - ::check_stmt + 17: 0x10ece53bc - ::check_block_with_expected + 18: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 19: 0x10ed25b6c - ::check_expr_kind + 20: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 21: 0x10ece4dcc - ::check_stmt + 22: 0x10ece53bc - ::check_block_with_expected + 23: 0x10ecc75f4 - ::check_expr_with_expectation_and_args + 24: 0x10ecc8768 - ::check_return_expr + 25: 0x10ed9e874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10ee2dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10fb3e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10fc95c3c - >::call_once + 29: 0x10faf6b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10fc5985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10eb3cc80 - ::par_body_owners::::{closure#0} + 32: 0x10eb1a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10ebde81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10f0969fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10fb3e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10fc2c2cc - >::call_once + 37: 0x10fa6d308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10fbfc7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10e908ee4 - ::enter::> + 40: 0x10e8d33f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10e906c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10e908100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10e8fcaa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10e8cccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x105320788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16296.txt b/rustc-ice-2024-05-23T08_57_45-16296.txt new file mode 100644 index 0000000..994e912 --- /dev/null +++ b/rustc-ice-2024-05-23T08_57_45-16296.txt @@ -0,0 +1,114 @@ +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10144440c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10aa434c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x10145cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x10145cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x10145a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x10145cab8 - _rust_begin_unwind + 6: 0x1014b7968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x10149a254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1014b7934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10af24004 - ::coerce + 10: 0x10af92d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10ae00178 - ::coerce + 12: 0x10ae22b4c - ::check_argument_types + 13: 0x10adfcb1c - ::confirm_builtin_call + 14: 0x10adfb804 - ::check_call + 15: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 16: 0x10ae67458 - ::check_expr_kind + 17: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 18: 0x10ae28814 - ::check_decl_initializer + 19: 0x10ae289dc - ::check_decl + 20: 0x10ae28d50 - ::check_stmt + 21: 0x10ae293bc - ::check_block_with_expected + 22: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 23: 0x10ae0c768 - ::check_return_expr + 24: 0x10aee2874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 25: 0x10af71bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 26: 0x10bc827d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 27: 0x10bdd9c3c - >::call_once + 28: 0x10bc3ab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 29: 0x10bd9d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 30: 0x10ac80c80 - ::par_body_owners::::{closure#0} + 31: 0x10ac5e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 32: 0x10ad2281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 33: 0x10b1da9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 34: 0x10bc82870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 35: 0x10bd702cc - >::call_once + 36: 0x10bbb1308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 37: 0x10bd407fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 38: 0x10aa4cee4 - ::enter::> + 39: 0x10aa173f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 40: 0x10aa4ac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 41: 0x10aa4c100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 42: 0x10aa40aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 43: 0x10aa10cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 44: 0x101464788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 45: 0x18330f034 - __pthread_joiner_wake + + +rustc version: 1.78.0-nightly (1a648b397 2024-02-11) +platform: aarch64-apple-darwin + +query stack during panic: +#0 [typeck] type-checking `common::log_json` +#1 [analysis] running analysis passes on this crate +end of query stack +thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: +coerce_borrowed_pointer had no error +stack backtrace: + 0: 0x10144440c - std::backtrace::Backtrace::create::hab373be4a39910fb + 1: 0x10aa434c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} + 2: 0x10145cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 + 3: 0x10145cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 + 4: 0x10145a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 + 5: 0x10145cab8 - _rust_begin_unwind + 6: 0x1014b7968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a + 7: 0x10149a254 - core::panicking::panic_display::h8c3e604e2155e141 + 8: 0x1014b7934 - core::option::expect_failed::he6ed1e5d6f9a63e8 + 9: 0x10af24004 - ::coerce + 10: 0x10af92d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> + 11: 0x10ae00178 - ::coerce + 12: 0x10ae22b4c - ::check_argument_types + 13: 0x10adfcb1c - ::confirm_builtin_call + 14: 0x10adfb804 - ::check_call + 15: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 16: 0x10ae28ec4 - ::check_stmt + 17: 0x10ae293bc - ::check_block_with_expected + 18: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 19: 0x10ae69b6c - ::check_expr_kind + 20: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 21: 0x10ae28dcc - ::check_stmt + 22: 0x10ae293bc - ::check_block_with_expected + 23: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args + 24: 0x10ae0c768 - ::check_return_expr + 25: 0x10aee2874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn + 26: 0x10af71bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck + 27: 0x10bc827d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 28: 0x10bdd9c3c - >::call_once + 29: 0x10bc3ab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 30: 0x10bd9d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace + 31: 0x10ac80c80 - ::par_body_owners::::{closure#0} + 32: 0x10ac5e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 33: 0x10ad2281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate + 34: 0x10b1da9fc - rustc_interface[9b9c728c161af33d]::passes::analysis + 35: 0x10bc82870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> + 36: 0x10bd702cc - >::call_once + 37: 0x10bbb1308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> + 38: 0x10bd407fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 39: 0x10aa4cee4 - ::enter::> + 40: 0x10aa173f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 41: 0x10aa4ac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 42: 0x10aa4c100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> + 43: 0x10aa40aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> + 44: 0x10aa10cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 45: 0x101464788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 + 46: 0x18330f034 - __pthread_joiner_wake + + +query stack during panic: +#0 [typeck] type-checking `common::compare_json` +#1 [analysis] running analysis passes on this crate +end of query stack diff --git a/unit_tests/Cargo.toml b/unit_tests/Cargo.toml index 4775814..036972d 100644 --- a/unit_tests/Cargo.toml +++ b/unit_tests/Cargo.toml @@ -20,6 +20,7 @@ macro_utils = { path = "../macro_utils/" } rand = "0.8.5" serde_json = "1.0" once_cell = "1.8.0" +colored = "2.0" [dev-dependencies] jsonrpsee = { version = "0.21.0", features = ["client"] } diff --git a/unit_tests/tests/common.rs b/unit_tests/tests/common.rs index ebed895..8c90218 100644 --- a/unit_tests/tests/common.rs +++ b/unit_tests/tests/common.rs @@ -50,4 +50,4 @@ pub fn get_block_setting() -> BlockId { Err(_) => BlockId::Number(100000), }, } -} +} \ No newline at end of file diff --git a/unit_tests/tests/test_block_number.rs b/unit_tests/tests/test_block_number.rs index 762d439..83bb81e 100644 --- a/unit_tests/tests/test_block_number.rs +++ b/unit_tests/tests/test_block_number.rs @@ -16,7 +16,7 @@ use starknet_providers::{ /// #[rstest] #[tokio::test] -#[ignore = "Slash this ignore when Deoxys node is fully synced"] +// #[ignore = "Slash this ignore when Deoxys node is fully synced"] async fn work_existing_block(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; diff --git a/unit_tests/tests/test_chain_id.rs b/unit_tests/tests/test_chain_id.rs index f00230f..0b08094 100644 --- a/unit_tests/tests/test_chain_id.rs +++ b/unit_tests/tests/test_chain_id.rs @@ -21,6 +21,8 @@ async fn chain_id(clients: HashMap>) { .await .expect("Error while getting chain id from deoxys"); + log::info!("response_deoxys: {:?}", response_deoxys); + let response_pathfinder = pathfinder .chain_id() .await diff --git a/unit_tests/tests/test_syncing.rs b/unit_tests/tests/test_syncing.rs index b03e8b6..5b3047c 100644 --- a/unit_tests/tests/test_syncing.rs +++ b/unit_tests/tests/test_syncing.rs @@ -4,6 +4,7 @@ use common::*; use starknet_core::types::SyncStatusType; use starknet_providers::{jsonrpc::HttpTransport, JsonRpcClient, Provider}; use std::collections::HashMap; +use colored::*; /// /// Unit test for `starknet_syncing` @@ -27,12 +28,65 @@ async fn syncing(clients: HashMap>) { .await .expect("Error while getting sync status from pathfinder node"); - assert!(compare_sync_status(response_deoxys, response_pathfinder)); + assert_sync_status(response_deoxys, response_pathfinder); +} + +/// Assert and print detailed differences between two SyncStatusType +fn assert_sync_status(a: SyncStatusType, b: SyncStatusType) { + if !compare_sync_status(&a, &b) { + println!("{}", "Sync status mismatch detected\n".red().bold()); + println!("Deoxys: {}", format!("{:?}\n", a).cyan().bold()); + println!("Pathfinder: {}", format!("{:?}\n", b).magenta().bold()); + + if let SyncStatusType::Syncing(a_sync) = &a { + if let SyncStatusType::Syncing(b_sync) = &b { + if a_sync.current_block_num != b_sync.current_block_num { + println!( + "{} {} != {}", + "Current block number mismatch:".red(), + a_sync.current_block_num.to_string().yellow().bold(), + b_sync.current_block_num.to_string().yellow().bold() + ); + } + if a_sync.current_block_hash != b_sync.current_block_hash { + println!( + "{} {} != {}", + "Current block hash mismatch:".red(), + format!("0x{:x}", a_sync.current_block_hash).yellow().bold(), + format!("0x{:x}", b_sync.current_block_hash).yellow().bold() + ); + } + if a_sync.highest_block_num != b_sync.highest_block_num { + println!( + "{} {} != {}", + "Highest block number mismatch:".red(), + a_sync.highest_block_num.to_string().yellow().bold(), + b_sync.highest_block_num.to_string().yellow().bold() + ); + } + if a_sync.highest_block_hash != b_sync.highest_block_hash { + println!( + "{} {} != {}", + "Highest block hash mismatch:".red(), + format!("0x{:x}", a_sync.highest_block_hash).yellow().bold(), + format!("0x{:x}", b_sync.highest_block_hash).yellow().bold() + ); + } + if a_sync.current_block_num != b_sync.current_block_num { + println!("{}", "Mismatch skipped since both node does not have the same height".green().bold()); + } else if matches!(b, SyncStatusType::NotSyncing) { + panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); + } + } else if let SyncStatusType::NotSyncing = &b { + println!("{}", "\nMismatch skipped since node B is not syncing.".green().bold()); + } + } + } } /// compare 2 SyncStatus, only fields corresponding to current and highest block are compared /// because the other fields are not deterministic and depend on restart of the node -fn compare_sync_status(a: SyncStatusType, b: SyncStatusType) -> bool { +fn compare_sync_status(a: &SyncStatusType, b: &SyncStatusType) -> bool { match (a, b) { (SyncStatusType::Syncing(a), SyncStatusType::Syncing(b)) => { a.current_block_num == b.current_block_num From ad92397943282d630b4b2c7d36f4116969ed409e Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 12:20:25 +0200 Subject: [PATCH 2/9] cleaned starknet syncing --- rustc-ice-2024-05-23T08_57_45-16285.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16286.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16287.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16288.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16289.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16290.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16291.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16292.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16293.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16294.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16295.txt | 114 ------------------------ rustc-ice-2024-05-23T08_57_45-16296.txt | 114 ------------------------ 12 files changed, 1368 deletions(-) delete mode 100644 rustc-ice-2024-05-23T08_57_45-16285.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16286.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16287.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16288.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16289.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16290.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16291.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16292.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16293.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16294.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16295.txt delete mode 100644 rustc-ice-2024-05-23T08_57_45-16296.txt diff --git a/rustc-ice-2024-05-23T08_57_45-16285.txt b/rustc-ice-2024-05-23T08_57_45-16285.txt deleted file mode 100644 index dfa4419..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16285.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10515840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10e7574c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105170f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105170d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x10516e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105170ab8 - _rust_begin_unwind - 6: 0x1051cb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x1051ae254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1051cb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10ec38004 - ::coerce - 10: 0x10eca6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10eb14178 - ::coerce - 12: 0x10eb36b4c - ::check_argument_types - 13: 0x10eb10b1c - ::confirm_builtin_call - 14: 0x10eb0f804 - ::check_call - 15: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10eb7b458 - ::check_expr_kind - 17: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 18: 0x10eb3c814 - ::check_decl_initializer - 19: 0x10eb3c9dc - ::check_decl - 20: 0x10eb3cd50 - ::check_stmt - 21: 0x10eb3d3bc - ::check_block_with_expected - 22: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 23: 0x10eb20768 - ::check_return_expr - 24: 0x10ebf6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10ec85bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10f9967d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10faedc3c - >::call_once - 28: 0x10f94eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10fab185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10e994c80 - ::par_body_owners::::{closure#0} - 31: 0x10e97292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10ea3681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10eeee9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10f996870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10fa842cc - >::call_once - 36: 0x10f8c5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10fa547fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10e760ee4 - ::enter::> - 39: 0x10e72b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10e75ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10e760100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10e754aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10e724cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x105178788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10515840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10e7574c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105170f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105170d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x10516e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105170ab8 - _rust_begin_unwind - 6: 0x1051cb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x1051ae254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1051cb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10ec38004 - ::coerce - 10: 0x10eca6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10eb14178 - ::coerce - 12: 0x10eb36b4c - ::check_argument_types - 13: 0x10eb10b1c - ::confirm_builtin_call - 14: 0x10eb0f804 - ::check_call - 15: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10eb3cec4 - ::check_stmt - 17: 0x10eb3d3bc - ::check_block_with_expected - 18: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 19: 0x10eb7db6c - ::check_expr_kind - 20: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 21: 0x10eb3cdcc - ::check_stmt - 22: 0x10eb3d3bc - ::check_block_with_expected - 23: 0x10eb1f5f4 - ::check_expr_with_expectation_and_args - 24: 0x10eb20768 - ::check_return_expr - 25: 0x10ebf6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10ec85bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10f9967d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10faedc3c - >::call_once - 29: 0x10f94eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10fab185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10e994c80 - ::par_body_owners::::{closure#0} - 32: 0x10e97292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10ea3681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10eeee9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10f996870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10fa842cc - >::call_once - 37: 0x10f8c5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10fa547fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10e760ee4 - ::enter::> - 40: 0x10e72b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10e75ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10e760100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10e754aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10e724cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x105178788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16286.txt b/rustc-ice-2024-05-23T08_57_45-16286.txt deleted file mode 100644 index c32fd45..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16286.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10577840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10ed774c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105790f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105790d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x10578e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105790ab8 - _rust_begin_unwind - 6: 0x1057eb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x1057ce254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1057eb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10f258004 - ::coerce - 10: 0x10f2c6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10f134178 - ::coerce - 12: 0x10f156b4c - ::check_argument_types - 13: 0x10f130b1c - ::confirm_builtin_call - 14: 0x10f12f804 - ::check_call - 15: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10f19b458 - ::check_expr_kind - 17: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 18: 0x10f15c814 - ::check_decl_initializer - 19: 0x10f15c9dc - ::check_decl - 20: 0x10f15cd50 - ::check_stmt - 21: 0x10f15d3bc - ::check_block_with_expected - 22: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 23: 0x10f140768 - ::check_return_expr - 24: 0x10f216874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10f2a5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10ffb67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x11010dc3c - >::call_once - 28: 0x10ff6eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x1100d185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10efb4c80 - ::par_body_owners::::{closure#0} - 31: 0x10ef9292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10f05681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10f50e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10ffb6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x1100a42cc - >::call_once - 36: 0x10fee5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x1100747fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10ed80ee4 - ::enter::> - 39: 0x10ed4b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10ed7ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10ed80100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10ed74aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10ed44cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x105798788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10577840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10ed774c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105790f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105790d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x10578e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105790ab8 - _rust_begin_unwind - 6: 0x1057eb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x1057ce254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1057eb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10f258004 - ::coerce - 10: 0x10f2c6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10f134178 - ::coerce - 12: 0x10f156b4c - ::check_argument_types - 13: 0x10f130b1c - ::confirm_builtin_call - 14: 0x10f12f804 - ::check_call - 15: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10f15cec4 - ::check_stmt - 17: 0x10f15d3bc - ::check_block_with_expected - 18: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 19: 0x10f19db6c - ::check_expr_kind - 20: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 21: 0x10f15cdcc - ::check_stmt - 22: 0x10f15d3bc - ::check_block_with_expected - 23: 0x10f13f5f4 - ::check_expr_with_expectation_and_args - 24: 0x10f140768 - ::check_return_expr - 25: 0x10f216874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10f2a5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10ffb67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x11010dc3c - >::call_once - 29: 0x10ff6eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x1100d185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10efb4c80 - ::par_body_owners::::{closure#0} - 32: 0x10ef9292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10f05681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10f50e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10ffb6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x1100a42cc - >::call_once - 37: 0x10fee5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x1100747fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10ed80ee4 - ::enter::> - 40: 0x10ed4b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10ed7ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10ed80100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10ed74aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10ed44cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x105798788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16287.txt b/rustc-ice-2024-05-23T08_57_45-16287.txt deleted file mode 100644 index 41ea630..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16287.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x101d6c40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10b36b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x101d84f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x101d84d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x101d82448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x101d84ab8 - _rust_begin_unwind - 6: 0x101ddf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x101dc2254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x101ddf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10b84c004 - ::coerce - 10: 0x10b8bad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10b728178 - ::coerce - 12: 0x10b74ab4c - ::check_argument_types - 13: 0x10b724b1c - ::confirm_builtin_call - 14: 0x10b723804 - ::check_call - 15: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 16: 0x10b78f458 - ::check_expr_kind - 17: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 18: 0x10b750814 - ::check_decl_initializer - 19: 0x10b7509dc - ::check_decl - 20: 0x10b750d50 - ::check_stmt - 21: 0x10b7513bc - ::check_block_with_expected - 22: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 23: 0x10b734768 - ::check_return_expr - 24: 0x10b80a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10b899bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10c5aa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10c701c3c - >::call_once - 28: 0x10c562b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10c6c585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10b5a8c80 - ::par_body_owners::::{closure#0} - 31: 0x10b58692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10b64a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10bb029fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10c5aa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10c6982cc - >::call_once - 36: 0x10c4d9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10c6687fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10b374ee4 - ::enter::> - 39: 0x10b33f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10b372c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10b374100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10b368aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10b338cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x101d8c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x101d6c40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10b36b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x101d84f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x101d84d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x101d82448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x101d84ab8 - _rust_begin_unwind - 6: 0x101ddf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x101dc2254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x101ddf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10b84c004 - ::coerce - 10: 0x10b8bad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10b728178 - ::coerce - 12: 0x10b74ab4c - ::check_argument_types - 13: 0x10b724b1c - ::confirm_builtin_call - 14: 0x10b723804 - ::check_call - 15: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 16: 0x10b750ec4 - ::check_stmt - 17: 0x10b7513bc - ::check_block_with_expected - 18: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 19: 0x10b791b6c - ::check_expr_kind - 20: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 21: 0x10b750dcc - ::check_stmt - 22: 0x10b7513bc - ::check_block_with_expected - 23: 0x10b7335f4 - ::check_expr_with_expectation_and_args - 24: 0x10b734768 - ::check_return_expr - 25: 0x10b80a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10b899bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10c5aa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10c701c3c - >::call_once - 29: 0x10c562b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10c6c585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10b5a8c80 - ::par_body_owners::::{closure#0} - 32: 0x10b58692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10b64a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10bb029fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10c5aa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10c6982cc - >::call_once - 37: 0x10c4d9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10c6687fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10b374ee4 - ::enter::> - 40: 0x10b33f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10b372c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10b374100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10b368aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10b338cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x101d8c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16288.txt b/rustc-ice-2024-05-23T08_57_45-16288.txt deleted file mode 100644 index e35901d..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16288.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x103b4840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10d1474c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x103b60f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x103b60d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x103b5e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x103b60ab8 - _rust_begin_unwind - 6: 0x103bbb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x103b9e254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x103bbb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10d628004 - ::coerce - 10: 0x10d696d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10d504178 - ::coerce - 12: 0x10d526b4c - ::check_argument_types - 13: 0x10d500b1c - ::confirm_builtin_call - 14: 0x10d4ff804 - ::check_call - 15: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10d56b458 - ::check_expr_kind - 17: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 18: 0x10d52c814 - ::check_decl_initializer - 19: 0x10d52c9dc - ::check_decl - 20: 0x10d52cd50 - ::check_stmt - 21: 0x10d52d3bc - ::check_block_with_expected - 22: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 23: 0x10d510768 - ::check_return_expr - 24: 0x10d5e6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10d675bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10e3867d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10e4ddc3c - >::call_once - 28: 0x10e33eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10e4a185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10d384c80 - ::par_body_owners::::{closure#0} - 31: 0x10d36292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10d42681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10d8de9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10e386870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10e4742cc - >::call_once - 36: 0x10e2b5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10e4447fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10d150ee4 - ::enter::> - 39: 0x10d11b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10d14ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10d150100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10d144aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10d114cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x103b68788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x103b4840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10d1474c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x103b60f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x103b60d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x103b5e448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x103b60ab8 - _rust_begin_unwind - 6: 0x103bbb968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x103b9e254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x103bbb934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10d628004 - ::coerce - 10: 0x10d696d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10d504178 - ::coerce - 12: 0x10d526b4c - ::check_argument_types - 13: 0x10d500b1c - ::confirm_builtin_call - 14: 0x10d4ff804 - ::check_call - 15: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10d52cec4 - ::check_stmt - 17: 0x10d52d3bc - ::check_block_with_expected - 18: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 19: 0x10d56db6c - ::check_expr_kind - 20: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 21: 0x10d52cdcc - ::check_stmt - 22: 0x10d52d3bc - ::check_block_with_expected - 23: 0x10d50f5f4 - ::check_expr_with_expectation_and_args - 24: 0x10d510768 - ::check_return_expr - 25: 0x10d5e6874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10d675bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10e3867d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10e4ddc3c - >::call_once - 29: 0x10e33eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10e4a185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10d384c80 - ::par_body_owners::::{closure#0} - 32: 0x10d36292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10d42681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10d8de9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10e386870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10e4742cc - >::call_once - 37: 0x10e2b5308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10e4447fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10d150ee4 - ::enter::> - 40: 0x10d11b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10d14ec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10d150100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10d144aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10d114cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x103b68788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16289.txt b/rustc-ice-2024-05-23T08_57_45-16289.txt deleted file mode 100644 index 6a3a498..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16289.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x101b1c40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10b11b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x101b34f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x101b34d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x101b32448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x101b34ab8 - _rust_begin_unwind - 6: 0x101b8f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x101b72254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x101b8f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10b5fc004 - ::coerce - 10: 0x10b66ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10b4d8178 - ::coerce - 12: 0x10b4fab4c - ::check_argument_types - 13: 0x10b4d4b1c - ::confirm_builtin_call - 14: 0x10b4d3804 - ::check_call - 15: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 16: 0x10b53f458 - ::check_expr_kind - 17: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 18: 0x10b500814 - ::check_decl_initializer - 19: 0x10b5009dc - ::check_decl - 20: 0x10b500d50 - ::check_stmt - 21: 0x10b5013bc - ::check_block_with_expected - 22: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 23: 0x10b4e4768 - ::check_return_expr - 24: 0x10b5ba874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10b649bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10c35a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10c4b1c3c - >::call_once - 28: 0x10c312b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10c47585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10b358c80 - ::par_body_owners::::{closure#0} - 31: 0x10b33692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10b3fa81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10b8b29fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10c35a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10c4482cc - >::call_once - 36: 0x10c289308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10c4187fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10b124ee4 - ::enter::> - 39: 0x10b0ef3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10b122c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10b124100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10b118aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10b0e8cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x101b3c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x101b1c40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10b11b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x101b34f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x101b34d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x101b32448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x101b34ab8 - _rust_begin_unwind - 6: 0x101b8f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x101b72254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x101b8f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10b5fc004 - ::coerce - 10: 0x10b66ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10b4d8178 - ::coerce - 12: 0x10b4fab4c - ::check_argument_types - 13: 0x10b4d4b1c - ::confirm_builtin_call - 14: 0x10b4d3804 - ::check_call - 15: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 16: 0x10b500ec4 - ::check_stmt - 17: 0x10b5013bc - ::check_block_with_expected - 18: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 19: 0x10b541b6c - ::check_expr_kind - 20: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 21: 0x10b500dcc - ::check_stmt - 22: 0x10b5013bc - ::check_block_with_expected - 23: 0x10b4e35f4 - ::check_expr_with_expectation_and_args - 24: 0x10b4e4768 - ::check_return_expr - 25: 0x10b5ba874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10b649bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10c35a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10c4b1c3c - >::call_once - 29: 0x10c312b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10c47585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10b358c80 - ::par_body_owners::::{closure#0} - 32: 0x10b33692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10b3fa81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10b8b29fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10c35a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10c4482cc - >::call_once - 37: 0x10c289308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10c4187fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10b124ee4 - ::enter::> - 40: 0x10b0ef3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10b122c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10b124100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10b118aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10b0e8cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x101b3c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16290.txt b/rustc-ice-2024-05-23T08_57_45-16290.txt deleted file mode 100644 index 3ca51bd..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16290.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x105b4c40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10f14b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105b64f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105b64d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x105b62448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105b64ab8 - _rust_begin_unwind - 6: 0x105bbf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x105ba2254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x105bbf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10f62c004 - ::coerce - 10: 0x10f69ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10f508178 - ::coerce - 12: 0x10f52ab4c - ::check_argument_types - 13: 0x10f504b1c - ::confirm_builtin_call - 14: 0x10f503804 - ::check_call - 15: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 16: 0x10f56f458 - ::check_expr_kind - 17: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 18: 0x10f530814 - ::check_decl_initializer - 19: 0x10f5309dc - ::check_decl - 20: 0x10f530d50 - ::check_stmt - 21: 0x10f5313bc - ::check_block_with_expected - 22: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 23: 0x10f514768 - ::check_return_expr - 24: 0x10f5ea874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10f679bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x11038a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x1104e1c3c - >::call_once - 28: 0x110342b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x1104a585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10f388c80 - ::par_body_owners::::{closure#0} - 31: 0x10f36692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10f42a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10f8e29fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x11038a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x1104782cc - >::call_once - 36: 0x1102b9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x1104487fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10f154ee4 - ::enter::> - 39: 0x10f11f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10f152c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10f154100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10f148aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10f118cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x105b6c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x105b4c40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10f14b4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105b64f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105b64d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x105b62448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105b64ab8 - _rust_begin_unwind - 6: 0x105bbf968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x105ba2254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x105bbf934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10f62c004 - ::coerce - 10: 0x10f69ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10f508178 - ::coerce - 12: 0x10f52ab4c - ::check_argument_types - 13: 0x10f504b1c - ::confirm_builtin_call - 14: 0x10f503804 - ::check_call - 15: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 16: 0x10f530ec4 - ::check_stmt - 17: 0x10f5313bc - ::check_block_with_expected - 18: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 19: 0x10f571b6c - ::check_expr_kind - 20: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 21: 0x10f530dcc - ::check_stmt - 22: 0x10f5313bc - ::check_block_with_expected - 23: 0x10f5135f4 - ::check_expr_with_expectation_and_args - 24: 0x10f514768 - ::check_return_expr - 25: 0x10f5ea874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10f679bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x11038a7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x1104e1c3c - >::call_once - 29: 0x110342b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x1104a585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10f388c80 - ::par_body_owners::::{closure#0} - 32: 0x10f36692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10f42a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10f8e29fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x11038a870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x1104782cc - >::call_once - 37: 0x1102b9308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x1104487fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10f154ee4 - ::enter::> - 40: 0x10f11f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10f152c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10f154100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10f148aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10f118cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x105b6c788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16291.txt b/rustc-ice-2024-05-23T08_57_45-16291.txt deleted file mode 100644 index 394a7fb..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16291.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10174040c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10ad3f4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x101758f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x101758d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x101756448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x101758ab8 - _rust_begin_unwind - 6: 0x1017b3968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x101796254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1017b3934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10b220004 - ::coerce - 10: 0x10b28ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10b0fc178 - ::coerce - 12: 0x10b11eb4c - ::check_argument_types - 13: 0x10b0f8b1c - ::confirm_builtin_call - 14: 0x10b0f7804 - ::check_call - 15: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 16: 0x10b163458 - ::check_expr_kind - 17: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 18: 0x10b124814 - ::check_decl_initializer - 19: 0x10b1249dc - ::check_decl - 20: 0x10b124d50 - ::check_stmt - 21: 0x10b1253bc - ::check_block_with_expected - 22: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 23: 0x10b108768 - ::check_return_expr - 24: 0x10b1de874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10b26dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10bf7e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10c0d5c3c - >::call_once - 28: 0x10bf36b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10c09985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10af7cc80 - ::par_body_owners::::{closure#0} - 31: 0x10af5a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10b01e81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10b4d69fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10bf7e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10c06c2cc - >::call_once - 36: 0x10bead308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10c03c7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10ad48ee4 - ::enter::> - 39: 0x10ad133f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10ad46c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10ad48100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10ad3caa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10ad0ccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x101760788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10174040c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10ad3f4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x101758f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x101758d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x101756448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x101758ab8 - _rust_begin_unwind - 6: 0x1017b3968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x101796254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1017b3934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10b220004 - ::coerce - 10: 0x10b28ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10b0fc178 - ::coerce - 12: 0x10b11eb4c - ::check_argument_types - 13: 0x10b0f8b1c - ::confirm_builtin_call - 14: 0x10b0f7804 - ::check_call - 15: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 16: 0x10b124ec4 - ::check_stmt - 17: 0x10b1253bc - ::check_block_with_expected - 18: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 19: 0x10b165b6c - ::check_expr_kind - 20: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 21: 0x10b124dcc - ::check_stmt - 22: 0x10b1253bc - ::check_block_with_expected - 23: 0x10b1075f4 - ::check_expr_with_expectation_and_args - 24: 0x10b108768 - ::check_return_expr - 25: 0x10b1de874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10b26dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10bf7e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10c0d5c3c - >::call_once - 29: 0x10bf36b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10c09985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10af7cc80 - ::par_body_owners::::{closure#0} - 32: 0x10af5a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10b01e81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10b4d69fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10bf7e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10c06c2cc - >::call_once - 37: 0x10bead308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10c03c7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10ad48ee4 - ::enter::> - 40: 0x10ad133f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10ad46c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10ad48100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10ad3caa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10ad0ccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x101760788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16292.txt b/rustc-ice-2024-05-23T08_57_45-16292.txt deleted file mode 100644 index 3999f87..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16292.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x105ca840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10f2a74c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105cc0f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105cc0d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x105cbe448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105cc0ab8 - _rust_begin_unwind - 6: 0x105d1b968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x105cfe254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x105d1b934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10f788004 - ::coerce - 10: 0x10f7f6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10f664178 - ::coerce - 12: 0x10f686b4c - ::check_argument_types - 13: 0x10f660b1c - ::confirm_builtin_call - 14: 0x10f65f804 - ::check_call - 15: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10f6cb458 - ::check_expr_kind - 17: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 18: 0x10f68c814 - ::check_decl_initializer - 19: 0x10f68c9dc - ::check_decl - 20: 0x10f68cd50 - ::check_stmt - 21: 0x10f68d3bc - ::check_block_with_expected - 22: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 23: 0x10f670768 - ::check_return_expr - 24: 0x10f746874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10f7d5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x1104e67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x11063dc3c - >::call_once - 28: 0x11049eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x11060185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10f4e4c80 - ::par_body_owners::::{closure#0} - 31: 0x10f4c292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10f58681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10fa3e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x1104e6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x1105d42cc - >::call_once - 36: 0x110415308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x1105a47fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10f2b0ee4 - ::enter::> - 39: 0x10f27b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10f2aec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10f2b0100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10f2a4aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10f274cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x105cc8788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x105ca840c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10f2a74c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105cc0f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105cc0d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x105cbe448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105cc0ab8 - _rust_begin_unwind - 6: 0x105d1b968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x105cfe254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x105d1b934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10f788004 - ::coerce - 10: 0x10f7f6d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10f664178 - ::coerce - 12: 0x10f686b4c - ::check_argument_types - 13: 0x10f660b1c - ::confirm_builtin_call - 14: 0x10f65f804 - ::check_call - 15: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 16: 0x10f68cec4 - ::check_stmt - 17: 0x10f68d3bc - ::check_block_with_expected - 18: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 19: 0x10f6cdb6c - ::check_expr_kind - 20: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 21: 0x10f68cdcc - ::check_stmt - 22: 0x10f68d3bc - ::check_block_with_expected - 23: 0x10f66f5f4 - ::check_expr_with_expectation_and_args - 24: 0x10f670768 - ::check_return_expr - 25: 0x10f746874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10f7d5bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x1104e67d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x11063dc3c - >::call_once - 29: 0x11049eb64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x11060185c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10f4e4c80 - ::par_body_owners::::{closure#0} - 32: 0x10f4c292c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10f58681c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10fa3e9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x1104e6870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x1105d42cc - >::call_once - 37: 0x110415308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x1105a47fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10f2b0ee4 - ::enter::> - 40: 0x10f27b3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10f2aec38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10f2b0100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10f2a4aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10f274cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x105cc8788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16293.txt b/rustc-ice-2024-05-23T08_57_45-16293.txt deleted file mode 100644 index d8432ae..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16293.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x1034bc40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10cabb4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x1034d4f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x1034d4d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x1034d2448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x1034d4ab8 - _rust_begin_unwind - 6: 0x10352f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x103512254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x10352f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10cf9c004 - ::coerce - 10: 0x10d00ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10ce78178 - ::coerce - 12: 0x10ce9ab4c - ::check_argument_types - 13: 0x10ce74b1c - ::confirm_builtin_call - 14: 0x10ce73804 - ::check_call - 15: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 16: 0x10cedf458 - ::check_expr_kind - 17: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 18: 0x10cea0814 - ::check_decl_initializer - 19: 0x10cea09dc - ::check_decl - 20: 0x10cea0d50 - ::check_stmt - 21: 0x10cea13bc - ::check_block_with_expected - 22: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 23: 0x10ce84768 - ::check_return_expr - 24: 0x10cf5a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10cfe9bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10dcfa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10de51c3c - >::call_once - 28: 0x10dcb2b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10de1585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10ccf8c80 - ::par_body_owners::::{closure#0} - 31: 0x10ccd692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10cd9a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10d2529fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10dcfa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10dde82cc - >::call_once - 36: 0x10dc29308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10ddb87fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10cac4ee4 - ::enter::> - 39: 0x10ca8f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10cac2c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10cac4100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10cab8aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10ca88cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x1034dc788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x1034bc40c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10cabb4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x1034d4f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x1034d4d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x1034d2448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x1034d4ab8 - _rust_begin_unwind - 6: 0x10352f968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x103512254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x10352f934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10cf9c004 - ::coerce - 10: 0x10d00ad40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10ce78178 - ::coerce - 12: 0x10ce9ab4c - ::check_argument_types - 13: 0x10ce74b1c - ::confirm_builtin_call - 14: 0x10ce73804 - ::check_call - 15: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 16: 0x10cea0ec4 - ::check_stmt - 17: 0x10cea13bc - ::check_block_with_expected - 18: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 19: 0x10cee1b6c - ::check_expr_kind - 20: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 21: 0x10cea0dcc - ::check_stmt - 22: 0x10cea13bc - ::check_block_with_expected - 23: 0x10ce835f4 - ::check_expr_with_expectation_and_args - 24: 0x10ce84768 - ::check_return_expr - 25: 0x10cf5a874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10cfe9bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10dcfa7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10de51c3c - >::call_once - 29: 0x10dcb2b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10de1585c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10ccf8c80 - ::par_body_owners::::{closure#0} - 32: 0x10ccd692c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10cd9a81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10d2529fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10dcfa870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10dde82cc - >::call_once - 37: 0x10dc29308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10ddb87fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10cac4ee4 - ::enter::> - 40: 0x10ca8f3f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10cac2c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10cac4100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10cab8aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10ca88cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x1034dc788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16294.txt b/rustc-ice-2024-05-23T08_57_45-16294.txt deleted file mode 100644 index a468f85..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16294.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x103bf440c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10d1f34c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x103c0cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x103c0cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x103c0a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x103c0cab8 - _rust_begin_unwind - 6: 0x103c67968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x103c4a254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x103c67934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10d6d4004 - ::coerce - 10: 0x10d742d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10d5b0178 - ::coerce - 12: 0x10d5d2b4c - ::check_argument_types - 13: 0x10d5acb1c - ::confirm_builtin_call - 14: 0x10d5ab804 - ::check_call - 15: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 16: 0x10d617458 - ::check_expr_kind - 17: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 18: 0x10d5d8814 - ::check_decl_initializer - 19: 0x10d5d89dc - ::check_decl - 20: 0x10d5d8d50 - ::check_stmt - 21: 0x10d5d93bc - ::check_block_with_expected - 22: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 23: 0x10d5bc768 - ::check_return_expr - 24: 0x10d692874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10d721bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10e4327d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10e589c3c - >::call_once - 28: 0x10e3eab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10e54d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10d430c80 - ::par_body_owners::::{closure#0} - 31: 0x10d40e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10d4d281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10d98a9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10e432870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10e5202cc - >::call_once - 36: 0x10e361308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10e4f07fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10d1fcee4 - ::enter::> - 39: 0x10d1c73f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10d1fac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10d1fc100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10d1f0aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10d1c0cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x103c14788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x103bf440c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10d1f34c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x103c0cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x103c0cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x103c0a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x103c0cab8 - _rust_begin_unwind - 6: 0x103c67968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x103c4a254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x103c67934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10d6d4004 - ::coerce - 10: 0x10d742d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10d5b0178 - ::coerce - 12: 0x10d5d2b4c - ::check_argument_types - 13: 0x10d5acb1c - ::confirm_builtin_call - 14: 0x10d5ab804 - ::check_call - 15: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 16: 0x10d5d8ec4 - ::check_stmt - 17: 0x10d5d93bc - ::check_block_with_expected - 18: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 19: 0x10d619b6c - ::check_expr_kind - 20: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 21: 0x10d5d8dcc - ::check_stmt - 22: 0x10d5d93bc - ::check_block_with_expected - 23: 0x10d5bb5f4 - ::check_expr_with_expectation_and_args - 24: 0x10d5bc768 - ::check_return_expr - 25: 0x10d692874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10d721bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10e4327d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10e589c3c - >::call_once - 29: 0x10e3eab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10e54d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10d430c80 - ::par_body_owners::::{closure#0} - 32: 0x10d40e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10d4d281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10d98a9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10e432870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10e5202cc - >::call_once - 37: 0x10e361308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10e4f07fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10d1fcee4 - ::enter::> - 40: 0x10d1c73f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10d1fac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10d1fc100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10d1f0aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10d1c0cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x103c14788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16295.txt b/rustc-ice-2024-05-23T08_57_45-16295.txt deleted file mode 100644 index 9e93237..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16295.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10530040c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10e8ff4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105318f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105318d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x105316448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105318ab8 - _rust_begin_unwind - 6: 0x105373968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x105356254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x105373934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10ede0004 - ::coerce - 10: 0x10ee4ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10ecbc178 - ::coerce - 12: 0x10ecdeb4c - ::check_argument_types - 13: 0x10ecb8b1c - ::confirm_builtin_call - 14: 0x10ecb7804 - ::check_call - 15: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 16: 0x10ed23458 - ::check_expr_kind - 17: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 18: 0x10ece4814 - ::check_decl_initializer - 19: 0x10ece49dc - ::check_decl - 20: 0x10ece4d50 - ::check_stmt - 21: 0x10ece53bc - ::check_block_with_expected - 22: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 23: 0x10ecc8768 - ::check_return_expr - 24: 0x10ed9e874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10ee2dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10fb3e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10fc95c3c - >::call_once - 28: 0x10faf6b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10fc5985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10eb3cc80 - ::par_body_owners::::{closure#0} - 31: 0x10eb1a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10ebde81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10f0969fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10fb3e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10fc2c2cc - >::call_once - 36: 0x10fa6d308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10fbfc7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10e908ee4 - ::enter::> - 39: 0x10e8d33f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10e906c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10e908100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10e8fcaa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10e8cccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x105320788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10530040c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10e8ff4c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x105318f74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x105318d30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x105316448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x105318ab8 - _rust_begin_unwind - 6: 0x105373968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x105356254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x105373934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10ede0004 - ::coerce - 10: 0x10ee4ed40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10ecbc178 - ::coerce - 12: 0x10ecdeb4c - ::check_argument_types - 13: 0x10ecb8b1c - ::confirm_builtin_call - 14: 0x10ecb7804 - ::check_call - 15: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 16: 0x10ece4ec4 - ::check_stmt - 17: 0x10ece53bc - ::check_block_with_expected - 18: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 19: 0x10ed25b6c - ::check_expr_kind - 20: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 21: 0x10ece4dcc - ::check_stmt - 22: 0x10ece53bc - ::check_block_with_expected - 23: 0x10ecc75f4 - ::check_expr_with_expectation_and_args - 24: 0x10ecc8768 - ::check_return_expr - 25: 0x10ed9e874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10ee2dbf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10fb3e7d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10fc95c3c - >::call_once - 29: 0x10faf6b64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10fc5985c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10eb3cc80 - ::par_body_owners::::{closure#0} - 32: 0x10eb1a92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10ebde81c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10f0969fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10fb3e870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10fc2c2cc - >::call_once - 37: 0x10fa6d308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10fbfc7fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10e908ee4 - ::enter::> - 40: 0x10e8d33f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10e906c38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10e908100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10e8fcaa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10e8cccf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x105320788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack diff --git a/rustc-ice-2024-05-23T08_57_45-16296.txt b/rustc-ice-2024-05-23T08_57_45-16296.txt deleted file mode 100644 index 994e912..0000000 --- a/rustc-ice-2024-05-23T08_57_45-16296.txt +++ /dev/null @@ -1,114 +0,0 @@ -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10144440c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10aa434c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x10145cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x10145cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x10145a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x10145cab8 - _rust_begin_unwind - 6: 0x1014b7968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x10149a254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1014b7934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10af24004 - ::coerce - 10: 0x10af92d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10ae00178 - ::coerce - 12: 0x10ae22b4c - ::check_argument_types - 13: 0x10adfcb1c - ::confirm_builtin_call - 14: 0x10adfb804 - ::check_call - 15: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 16: 0x10ae67458 - ::check_expr_kind - 17: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 18: 0x10ae28814 - ::check_decl_initializer - 19: 0x10ae289dc - ::check_decl - 20: 0x10ae28d50 - ::check_stmt - 21: 0x10ae293bc - ::check_block_with_expected - 22: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 23: 0x10ae0c768 - ::check_return_expr - 24: 0x10aee2874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 25: 0x10af71bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 26: 0x10bc827d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 27: 0x10bdd9c3c - >::call_once - 28: 0x10bc3ab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 29: 0x10bd9d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 30: 0x10ac80c80 - ::par_body_owners::::{closure#0} - 31: 0x10ac5e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 32: 0x10ad2281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 33: 0x10b1da9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 34: 0x10bc82870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 35: 0x10bd702cc - >::call_once - 36: 0x10bbb1308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 37: 0x10bd407fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 38: 0x10aa4cee4 - ::enter::> - 39: 0x10aa173f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 40: 0x10aa4ac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 41: 0x10aa4c100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 42: 0x10aa40aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 43: 0x10aa10cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 44: 0x101464788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 45: 0x18330f034 - __pthread_joiner_wake - - -rustc version: 1.78.0-nightly (1a648b397 2024-02-11) -platform: aarch64-apple-darwin - -query stack during panic: -#0 [typeck] type-checking `common::log_json` -#1 [analysis] running analysis passes on this crate -end of query stack -thread 'rustc' panicked at compiler/rustc_hir_typeck/src/coercion.rs:461:35: -coerce_borrowed_pointer had no error -stack backtrace: - 0: 0x10144440c - std::backtrace::Backtrace::create::hab373be4a39910fb - 1: 0x10aa434c0 - std[e77b8cc82bfbcdfd]::panicking::update_hook::>::{closure#0} - 2: 0x10145cf74 - std::panicking::rust_panic_with_hook::hc40baab8129fe7f9 - 3: 0x10145cd30 - std::panicking::begin_panic_handler::{{closure}}::h8ee754464294b312 - 4: 0x10145a448 - std::sys_common::backtrace::__rust_end_short_backtrace::h27c89c5d3d647845 - 5: 0x10145cab8 - _rust_begin_unwind - 6: 0x1014b7968 - core::panicking::panic_fmt::h9a57bdc8b84feb8a - 7: 0x10149a254 - core::panicking::panic_display::h8c3e604e2155e141 - 8: 0x1014b7934 - core::option::expect_failed::he6ed1e5d6f9a63e8 - 9: 0x10af24004 - ::coerce - 10: 0x10af92d40 - ::commit_if_ok::, rustc_middle[82fdd60edd279704]::ty::Ty)>, rustc_middle[82fdd60edd279704]::ty::error::TypeError, ::try_find_coercion_lub<&rustc_hir[b8623ccb6b2d4e43]::hir::Expr>::{closure#4}> - 11: 0x10ae00178 - ::coerce - 12: 0x10ae22b4c - ::check_argument_types - 13: 0x10adfcb1c - ::confirm_builtin_call - 14: 0x10adfb804 - ::check_call - 15: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 16: 0x10ae28ec4 - ::check_stmt - 17: 0x10ae293bc - ::check_block_with_expected - 18: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 19: 0x10ae69b6c - ::check_expr_kind - 20: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 21: 0x10ae28dcc - ::check_stmt - 22: 0x10ae293bc - ::check_block_with_expected - 23: 0x10ae0b5f4 - ::check_expr_with_expectation_and_args - 24: 0x10ae0c768 - ::check_return_expr - 25: 0x10aee2874 - rustc_hir_typeck[46c6058f98d0f6e4]::check::check_fn - 26: 0x10af71bf0 - rustc_hir_typeck[46c6058f98d0f6e4]::typeck - 27: 0x10bc827d0 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 28: 0x10bdd9c3c - >::call_once - 29: 0x10bc3ab64 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 30: 0x10bd9d85c - rustc_query_impl[d9b7452daba4f436]::query_impl::typeck::get_query_incr::__rust_end_short_backtrace - 31: 0x10ac80c80 - ::par_body_owners::::{closure#0} - 32: 0x10ac5e92c - ::run::<(), rustc_data_structures[712596e8823b4fc6]::sync::parallel::enabled::par_for_each_in<&rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId, &[rustc_span[9910a9a9a2b8b1b0]::def_id::LocalDefId], ::par_body_owners::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> - 33: 0x10ad2281c - rustc_hir_analysis[7f32bdd8a1d62b1c]::check_crate - 34: 0x10b1da9fc - rustc_interface[9b9c728c161af33d]::passes::analysis - 35: 0x10bc82870 - rustc_query_impl[d9b7452daba4f436]::plumbing::__rust_begin_short_backtrace::> - 36: 0x10bd702cc - >::call_once - 37: 0x10bbb1308 - rustc_query_system[f11765a6e63743ab]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[d9b7452daba4f436]::plumbing::QueryCtxt, true> - 38: 0x10bd407fc - rustc_query_impl[d9b7452daba4f436]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace - 39: 0x10aa4cee4 - ::enter::> - 40: 0x10aa173f4 - ::enter::, rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 41: 0x10aa4ac38 - rustc_span[9910a9a9a2b8b1b0]::set_source_map::, rustc_interface[9b9c728c161af33d]::interface::run_compiler, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> - 42: 0x10aa4c100 - rustc_span[9910a9a9a2b8b1b0]::create_session_globals_then::, rustc_interface[9b9c728c161af33d]::util::run_in_thread_pool_with_globals, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}> - 43: 0x10aa40aa0 - std[e77b8cc82bfbcdfd]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>> - 44: 0x10aa10cf4 - <::spawn_unchecked_, rustc_driver_impl[219c9928d75f923b]::run_compiler::{closure#0}>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[3a363f1eef6f7cb2]::result::Result<(), rustc_span[9910a9a9a2b8b1b0]::ErrorGuaranteed>>::{closure#1} as core[3a363f1eef6f7cb2]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} - 45: 0x101464788 - std::sys::pal::unix::thread::Thread::new::thread_start::ha368f5c01e431785 - 46: 0x18330f034 - __pthread_joiner_wake - - -query stack during panic: -#0 [typeck] type-checking `common::compare_json` -#1 [analysis] running analysis passes on this crate -end of query stack From 7fc43d6cc0034f27a1928f22380f7e826850cff9 Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 14:56:45 +0200 Subject: [PATCH 3/9] cleaned starknet syncing again --- unit_tests/tests/test_syncing.rs | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/unit_tests/tests/test_syncing.rs b/unit_tests/tests/test_syncing.rs index 5b3047c..861496e 100644 --- a/unit_tests/tests/test_syncing.rs +++ b/unit_tests/tests/test_syncing.rs @@ -38,8 +38,8 @@ fn assert_sync_status(a: SyncStatusType, b: SyncStatusType) { println!("Deoxys: {}", format!("{:?}\n", a).cyan().bold()); println!("Pathfinder: {}", format!("{:?}\n", b).magenta().bold()); - if let SyncStatusType::Syncing(a_sync) = &a { - if let SyncStatusType::Syncing(b_sync) = &b { + match (&a, &b) { + (SyncStatusType::Syncing(a_sync), SyncStatusType::Syncing(b_sync)) => { if a_sync.current_block_num != b_sync.current_block_num { println!( "{} {} != {}", @@ -73,15 +73,22 @@ fn assert_sync_status(a: SyncStatusType, b: SyncStatusType) { ); } if a_sync.current_block_num != b_sync.current_block_num { - println!("{}", "Mismatch skipped since both node does not have the same height".green().bold()); + println!("{}", "\nMismatch skipped since both nodes do not have the same height".green().bold()); } else if matches!(b, SyncStatusType::NotSyncing) { panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); } - } else if let SyncStatusType::NotSyncing = &b { + }, + (SyncStatusType::Syncing(_), SyncStatusType::NotSyncing) => { println!("{}", "\nMismatch skipped since node B is not syncing.".green().bold()); + }, + (SyncStatusType::NotSyncing, SyncStatusType::Syncing(_)) => { + println!("{}", "\nMismatch skipped since node A is not syncing.".green().bold()); + }, + _ => { + panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); } } - } + } } /// compare 2 SyncStatus, only fields corresponding to current and highest block are compared From 87ee0e7794b92f2e65c7429ceb820cc2549e2ca5 Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 15:04:13 +0200 Subject: [PATCH 4/9] added Juno sync test --- unit_tests/tests/test_syncing.rs | 126 ++++++++++++++++++------------- 1 file changed, 74 insertions(+), 52 deletions(-) diff --git a/unit_tests/tests/test_syncing.rs b/unit_tests/tests/test_syncing.rs index 861496e..0cf2c0c 100644 --- a/unit_tests/tests/test_syncing.rs +++ b/unit_tests/tests/test_syncing.rs @@ -17,6 +17,7 @@ use colored::*; async fn syncing(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; + let node_c = &clients[JUNO]; let response_deoxys = deoxys .syncing() @@ -28,67 +29,88 @@ async fn syncing(clients: HashMap>) { .await .expect("Error while getting sync status from pathfinder node"); - assert_sync_status(response_deoxys, response_pathfinder); + let response_node_c = node_c + .syncing() + .await + .expect("Error while getting sync status from node C"); + + assert_sync_status(response_deoxys, response_pathfinder, response_node_c); } -/// Assert and print detailed differences between two SyncStatusType -fn assert_sync_status(a: SyncStatusType, b: SyncStatusType) { - if !compare_sync_status(&a, &b) { +/// Assert and print detailed differences between three SyncStatusType +fn assert_sync_status(a: SyncStatusType, b: SyncStatusType, c: SyncStatusType) { + let ab_sync_status_match = compare_sync_status(&a, &b); + let bc_sync_status_match = compare_sync_status(&b, &c); + let ca_sync_status_match = compare_sync_status(&c, &a); + + if !ab_sync_status_match || !bc_sync_status_match || !ca_sync_status_match { println!("{}", "Sync status mismatch detected\n".red().bold()); println!("Deoxys: {}", format!("{:?}\n", a).cyan().bold()); println!("Pathfinder: {}", format!("{:?}\n", b).magenta().bold()); + println!("Juno: {}", format!("{:?}\n", c).green().bold()); - match (&a, &b) { - (SyncStatusType::Syncing(a_sync), SyncStatusType::Syncing(b_sync)) => { - if a_sync.current_block_num != b_sync.current_block_num { - println!( - "{} {} != {}", - "Current block number mismatch:".red(), - a_sync.current_block_num.to_string().yellow().bold(), - b_sync.current_block_num.to_string().yellow().bold() - ); - } - if a_sync.current_block_hash != b_sync.current_block_hash { - println!( - "{} {} != {}", - "Current block hash mismatch:".red(), - format!("0x{:x}", a_sync.current_block_hash).yellow().bold(), - format!("0x{:x}", b_sync.current_block_hash).yellow().bold() - ); + let nodes = vec![("Deoxys", &a), ("Pathfinder", &b), ("Juno", &c)]; + for i in 0..nodes.len() { + for j in (i + 1)..nodes.len() { + let (name1, status1) = &nodes[i]; + let (name2, status2) = &nodes[j]; + if !compare_sync_status(status1, status2) { + match (status1, status2) { + (SyncStatusType::Syncing(sync1), SyncStatusType::Syncing(sync2)) => { + if sync1.current_block_num != sync2.current_block_num { + println!( + "{}: {} {} != {}", + "Current block number mismatch:".red(), + name1, + sync1.current_block_num.to_string().yellow().bold(), + sync2.current_block_num.to_string().yellow().bold() + ); + } + if sync1.current_block_hash != sync2.current_block_hash { + println!( + "{}: {} {} != {}", + "Current block hash mismatch:".red(), + name1, + format!("0x{:x}", sync1.current_block_hash).yellow().bold(), + format!("0x{:x}", sync2.current_block_hash).yellow().bold() + ); + } + if sync1.highest_block_num != sync2.highest_block_num { + println!( + "{}: {} {} != {}", + "Highest block number mismatch:".red(), + name1, + sync1.highest_block_num.to_string().yellow().bold(), + sync2.highest_block_num.to_string().yellow().bold() + ); + } + if sync1.highest_block_hash != sync2.highest_block_hash { + println!( + "{}: {} {} != {}", + "Highest block hash mismatch:".red(), + name1, + format!("0x{:x}", sync1.highest_block_hash).yellow().bold(), + format!("0x{:x}", sync2.highest_block_hash).yellow().bold() + ); + } + if sync1.current_block_num != sync2.current_block_num { + println!("{}", "\nMismatch skipped since both nodes do not have the same height".green().bold()); + } + }, + (SyncStatusType::Syncing(_), SyncStatusType::NotSyncing) => { + println!("{}", format!("\nMismatch skipped since {} is not syncing.", name2).green().bold()); + }, + (SyncStatusType::NotSyncing, SyncStatusType::Syncing(_)) => { + println!("{}", format!("\nMismatch skipped since {} is not syncing.", name1).green().bold()); + }, + _ => { + panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); + } + } } - if a_sync.highest_block_num != b_sync.highest_block_num { - println!( - "{} {} != {}", - "Highest block number mismatch:".red(), - a_sync.highest_block_num.to_string().yellow().bold(), - b_sync.highest_block_num.to_string().yellow().bold() - ); - } - if a_sync.highest_block_hash != b_sync.highest_block_hash { - println!( - "{} {} != {}", - "Highest block hash mismatch:".red(), - format!("0x{:x}", a_sync.highest_block_hash).yellow().bold(), - format!("0x{:x}", b_sync.highest_block_hash).yellow().bold() - ); - } - if a_sync.current_block_num != b_sync.current_block_num { - println!("{}", "\nMismatch skipped since both nodes do not have the same height".green().bold()); - } else if matches!(b, SyncStatusType::NotSyncing) { - panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); - } - }, - (SyncStatusType::Syncing(_), SyncStatusType::NotSyncing) => { - println!("{}", "\nMismatch skipped since node B is not syncing.".green().bold()); - }, - (SyncStatusType::NotSyncing, SyncStatusType::Syncing(_)) => { - println!("{}", "\nMismatch skipped since node A is not syncing.".green().bold()); - }, - _ => { - panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); } } - } + } } /// compare 2 SyncStatus, only fields corresponding to current and highest block are compared From b808a0e32f04e3a909f7a62f998a2ff6ff084e90 Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 15:07:55 +0200 Subject: [PATCH 5/9] added Juno sync test --- unit_tests/tests/test_syncing.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit_tests/tests/test_syncing.rs b/unit_tests/tests/test_syncing.rs index 0cf2c0c..3fab296 100644 --- a/unit_tests/tests/test_syncing.rs +++ b/unit_tests/tests/test_syncing.rs @@ -32,7 +32,7 @@ async fn syncing(clients: HashMap>) { let response_node_c = node_c .syncing() .await - .expect("Error while getting sync status from node C"); + .expect("Error while getting sync status from juno node"); assert_sync_status(response_deoxys, response_pathfinder, response_node_c); } From e17a9a837538b45854044e95cf2c30093de3174b Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 15:50:08 +0200 Subject: [PATCH 6/9] added pathfinder spec version test --- unit_tests/src/constants.rs | 1 + unit_tests/tests/test_block_number.rs | 51 +++++++++++++++++++++++++-- unit_tests/tests/test_specversion.rs | 34 ++++++++++++++---- unit_tests/tests/test_syncing.rs | 31 ++++++++-------- 4 files changed, 94 insertions(+), 23 deletions(-) diff --git a/unit_tests/src/constants.rs b/unit_tests/src/constants.rs index 5d9d926..6f03bc2 100644 --- a/unit_tests/src/constants.rs +++ b/unit_tests/src/constants.rs @@ -163,3 +163,4 @@ pub const ERR_PATHFINDER: &str = "Error waiting for response from Pathfinder cli pub const SPEC_0_5_1: &str = "0.5.1"; pub const SPEC_0_6_0: &str = "0.6.0"; pub const SPEC_0_7_0: &str = "0.7.0"; +pub const SPEC_0_7_1: &str = "0.7.1"; diff --git a/unit_tests/tests/test_block_number.rs b/unit_tests/tests/test_block_number.rs index 83bb81e..54977e0 100644 --- a/unit_tests/tests/test_block_number.rs +++ b/unit_tests/tests/test_block_number.rs @@ -7,6 +7,7 @@ use starknet_providers::{ jsonrpc::{HttpTransport, JsonRpcClient}, Provider, }; +use colored::*; // Add this import for colored output /// /// Unit test for `starknet_blockNumber` @@ -16,10 +17,10 @@ use starknet_providers::{ /// #[rstest] #[tokio::test] -// #[ignore = "Slash this ignore when Deoxys node is fully synced"] async fn work_existing_block(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; + let juno = &clients[JUNO]; let response_deoxys = deoxys .block_number() @@ -29,7 +30,53 @@ async fn work_existing_block(clients: HashMap 0); - assert_eq!(response_deoxys, response_pathfinder); + assert!(response_pathfinder > 0); + assert!(response_juno > 0); + + let mut mismatch = false; + + if response_deoxys != response_pathfinder || response_pathfinder != response_juno || response_juno != response_deoxys { + mismatch = true; + println!("{}", "Block number mismatch detected\n".red().bold()); + println!("Deoxys: {}", format!("{}", response_deoxys).cyan().bold()); + println!("Pathfinder: {}", format!("{}", response_pathfinder).magenta().bold()); + println!("Juno: {}\n", format!("{}", response_juno).green().bold()); + + if response_deoxys != response_pathfinder { + println!( + "{} {} != {}", + "Mismatch between Deoxys and Pathfinder:".red(), + response_deoxys.to_string().yellow().bold(), + response_pathfinder.to_string().yellow().bold() + ); + } + if response_pathfinder != response_juno { + println!( + "{} {} != {}", + "Mismatch between Pathfinder and Juno:".red(), + response_pathfinder.to_string().yellow().bold(), + response_juno.to_string().yellow().bold() + ); + } + if response_juno != response_deoxys { + println!( + "{} {} != {}", + "Mismatch between Juno and Deoxys:".red(), + response_juno.to_string().yellow().bold(), + response_deoxys.to_string().yellow().bold() + ); + } + } else { + println!("{}", "All nodes have matching block numbers".green().bold()); + } + + if mismatch { + println!("{}", "\nMismatch on Block numbers are skipped since it may not be an error.".green().bold()); + } } diff --git a/unit_tests/tests/test_specversion.rs b/unit_tests/tests/test_specversion.rs index c60aa8a..24007a2 100644 --- a/unit_tests/tests/test_specversion.rs +++ b/unit_tests/tests/test_specversion.rs @@ -1,21 +1,41 @@ #![feature(assert_matches)] mod common; +use std::collections::HashMap; + use common::*; use starknet_providers::{jsonrpc::HttpTransport, JsonRpcClient, Provider}; +use colored::*; /// /// Unit test for `starknet_specversion` /// -/// purpose: retrieve the Deoxys node spec version -/// success case: spec version should be 0.7.0 +/// Purpose: Retrieve the Deoxys node spec version +/// Success case: Spec version should be 0.7.1 /// #[rstest] #[tokio::test] -#[logging] -async fn test_specversion(deoxys: JsonRpcClient) { - let response_deoxys = deoxys.spec_version().await.expect(ERR_DEOXYS); +async fn test_spec_version_7_1(clients: HashMap>) { + let deoxys = &clients[DEOXYS]; + let pathfinder = &clients[PATHFINDER]; + let juno = &clients[JUNO]; + + let response_deoxys = deoxys + .spec_version() + .await + .expect("Deoxys: Error while getting the block number"); + let response_pathfinder = pathfinder + .spec_version() + .await + .expect("RPC: Error while getting the block number"); + let response_juno = juno + .spec_version() + .await + .expect("Juno: Error while getting the block number"); + + assert_eq!(response_deoxys, SPEC_0_7_1, "Deoxys spec version mismatch"); + assert_eq!(response_pathfinder, SPEC_0_7_0, "Pathfinder spec version mismatch"); + assert_eq!(response_juno, SPEC_0_7_1, "Juno spec version mismatch"); - log::info!("Deoxys RPC spec: {}", response_deoxys); - assert_eq!(response_deoxys, SPEC_0_7_0); + println!("{}", format!("All clients returned the same spec version: 0.7.1").green()); } diff --git a/unit_tests/tests/test_syncing.rs b/unit_tests/tests/test_syncing.rs index 3fab296..39da1fb 100644 --- a/unit_tests/tests/test_syncing.rs +++ b/unit_tests/tests/test_syncing.rs @@ -45,9 +45,9 @@ fn assert_sync_status(a: SyncStatusType, b: SyncStatusType, c: SyncStatusType) { if !ab_sync_status_match || !bc_sync_status_match || !ca_sync_status_match { println!("{}", "Sync status mismatch detected\n".red().bold()); - println!("Deoxys: {}", format!("{:?}\n", a).cyan().bold()); - println!("Pathfinder: {}", format!("{:?}\n", b).magenta().bold()); - println!("Juno: {}", format!("{:?}\n", c).green().bold()); + println!("- Deoxys: {}", format!("{:?}", a).cyan().bold()); + println!("- Pathfinder: {}", format!("{:?}", b).magenta().bold()); + println!("- Juno: {}\n", format!("{:?}", c).green().bold()); let nodes = vec![("Deoxys", &a), ("Pathfinder", &b), ("Juno", &c)]; for i in 0..nodes.len() { @@ -59,20 +59,22 @@ fn assert_sync_status(a: SyncStatusType, b: SyncStatusType, c: SyncStatusType) { (SyncStatusType::Syncing(sync1), SyncStatusType::Syncing(sync2)) => { if sync1.current_block_num != sync2.current_block_num { println!( - "{}: {} {} != {}", - "Current block number mismatch:".red(), + "{}: {} {} != {} {}", + "Current block number mismatch".red(), name1, sync1.current_block_num.to_string().yellow().bold(), - sync2.current_block_num.to_string().yellow().bold() + sync2.current_block_num.to_string().yellow().bold(), + name2 ); } if sync1.current_block_hash != sync2.current_block_hash { println!( - "{}: {} {} != {}", + "{}: {} {} != {} {}", "Current block hash mismatch:".red(), name1, format!("0x{:x}", sync1.current_block_hash).yellow().bold(), - format!("0x{:x}", sync2.current_block_hash).yellow().bold() + format!("0x{:x}", sync2.current_block_hash).yellow().bold(), + name2 ); } if sync1.highest_block_num != sync2.highest_block_num { @@ -86,25 +88,26 @@ fn assert_sync_status(a: SyncStatusType, b: SyncStatusType, c: SyncStatusType) { } if sync1.highest_block_hash != sync2.highest_block_hash { println!( - "{}: {} {} != {}", + "{}: {} {} != {} {}", "Highest block hash mismatch:".red(), name1, format!("0x{:x}", sync1.highest_block_hash).yellow().bold(), - format!("0x{:x}", sync2.highest_block_hash).yellow().bold() + format!("0x{:x}", sync2.highest_block_hash).yellow().bold(), + name2 ); } if sync1.current_block_num != sync2.current_block_num { - println!("{}", "\nMismatch skipped since both nodes do not have the same height".green().bold()); + println!("Mismatch skipped: {}", "Nodes are not on the same height".green().bold()); } }, (SyncStatusType::Syncing(_), SyncStatusType::NotSyncing) => { - println!("{}", format!("\nMismatch skipped since {} is not syncing.", name2).green().bold()); + println!("Mismatch skipped: {}", format!("Node {} is not syncing.", name2).green().bold()); }, (SyncStatusType::NotSyncing, SyncStatusType::Syncing(_)) => { - println!("{}", format!("\nMismatch skipped since {} is not syncing.", name1).green().bold()); + println!("Mismatch skipped: {}", format!("Node {} is not syncing.", name1).green().bold()); }, _ => { - panic!("{}", "\nstarknet_syncing mismatch detected".red().bold()); + panic!("Mismatch skipped: {}", "starknet_syncing mismatch detected".red().bold()); } } } From 7239f32d28bc0af418af5129a57a6e35c1cdff85 Mon Sep 17 00:00:00 2001 From: antiyro Date: Thu, 23 May 2024 17:51:27 +0200 Subject: [PATCH 7/9] added block_hash_and_number tests --- .../tests/test_block_hash_and_number.rs | 122 ++++++++++++++++-- ...st_specversion.rs => test_spec_version.rs} | 2 +- 2 files changed, 112 insertions(+), 12 deletions(-) rename unit_tests/tests/{test_specversion.rs => test_spec_version.rs} (92%) diff --git a/unit_tests/tests/test_block_hash_and_number.rs b/unit_tests/tests/test_block_hash_and_number.rs index a3f90c7..cd91544 100644 --- a/unit_tests/tests/test_block_hash_and_number.rs +++ b/unit_tests/tests/test_block_hash_and_number.rs @@ -1,5 +1,6 @@ mod common; use common::*; +use starknet_core::types::BlockHashAndNumber; use std::collections::HashMap; @@ -8,6 +9,8 @@ use starknet_providers::{ Provider, }; +use colored::*; + /// /// Unit test for `starknet_BlockHashAndNumber` /// @@ -16,24 +19,121 @@ use starknet_providers::{ /// #[rstest] #[tokio::test] -#[ignore = "Slash this ignore when Deoxys node is fully synced"] -async fn work_latest_block(clients: HashMap>) { +async fn work_existing_block(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; + let juno = &clients[JUNO]; - let response_deoxys = deoxys + let deoxys_responce = deoxys .block_hash_and_number() .await - .expect("Error waiting for response from Deoxys node"); - let response_pathfinder = pathfinder + .expect("Deoxys : Error while getting the block number"); + let pathfinder_responce = pathfinder .block_hash_and_number() .await - .expect("Error waiting for response from Deoxys node"); - let response_expected = deoxys - .block_number() + .expect("RPC : Error while getting the block number"); + let juno_responce = juno + .block_hash_and_number() .await - .expect("Error waiting for response from Deoxys node"); + .expect("Juno : Error while getting the block number"); + + assert!(deoxys_responce.block_number > 0); + assert!(pathfinder_responce.block_number > 0); + assert!(juno_responce.block_number > 0); + + if !check_block_number(deoxys_responce.clone(), pathfinder_responce.clone(), juno_responce.clone()) { + println!("{}", "\nMismatch on Block numbers are skipped since it may not be an error.".green().bold()); + } + + if !check_block_hashes(deoxys_responce, pathfinder_responce, juno_responce) { + println!("{}", "\nMismatch on Block hashes are skipped since it may not be an error.".green().bold()); + } +} + +fn check_block_number(responce_deoxys: BlockHashAndNumber, responce_pathfinder: BlockHashAndNumber, responce_juno: BlockHashAndNumber) -> bool { + let deoxys_block_number = responce_deoxys.block_number; + let pathfinder_block_number = responce_pathfinder.block_number; + let juno_block_number = responce_juno.block_number; + + if deoxys_block_number != pathfinder_block_number || pathfinder_block_number != juno_block_number || juno_block_number != deoxys_block_number { + println!("{}", "Block number mismatch detected\n".red().bold()); + println!("Deoxys: {}", format!("{}", deoxys_block_number).cyan().bold()); + println!("Pathfinder: {}", format!("{}", pathfinder_block_number).magenta().bold()); + println!("Juno: {}\n", format!("{}", juno_block_number).green().bold()); + + if deoxys_block_number != pathfinder_block_number { + println!( + "{} {} != {}", + "Mismatch between Deoxys and Pathfinder:".red(), + deoxys_block_number.to_string().yellow().bold(), + pathfinder_block_number.to_string().yellow().bold() + ); + } + if pathfinder_block_number != juno_block_number { + println!( + "{} {} != {}", + "Mismatch between Pathfinder and Juno:".red(), + pathfinder_block_number.to_string().yellow().bold(), + juno_block_number.to_string().yellow().bold() + ); + } + if juno_block_number != deoxys_block_number { + println!( + "{} {} != {}", + "Mismatch between Juno and Deoxys:".red(), + juno_block_number.to_string().yellow().bold(), + deoxys_block_number.to_string().yellow().bold() + ); + } + + return false; + } else { + println!("{}", "All nodes have matching block numbers".green().bold()); + return true; + } + +} + +fn check_block_hashes(responce_deoxys: BlockHashAndNumber, responce_pathfinder: BlockHashAndNumber, responce_juno: BlockHashAndNumber) -> bool { + let deoxys_block_hash = responce_deoxys.block_hash; + let pathfinder_block_hash = responce_pathfinder.block_hash; + let juno_block_hash = responce_juno.block_hash; + + if deoxys_block_hash != pathfinder_block_hash || pathfinder_block_hash != juno_block_hash || juno_block_hash != deoxys_block_hash { + println!("{}", "Block hash mismatch detected\n".red().bold()); + println!("Deoxys: {}", format!("0x{:x}", deoxys_block_hash).cyan().bold()); + println!("Pathfinder: {}", format!("0x{:x}", pathfinder_block_hash).magenta().bold()); + println!("Juno: {}\n", format!("0x{:x}", juno_block_hash).green().bold()); + + if deoxys_block_hash != pathfinder_block_hash { + println!( + "{} {} != {}", + "Mismatch between Deoxys and Pathfinder:".red(), + format!("0x{:x}", deoxys_block_hash).yellow().bold(), + format!("0x{:x}", pathfinder_block_hash).yellow().bold() + ); + } + if pathfinder_block_hash != juno_block_hash { + println!( + "{} {} != {}", + "Mismatch between Pathfinder and Juno:".red(), + format!("0x{:x}", pathfinder_block_hash).yellow().bold(), + format!("0x{:x}", juno_block_hash).yellow().bold() + ); + } + if juno_block_hash != deoxys_block_hash { + println!( + "{} {} != {}", + "Mismatch between Juno and Deoxys:".red(), + format!("0x{:x}", juno_block_hash).yellow().bold(), + format!("0x{:x}", deoxys_block_hash).yellow().bold() + ); + } + + return false; + } else { + println!("{}", "All nodes have matching block hashes".green().bold()); + return true; + } - assert_eq!(response_deoxys.block_number, response_expected); - assert_eq!(response_deoxys, response_pathfinder); } diff --git a/unit_tests/tests/test_specversion.rs b/unit_tests/tests/test_spec_version.rs similarity index 92% rename from unit_tests/tests/test_specversion.rs rename to unit_tests/tests/test_spec_version.rs index 24007a2..cb07e43 100644 --- a/unit_tests/tests/test_specversion.rs +++ b/unit_tests/tests/test_spec_version.rs @@ -37,5 +37,5 @@ async fn test_spec_version_7_1(clients: HashMap Date: Thu, 23 May 2024 18:16:15 +0200 Subject: [PATCH 8/9] cleaned tx count --- .../tests/test_get_block_transaction_count.rs | 41 +++++++++++++++++-- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/unit_tests/tests/test_get_block_transaction_count.rs b/unit_tests/tests/test_get_block_transaction_count.rs index f8db248..737c9e4 100644 --- a/unit_tests/tests/test_get_block_transaction_count.rs +++ b/unit_tests/tests/test_get_block_transaction_count.rs @@ -46,6 +46,7 @@ async fn fail_non_existing_block(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; + let juno = &clients[JUNO]; let block_tag = BlockId::Tag(BlockTag::Latest); @@ -59,12 +60,20 @@ async fn work_with_latest_block(clients: HashMap, pathfinder: JsonRpcClient, + juno: JsonRpcClient, block_number: u64, ) { let block_number = BlockId::Number(block_number); @@ -79,7 +88,14 @@ async fn work_with_block( .await .expect("Error waiting for response from Pathfinder node"); + let response_juno = juno + .get_block_transaction_count(block_number) + .await + .expect("Error waiting for response from Juno node"); + + assert_eq!(response_juno, response_deoxys); assert_eq!(response_deoxys, response_pathfinder); + assert_eq!(response_pathfinder, response_juno); } #[rstest] @@ -87,8 +103,9 @@ async fn work_with_block( async fn work_with_block_1( deoxys: JsonRpcClient, pathfinder: JsonRpcClient, + juno: JsonRpcClient ) { - work_with_block(deoxys, pathfinder, 1).await; + work_with_block(deoxys, pathfinder, juno, 1).await; } #[rstest] @@ -96,6 +113,7 @@ async fn work_with_block_1( async fn work_with_block_1_hash(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; + let juno = &clients[JUNO]; let block_hash = BlockId::Hash( FieldElement::from_hex_be( @@ -114,7 +132,14 @@ async fn work_with_block_1_hash(clients: HashMap, pathfinder: JsonRpcClient, + juno: JsonRpcClient ) { - work_with_block(deoxys, pathfinder, 1).await; + work_with_block(deoxys, pathfinder, juno, 1).await; } #[rstest] @@ -131,8 +157,9 @@ async fn work_with_block_5066( async fn work_with_block_100_000( deoxys: JsonRpcClient, pathfinder: JsonRpcClient, + juno: JsonRpcClient ) { - work_with_block(deoxys, pathfinder, 100_000).await; + work_with_block(deoxys, pathfinder, juno, 100_000).await; } #[rstest] @@ -140,6 +167,7 @@ async fn work_with_block_100_000( async fn work_with_block_100_000_hash(clients: HashMap>) { let deoxys = &clients[DEOXYS]; let pathfinder = &clients[PATHFINDER]; + let juno = &clients[JUNO]; let block_hash = BlockId::Hash( FieldElement::from_hex_be( @@ -158,7 +186,14 @@ async fn work_with_block_100_000_hash(clients: HashMap Date: Thu, 23 May 2024 18:48:32 +0200 Subject: [PATCH 9/9] cleaned get block with tx hashes --- .../tests/test_get_block_with_tx_hashes.rs | 132 +++++++++++++++++- unit_tests/tests/test_syncing.rs | 2 +- 2 files changed, 126 insertions(+), 8 deletions(-) diff --git a/unit_tests/tests/test_get_block_with_tx_hashes.rs b/unit_tests/tests/test_get_block_with_tx_hashes.rs index 5feb49c..f316810 100644 --- a/unit_tests/tests/test_get_block_with_tx_hashes.rs +++ b/unit_tests/tests/test_get_block_with_tx_hashes.rs @@ -2,6 +2,7 @@ mod common; use common::*; +use colored::*; use starknet_core::types::MaybePendingBlockWithTxHashes; use std::collections::HashMap; @@ -12,8 +13,66 @@ use starknet_providers::{ jsonrpc::{HttpTransport, JsonRpcClient}, Provider, }; +use serde_json::Value; use unit_tests::constants::DEOXYS; +// Define a recursive function to compare JSON values and print differences +fn compare_json_values(path: &str, value1: &Value, value2: &Value) -> bool { + let mut exception_found = false; + + match (value1, value2) { + (Value::Object(map1), Value::Object(map2)) => { + for key in map1.keys().chain(map2.keys()).collect::>() { + let new_path = format!("{}/{}", path, key); + match (map1.get(key), map2.get(key)) { + (Some(v1), Some(v2)) => { + if compare_json_values(&new_path, v1, v2) { + exception_found = true; + } + } + (Some(v1), None) => println!("{}: present in first, absent in second", new_path), + (None, Some(v2)) => println!("{}: absent in first, present in second", new_path), + (None, None) => unreachable!(), + } + } + } + (Value::Array(arr1), Value::Array(arr2)) => { + for (index, (item1, item2)) in arr1.iter().zip(arr2.iter()).enumerate() { + let new_path = format!("{}[{}]", path, index); + if compare_json_values(&new_path, item1, item2) { + exception_found = true; + } + } + if arr1.len() > arr2.len() { + for index in arr2.len()..arr1.len() { + println!("{}[{}]: present in first, absent in second", path, index); + } + } else if arr2.len() > arr1.len() { + for index in arr1.len()..arr2.len() { + println!("{}[{}]: absent in first, present in second", path, index); + } + } + } + _ => { + if value1 != value2 { + let exception_paths = [ + "/l1_data_gas_price/price_in_fri", + "/l1_data_gas_price/price_in_wei" + ]; + + if exception_paths.contains(&path) { + println!("{} - Bypassed as exception", format!("{}: {:?} != {:?}", path, value1, value2).yellow()); + exception_found = true; + } else { + println!("{}: {:?} != {:?}", path, value1, value2); + } + } + } + } + + exception_found +} + /// /// Unit test for `starknet_get_block_with_tx_hashes` /// @@ -59,7 +118,7 @@ async fn work_existing_block(clients: HashMap block, @@ -83,7 +142,21 @@ async fn work_existing_block(clients: HashMap block, + MaybePendingBlockWithTxHashes::PendingBlock(_) => { + panic!("Expected block, got pending block") + } + }; + let block_pathfinder = match response_pathfinder { + MaybePendingBlockWithTxHashes::Block(block) => block, + MaybePendingBlockWithTxHashes::PendingBlock(_) => { + panic!("Expected block, got pending block") + } + }; + + // Convert the blocks to JSON values + let block_deoxys_json: Value = serde_json::to_value(&block_deoxys).expect("Failed to convert deoxys block to JSON"); + let block_pathfinder_json: Value = serde_json::to_value(&block_pathfinder).expect("Failed to convert pathfinder block to JSON"); + + // Compare the JSON values and print differences if they don't match + if block_deoxys_json != block_pathfinder_json { + println!("{}", format!("Block does not match differences found\n").red().bold()); + let exception_found = compare_json_values("", &block_deoxys_json, &block_pathfinder_json); + + if !exception_found { + panic!("Blocks do not match"); + } else { + println!("\nMismatch skipped: {}", format!("field exception found").green().bold()); + } + } } /// block 1 @@ -209,7 +308,26 @@ async fn work_loop(deoxys: JsonRpcClient, pathfinder: JsonRpcClie match response_pathfinder { Ok(response_pathfinder) => { if response_deoxys != response_pathfinder { - Err(format!("block {}", block_id)) + // Convert the blocks to JSON values + let block_deoxys_json: Value = serde_json::to_value(&response_deoxys) + .expect("Failed to convert deoxys block to JSON"); + let block_pathfinder_json: Value = serde_json::to_value(&response_pathfinder) + .expect("Failed to convert pathfinder block to JSON"); + + // Compare the JSON values and print differences + println!("Blocks for block {} do not match. Differences:", block_id); + let exception_found = compare_json_values( + "", + &block_deoxys_json, + &block_pathfinder_json, + ); + + if !exception_found { + Err(format!("block {}", block_id)) + } else { + println!("{}", "Test passed with exceptions".green()); + Ok(()) + } } else { Ok(()) } diff --git a/unit_tests/tests/test_syncing.rs b/unit_tests/tests/test_syncing.rs index 39da1fb..cb22104 100644 --- a/unit_tests/tests/test_syncing.rs +++ b/unit_tests/tests/test_syncing.rs @@ -107,7 +107,7 @@ fn assert_sync_status(a: SyncStatusType, b: SyncStatusType, c: SyncStatusType) { println!("Mismatch skipped: {}", format!("Node {} is not syncing.", name1).green().bold()); }, _ => { - panic!("Mismatch skipped: {}", "starknet_syncing mismatch detected".red().bold()); + panic!("Mismatch detected: {}", "starknet_syncing mismatch".red().bold()); } } }