We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run cargo clippy --all-features in this repo using rustc 1.74.0-nightly (ca2b74f1a 2023-09-14).
cargo clippy --all-features
rustc 1.74.0-nightly (ca2b74f1a 2023-09-14)
rustc-ice-2023-09-15T11:39:49.806742Z-41454.txt
rustc 1.74.0-nightly (ca2b74f1a 2023-09-14) binary: rustc commit-hash: ca2b74f1ae5075d62e223c0a91574a1fc3f51c7c commit-date: 2023-09-14 host: aarch64-apple-darwin release: 1.74.0-nightly LLVM version: 17.0.0
thread 'rustc' panicked at /rustc/ca2b74f1ae5075d62e223c0a91574a1fc3f51c7c/compiler/rustc_query_system/src/dep_graph/graph.rs:350:9: forcing query with already existing `DepNode` - query-key: (Indirect { alloc_id: alloc11891, offset: Size(0 bytes) }, Adt(std::ops::Range, [usize])) - dep-node: try_destructure_mir_constant_for_diagnostics(68c0094ca9f5638f-10ebae551adcc5a) stack backtrace: 0: 0x101d630b4 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0d5555f5bb8f5e4d 1: 0x101db6cd0 - core::fmt::write::ha2c93d8967254360 2: 0x101d58a30 - std::io::Write::write_fmt::hd991e27e71d23b0b 3: 0x101d62ef4 - std::sys_common::backtrace::print::h3c8d71e621d4ab61 4: 0x101d65c68 - std::panicking::panic_hook_with_disk_dump::{{closure}}::he42d0d82ba1d7ded 5: 0x101d65968 - std::panicking::panic_hook_with_disk_dump::h7c3af1f1b0d15228 6: 0x10a2c0e98 - rustc_driver_impl[358776a4edd54519]::install_ice_hook::{closure#0} 7: 0x101d66478 - std::panicking::rust_panic_with_hook::h670658f8c682fcbb 8: 0x101d66240 - std::panicking::begin_panic_handler::{{closure}}::hbb839256dfa5d1da 9: 0x101d63540 - std::sys_common::backtrace::__rust_end_short_backtrace::ha59a4550aab33e4e 10: 0x101d65f9c - _rust_begin_unwind 11: 0x101de1e70 - core::panicking::panic_fmt::hb9850c26ab110e82 12: 0x10d58bb40 - rustc_query_system[6012f81079eeabfb]::query::plumbing::try_execute_query::<rustc_query_impl[6edadaead8996069]::DynamicConfig<rustc_query_system[6012f81079eeabfb]::query::caches::DefaultCache<(rustc_middle[f9eb30c539e75a3b]::mir::interpret::value::ConstValue, rustc_middle[f9eb30c539e75a3b]::ty::Ty), rustc_middle[f9eb30c539e75a3b]::query::erase::Erased<[u8; 24usize]>>, false, false, false>, rustc_query_impl[6edadaead8996069]::plumbing::QueryCtxt, true> 13: 0x10d678e48 - rustc_query_impl[6edadaead8996069]::query_impl::try_destructure_mir_constant_for_diagnostics::get_query_incr::__rust_end_short_backtrace 14: 0x100d84670 - clippy_utils[e0a8640487121ddf]::consts::field_of_struct 15: 0x100d82e44 - <clippy_utils[e0a8640487121ddf]::consts::ConstEvalLateContext>::expr 16: 0x100d702dc - clippy_utils[e0a8640487121ddf]::is_integer_const 17: 0x100bb8398 - <clippy_lints[a9c05a519920f63a]::ranges::Ranges as rustc_lint[28d81a56fba9d9a0]::passes::LateLintPass>::check_expr 18: 0x10de2de84 - <rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass>>::with_lint_attrs::<<rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass> as rustc_hir[cee644489d7d0a06]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0}> 19: 0x10ddd5e60 - rustc_hir[cee644489d7d0a06]::intravisit::walk_body::<rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass>> 20: 0x10de2dfcc - <rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass> as rustc_hir[cee644489d7d0a06]::intravisit::Visitor>::visit_nested_body 21: 0x10de2b418 - <rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass> as rustc_hir[cee644489d7d0a06]::intravisit::Visitor>::visit_nested_item 22: 0x10ddd8538 - rustc_hir[cee644489d7d0a06]::intravisit::walk_item::<rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass>> 23: 0x10de2b418 - <rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass> as rustc_hir[cee644489d7d0a06]::intravisit::Visitor>::visit_nested_item 24: 0x10ddd8538 - rustc_hir[cee644489d7d0a06]::intravisit::walk_item::<rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass>> 25: 0x10de2b418 - <rustc_lint[28d81a56fba9d9a0]::late::LateContextAndPass<rustc_lint[28d81a56fba9d9a0]::late::RuntimeCombinedLateLintPass> as rustc_hir[cee644489d7d0a06]::intravisit::Visitor>::visit_nested_item 26: 0x10de29e7c - <rustc_session[849cddba79f53fbe]::session::Session>::time::<(), rustc_lint[28d81a56fba9d9a0]::late::check_crate::{closure#0}::{closure#0}> 27: 0x10dde7edc - <rustc_data_structures[42df60bfa97a8b93]::sync::parallel::ParallelGuard>::run::<(), rustc_lint[28d81a56fba9d9a0]::late::check_crate::{closure#0}> 28: 0x10ddfaf8c - rustc_data_structures[42df60bfa97a8b93]::sync::parallel::disabled::join::<rustc_lint[28d81a56fba9d9a0]::late::check_crate::{closure#0}, rustc_lint[28d81a56fba9d9a0]::late::check_crate::{closure#1}, (), ()> 29: 0x10de30278 - rustc_lint[28d81a56fba9d9a0]::late::check_crate 30: 0x10a403ba8 - <core[980cc09546d4856a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[b2ca0051192334f1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}::{closure#0}::{closure#2}> as core[980cc09546d4856a]::ops::function::FnOnce<()>>::call_once 31: 0x10a406370 - <rustc_data_structures[42df60bfa97a8b93]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[b2ca0051192334f1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}::{closure#0}::{closure#2}> 32: 0x10a4044dc - <core[980cc09546d4856a]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[b2ca0051192334f1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}> as core[980cc09546d4856a]::ops::function::FnOnce<()>>::call_once 33: 0x10a406acc - <rustc_data_structures[42df60bfa97a8b93]::sync::parallel::ParallelGuard>::run::<(), rustc_interface[b2ca0051192334f1]::passes::analysis::{closure#6}::{closure#1}::{closure#0}> 34: 0x10a3fd8e8 - <rustc_session[849cddba79f53fbe]::session::Session>::time::<(), rustc_interface[b2ca0051192334f1]::passes::analysis::{closure#6}> 35: 0x10a43df3c - rustc_interface[b2ca0051192334f1]::passes::analysis 36: 0x10d5cc230 - rustc_query_impl[6edadaead8996069]::plumbing::__rust_begin_short_backtrace::<rustc_query_impl[6edadaead8996069]::query_impl::analysis::dynamic_query::{closure#2}::{closure#0}, rustc_middle[f9eb30c539e75a3b]::query::erase::Erased<[u8; 1usize]>> 37: 0x10d6d3f70 - <rustc_query_impl[6edadaead8996069]::query_impl::analysis::dynamic_query::{closure#2} as core[980cc09546d4856a]::ops::function::FnOnce<(rustc_middle[f9eb30c539e75a3b]::ty::context::TyCtxt, ())>>::call_once 38: 0x10d53ffe4 - rustc_query_system[6012f81079eeabfb]::query::plumbing::try_execute_query::<rustc_query_impl[6edadaead8996069]::DynamicConfig<rustc_query_system[6012f81079eeabfb]::query::caches::SingleCache<rustc_middle[f9eb30c539e75a3b]::query::erase::Erased<[u8; 1usize]>>, false, false, false>, rustc_query_impl[6edadaead8996069]::plumbing::QueryCtxt, true> 39: 0x10d6668c4 - rustc_query_impl[6edadaead8996069]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace 40: 0x10a2dc2e0 - <rustc_middle[f9eb30c539e75a3b]::ty::context::GlobalCtxt>::enter::<rustc_driver_impl[358776a4edd54519]::run_compiler::{closure#1}::{closure#2}::{closure#6}, core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>> 41: 0x10a2e8c08 - <rustc_interface[b2ca0051192334f1]::interface::Compiler>::enter::<rustc_driver_impl[358776a4edd54519]::run_compiler::{closure#1}::{closure#2}, core[980cc09546d4856a]::result::Result<core[980cc09546d4856a]::option::Option<rustc_interface[b2ca0051192334f1]::queries::Linker>, rustc_span[999d20c3e6606735]::ErrorGuaranteed>> 42: 0x10a30bfc8 - std[6cc60396e872f993]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[b2ca0051192334f1]::util::run_in_thread_with_globals<rustc_interface[b2ca0051192334f1]::interface::run_compiler<core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>, rustc_driver_impl[358776a4edd54519]::run_compiler::{closure#1}>::{closure#0}, core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>> 43: 0x10a30dd70 - <<std[6cc60396e872f993]::thread::Builder>::spawn_unchecked_<rustc_interface[b2ca0051192334f1]::util::run_in_thread_with_globals<rustc_interface[b2ca0051192334f1]::interface::run_compiler<core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>, rustc_driver_impl[358776a4edd54519]::run_compiler::{closure#1}>::{closure#0}, core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[980cc09546d4856a]::result::Result<(), rustc_span[999d20c3e6606735]::ErrorGuaranteed>>::{closure#1} as core[980cc09546d4856a]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 44: 0x101d6f1f4 - std::sys::unix::thread::Thread::new::thread_start::h89ca44a6a465647e 45: 0x1a9a5ffa8 - __pthread_joiner_wake error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new?template=ice.yml note: please attach the file at `/Users/aggron/dev/toposware/protocol/plonky2/rustc-ice-2023-09-15T11:39:49.806742Z-41454.txt` to your bug report note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C split-debuginfo=unpacked -C incremental=[REDACTED] note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [try_destructure_mir_constant_for_diagnostics] destructuring MIR constant #1 [analysis] running analysis passes on this crate end of query stack note: Clippy version: clippy 0.1.74 (ca2b74f1 2023-09-14)
The text was updated successfully, but these errors were encountered:
Same issue as #11500 probably
Sorry, something went wrong.
Closing as duplicate
No branches or pull requests
Summary
Run
cargo clippy --all-features
in this repo usingrustc 1.74.0-nightly (ca2b74f1a 2023-09-14)
.rustc-ice-2023-09-15T11:39:49.806742Z-41454.txt
Version
Error output
Backtrace
The text was updated successfully, but these errors were encountered: