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
ICE occurred whilst running cargo clippy.
cargo clippy
rustc 1.87.0-nightly (85abb2763 2025-02-25) binary: rustc commit-hash: 85abb276361c424d64743c0965242dd0e7b866d1 commit-date: 2025-02-25 host: x86_64-unknown-linux-gnu release: 1.87.0-nightly LLVM version: 20.1.0
thread 'rustc' panicked at /rustc/85abb276361c424d64743c0965242dd0e7b866d1/compiler/rustc_hir/src/hir.rs:1165:18: can't get the span of an arbitrary parsed attribute: Parsed(Repr([(ReprTransparent, /home/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bitflags-2.8.0/src/internal.rs:19:16: 19:27 (#34))])) stack backtrace: 0: 0x7f0c64db4864 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hfbcadcb664e1e745 1: 0x7f0c6561622c - core::fmt::write::h96d3ad630dab013b 2: 0x7f0c666683d1 - std::io::Write::write_fmt::h3607b096b8efb3ee 3: 0x7f0c64db46c2 - std::sys::backtrace::BacktraceLock::print::h5c5089ef3846b40c 4: 0x7f0c64db6ece - std::panicking::default_hook::{{closure}}::ha2f1ea5200a78a69 5: 0x7f0c64db6aa4 - std::panicking::default_hook::he72a4c09abcc8836 6: 0x7f0c63f1c4a7 - std[fe011135ce22c601]::panicking::update_hook::<alloc[d9798e16cf59ec93]::boxed::Box<rustc_driver_impl[685633a5d1c26086]::install_ice_hook::{closure#1}>>::{closure#0} 7: 0x7f0c64db7743 - std::panicking::rust_panic_with_hook::h9c6e02ac63684bb2 8: 0x7f0c64db743a - std::panicking::begin_panic_handler::{{closure}}::h408c429dfb442e49 9: 0x7f0c64db4d39 - std::sys::backtrace::__rust_end_short_backtrace::h7f67e94cbe910959 10: 0x7f0c64db70fd - rust_begin_unwind 11: 0x7f0c61a58430 - core::panicking::panic_fmt::h66d01c76cbf68b4b 12: 0x56021b228609 - <clippy_lints[5cffcd3e2f791c9d]::macro_use::MacroUseImports as rustc_lint[b946cbde2b0541cb]::passes::LateLintPass>::check_attribute 13: 0x7f0c64405b46 - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_item 14: 0x7f0c6441c69c - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_block 15: 0x7f0c6441baff - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_expr::{closure#0}::{closure#0} 16: 0x7f0c6441b4cd - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_expr 17: 0x7f0c6441b302 - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_body 18: 0x7f0c6440646e - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_item 19: 0x7f0c64405d60 - <rustc_lint[b946cbde2b0541cb]::late::LateContextAndPass<rustc_lint[b946cbde2b0541cb]::late::RuntimeCombinedLateLintPass> as rustc_hir[8d893940beefe6b3]::intravisit::Visitor>::visit_nested_item 20: 0x7f0c6666090b - rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#0} 21: 0x7f0c643c3f02 - rayon_core[5dbb4f18f77ec21a]::join::join_context::<rayon_core[5dbb4f18f77ec21a]::join::join::call<core[5ec1fcc0a718fbac]::option::Option<rustc_data_structures[2299a01409635417]::marker::FromDyn<()>>, rustc_data_structures[2299a01409635417]::sync::parallel::join<rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#0}, rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#1}, (), ()>::{closure#0}::{closure#0}>::{closure#0}, rayon_core[5dbb4f18f77ec21a]::join::join::call<core[5ec1fcc0a718fbac]::option::Option<rustc_data_structures[2299a01409635417]::marker::FromDyn<()>>, rustc_data_structures[2299a01409635417]::sync::parallel::join<rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#0}, rustc_lint[b946cbde2b0541cb]::late::check_crate::{closure#1}, (), ()>::{closure#0}::{closure#1}>::{closure#0}, core[5ec1fcc0a718fbac]::option::Option<rustc_data_structures[2299a01409635417]::marker::FromDyn<()>>, core[5ec1fcc0a718fbac]::option::Option<rustc_data_structures[2299a01409635417]::marker::FromDyn<()>>>::{closure#0} 22: 0x7f0c66660c37 - rustc_lint[b946cbde2b0541cb]::late::check_crate 23: 0x7f0c64364169 - <rayon_core[5dbb4f18f77ec21a]::job::HeapJob<<rayon_core[5dbb4f18f77ec21a]::scope::Scope>::spawn<rustc_interface[6c13097cf9f19f86]::passes::analysis::{closure#0}::{closure#2}::{closure#0}::{closure#2}::{closure#1}::{closure#0}::{closure#3}>::{closure#0}> as rayon_core[5dbb4f18f77ec21a]::job::Job>::execute 24: 0x7f0c63a2707e - <rayon_core[5dbb4f18f77ec21a]::registry::WorkerThread>::wait_until_cold 25: 0x7f0c63a2495b - <rayon_core[5dbb4f18f77ec21a]::registry::ThreadBuilder>::run 26: 0x7f0c63f2428a - <<crossbeam_utils[7cc091270189c8ef]::thread::ScopedThreadBuilder>::spawn<<rayon_core[5dbb4f18f77ec21a]::ThreadPoolBuilder>::build_scoped<rustc_interface[6c13097cf9f19f86]::util::run_in_thread_pool_with_globals<rustc_interface[6c13097cf9f19f86]::interface::run_compiler<(), rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#3}::{closure#0}::{closure#0}, rustc_interface[6c13097cf9f19f86]::util::run_in_thread_pool_with_globals<rustc_interface[6c13097cf9f19f86]::interface::run_compiler<(), rustc_driver_impl[685633a5d1c26086]::run_compiler::{closure#0}>::{closure#1}, ()>::{closure#3}::{closure#0}::{closure#1}, ()>::{closure#0}::{closure#0}::{closure#0}, ()>::{closure#0} as core[5ec1fcc0a718fbac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 27: 0x7f0c63f133ce - std[fe011135ce22c601]::sys::backtrace::__rust_begin_short_backtrace::<alloc[d9798e16cf59ec93]::boxed::Box<dyn core[5ec1fcc0a718fbac]::ops::function::FnOnce<(), Output = ()> + core[5ec1fcc0a718fbac]::marker::Send>, ()> 28: 0x7f0c63f23d2a - <<std[fe011135ce22c601]::thread::Builder>::spawn_unchecked_<alloc[d9798e16cf59ec93]::boxed::Box<dyn core[5ec1fcc0a718fbac]::ops::function::FnOnce<(), Output = ()> + core[5ec1fcc0a718fbac]::marker::Send>, ()>::{closure#1} as core[5ec1fcc0a718fbac]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 29: 0x7f0c6656056b - std::sys::pal::unix::thread::Thread::new::thread_start::h3ad2c4029bc451ad 30: 0x7f0c6049caa4 - <unknown> 31: 0x7f0c60529c3c - <unknown> 32: 0x0 - <unknown> 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 make sure that you have updated to the latest nightly note: please attach the file at `/home/runner/work/HarTex/HarTex/discord-frontend/rustc-ice-2025-02-26T02_03_46-21270.txt` to your bug report note: compiler flags: --crate-type lib -C embed-bitcode=no -C debuginfo=2 -C target-cpu=native -Z macro-backtrace -Z threads=8 -Z validate-mir note: some of the compiler flags provided by cargo are hidden query stack during panic: #0 [analysis] running analysis passes on this crate end of query stack note: Clippy version: clippy 0.1.86 (85abb27636 2025-02-25)
The text was updated successfully, but these errors were encountered:
Duplicate of rust-lang/rust#137640
Sorry, something went wrong.
No branches or pull requests
Summary
ICE occurred whilst running
cargo clippy
.Version
Error output
Backtrace
The text was updated successfully, but these errors were encountered: