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
cargo clean
cargo clippy
cargo check
rustc_middle
thread 'rustc' panicked at 'failed to create span for type parameters', src/tools/clippy/clippy_lints/src/implicit_hasher.rs:182:30 stack backtrace: 0: 0x10ec2e6e6 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h0a1c410dd2eebc30 1: 0x10ec8bfca - core::fmt::write::hfa389e524187f2c6 2: 0x10ec20eac - std::io::Write::write_fmt::h366bfde824bc90c5 3: 0x10ec2e4ca - std::sys_common::backtrace::print::hc90b083c930997af 4: 0x10ec318c3 - std::panicking::default_hook::{{closure}}::h75efc5c6aebec0e0 5: 0x10ec31618 - std::panicking::default_hook::hc8ee2f0ee4fbe744 6: 0x10db31be5 - clippy_driver[e1b5966e2cd4febe]::ICE_HOOK::{closure#0}::{closure#0} 7: 0x10ec320b9 - std::panicking::rust_panic_with_hook::h479ead1480e59d8d 8: 0x10ec31e54 - std::panicking::begin_panic_handler::{{closure}}::h69ffc77690b7f126 9: 0x10ec2eb88 - std::sys_common::backtrace::__rust_end_short_backtrace::h7fbeef7420a96564 10: 0x10ec31b1d - _rust_begin_unwind 11: 0x10ecb85e3 - core::panicking::panic_fmt::h9b5d807e24bcaaed 12: 0x10ec88ceb - core::panicking::panic_display::h22e231db6dd6733b 13: 0x10ec88c9c - core::panicking::panic_str::h2f2f3cbd83d73ac2 14: 0x10ecb85a9 - core::option::expect_failed::h5792a81bec0ff713 15: 0x10dca7328 - <clippy_lints[fffc7384c1a263e3]::implicit_hasher::ImplicitHasher as rustc_lint[3cafedf96bc6bf06]::passes::LateLintPass>::check_item 16: 0x11904e570 - <rustc_lint[3cafedf96bc6bf06]::late::LateContextAndPass<rustc_lint[3cafedf96bc6bf06]::late::RuntimeCombinedLateLintPass> as rustc_hir[5dcae469b4275a6b]::intravisit::Visitor>::visit_nested_item 17: 0x119004d0c - rustc_hir[5dcae469b4275a6b]::intravisit::walk_item::<rustc_lint[3cafedf96bc6bf06]::late::LateContextAndPass<rustc_lint[3cafedf96bc6bf06]::late::RuntimeCombinedLateLintPass>> 18: 0x11904e588 - <rustc_lint[3cafedf96bc6bf06]::late::LateContextAndPass<rustc_lint[3cafedf96bc6bf06]::late::RuntimeCombinedLateLintPass> as rustc_hir[5dcae469b4275a6b]::intravisit::Visitor>::visit_nested_item 19: 0x11904c84c - rustc_lint[3cafedf96bc6bf06]::late::late_lint_crate::<rustc_lint[3cafedf96bc6bf06]::BuiltinCombinedLateLintPass> 20: 0x119013e7f - <rustc_session[d63786266ef4cccc]::session::Session>::time::<(), rustc_lint[3cafedf96bc6bf06]::late::check_crate<rustc_lint[3cafedf96bc6bf06]::BuiltinCombinedLateLintPass, rustc_interface[f23470af57d82d6f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}::{closure#0}> 21: 0x1190827d7 - rustc_data_structures[b7d32f4d99b7bf3b]::sync::join::<rustc_lint[3cafedf96bc6bf06]::late::check_crate<rustc_lint[3cafedf96bc6bf06]::BuiltinCombinedLateLintPass, rustc_interface[f23470af57d82d6f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#0}, rustc_lint[3cafedf96bc6bf06]::late::check_crate<rustc_lint[3cafedf96bc6bf06]::BuiltinCombinedLateLintPass, rustc_interface[f23470af57d82d6f]::passes::analysis::{closure#5}::{closure#1}::{closure#2}::{closure#0}::{closure#0}>::{closure#1}, (), ()> 22: 0x11907794c - <core[93a93c60bc680c34]::panic::unwind_safe::AssertUnwindSafe<rustc_interface[f23470af57d82d6f]::passes::analysis::{closure#5}::{closure#1}> as core[93a93c60bc680c34]::ops::function::FnOnce<()>>::call_once 23: 0x11901580b - <rustc_session[d63786266ef4cccc]::session::Session>::time::<(), rustc_interface[f23470af57d82d6f]::passes::analysis::{closure#5}> 24: 0x118ffcc38 - rustc_interface[f23470af57d82d6f]::passes::analysis 25: 0x119e73899 - <rustc_query_system[530e01c91ab55719]::dep_graph::graph::DepGraph<rustc_middle[68cc99e584dc82b3]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[68cc99e584dc82b3]::ty::context::TyCtxt, (), core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>> 26: 0x119c50fab - rustc_query_system[530e01c91ab55719]::query::plumbing::try_execute_query::<rustc_query_impl[ac97c0e5987b58ce]::queries::analysis, rustc_query_impl[ac97c0e5987b58ce]::plumbing::QueryCtxt> 27: 0x119d6ddc8 - <rustc_query_impl[ac97c0e5987b58ce]::Queries as rustc_middle[68cc99e584dc82b3]::ty::query::QueryEngine>::analysis 28: 0x1187e045a - <rustc_interface[f23470af57d82d6f]::passes::QueryContext>::enter::<rustc_driver[9a90359b931b5a16]::run_compiler::{closure#1}::{closure#2}::{closure#2}, core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>> 29: 0x1187c1a4d - <rustc_interface[f23470af57d82d6f]::queries::QueryResult<rustc_interface[f23470af57d82d6f]::passes::QueryContext>>::enter::<core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>, rustc_driver[9a90359b931b5a16]::run_compiler::{closure#1}::{closure#2}::{closure#2}> 30: 0x11881f773 - <rustc_interface[f23470af57d82d6f]::interface::Compiler>::enter::<rustc_driver[9a90359b931b5a16]::run_compiler::{closure#1}::{closure#2}, core[93a93c60bc680c34]::result::Result<core[93a93c60bc680c34]::option::Option<rustc_interface[f23470af57d82d6f]::queries::Linker>, rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>> 31: 0x11883c576 - rustc_span[17834f0877bc0374]::with_source_map::<core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>, rustc_interface[f23470af57d82d6f]::interface::run_compiler<core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>, rustc_driver[9a90359b931b5a16]::run_compiler::{closure#1}>::{closure#0}::{closure#0}> 32: 0x1187e6ed5 - std[cdf671cfb20262e6]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[f23470af57d82d6f]::util::run_in_thread_pool_with_globals<rustc_interface[f23470af57d82d6f]::interface::run_compiler<core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>, rustc_driver[9a90359b931b5a16]::run_compiler::{closure#1}>::{closure#0}, core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>> 33: 0x1187c5e75 - <<std[cdf671cfb20262e6]::thread::Builder>::spawn_unchecked_<rustc_interface[f23470af57d82d6f]::util::run_in_thread_pool_with_globals<rustc_interface[f23470af57d82d6f]::interface::run_compiler<core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>, rustc_driver[9a90359b931b5a16]::run_compiler::{closure#1}>::{closure#0}, core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[93a93c60bc680c34]::result::Result<(), rustc_errors[5621bc001758f4bb]::ErrorGuaranteed>>::{closure#1} as core[93a93c60bc680c34]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} 34: 0x10ec3b5a7 - std::sys::unix::thread::Thread::new::thread_start::hb363cecb84f4c49a 35: 0x7ff8045bb259 - __pthread_start error: internal compiler error: unexpected panic note: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust-clippy/issues/new note: Clippy version: clippy 0.1.68 (2c8cc343 2023-03-06) query stack during panic: #0 [analysis] running analysis passes on this crate end of query stack
The text was updated successfully, but these errors were encountered:
For reference, the code causing this ICE is branch api-client-error-breaking-change of this repo
api-client-error-breaking-change
Sorry, something went wrong.
aee3daf
Successfully merging a pull request may close this issue.
cargo clean
to clear up any odd incremental compilation artifacts, and this still occurred.cargo clippy
.cargo check
runs just fine on this code -- that is, it does not ICE. The code itself has errors.rustc_middle
with debug_assertions enabled #10253The text was updated successfully, but these errors were encountered: