Skip to content

Maybe bug while running clippy #10906

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LeonGGX opened this issue Jun 8, 2023 · 2 comments
Closed

Maybe bug while running clippy #10906

LeonGGX opened this issue Jun 8, 2023 · 2 comments
Labels
I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@LeonGGX
Copy link

LeonGGX commented Jun 8, 2023

Encountered this problem while running clippy on an axum projet (and after 'solving' all the problems submitted by clippy)
The project runs normally when using "cargo run".

Message received :

error: internal compiler error: unexpected panic
note: the compiler unexpectedly panicked. this is a bug.
note: Clippy version: clippy 0.1.70 (90c54180 2023-05-31)

query stack during panic:
#0 [mir_built] building MIR for `handlers::login_handlers::__axum_macros_check_post_login_hdl_future::post_login_hdl::{closure#0}`
#1 [mir_const] preparing `handlers::login_handlers::__axum_macros_check_post_login_hdl_future::post_login_hdl::{closure#0}` for borrow checking
end of query stack
there was a panic while trying to force a dep node
try_mark_green dep node stack:
#0 layout_of(466d6c05fe2cc6be-7a0e188a7989b601)
#1 layout_of(2c6202367890f1fc-3b201b8715394273)
#2 mir_drops_elaborated_and_const_checked(2d74b00808279a03-4a5edc54f56da48b)
#3 optimized_mir(axum_simple[924e]::handlers::login_handlers::__axum_macros_check_post_login_hdl_future)
end of try_mark_green dep node stack

Completed with code 101
@Centri3
Copy link
Member

Centri3 commented Jun 8, 2023

Can you link to the code in question, and also give the backtrace + panic message? (those were omitted)

@rustbot label +I-ICE

@rustbot rustbot added the I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️ label Jun 8, 2023
@Jarcho
Copy link
Contributor

Jarcho commented Mar 9, 2025

Closing this as there's no reproducer, no stack trace and the mention of a dep node is a hint that this is incremental related.

@Jarcho Jarcho closed this as completed Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

4 participants