Skip to content

Panic: thread '<unnamed>' panicked at 'forcing query with already existing DepNode #9846

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

Open
simbleau opened this issue Nov 13, 2022 · 1 comment

Comments

@simbleau
Copy link

Full stack: https://github.com/simbleau/cddns/actions/runs/3456765281/jobs/5769737252

thread '<unnamed>' panicked at 'forcing query with already existing `DepNode`
- query-key: Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: Binder(TraitPredicate(<for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {std::future::ResumeTy, &'a (dyn public_ip::Resolver<'b> + 'c), public_ip::Version, impl std::future::Future<Output = std::option::Option<std::net::IpAddr>>, ()} as std::marker::Send>, polarity:Positive), []) } }
- dep-node: evaluate_obligation(7881d5d93a575fb-b804294736d8ae02)', /rustc/6284998a2677d7e3e8420db783f3aa4fd80d7423/compiler/rustc_query_system/src/dep_graph/graph.rs:316:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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.66 (6284998 2022-11-12)

query stack during panic:
#0 [evaluate_obligation] evaluating trait selection obligation `for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {core::future::ResumeTy, &'a (dyn public_ip::Resolver<'b> + 'c), public_ip::Version, impl core::future::future::Future<Output = core::option::Option<std::net::ip_addr::IpAddr>>, ()}: core::marker::Send`
#1 [analysis] running analysis passes on this crate
end of query stack
@giraffate
Copy link
Contributor

Thanks for the report!

https://github.com/simbleau/cddns/actions/runs/3456765281/jobs/5769737290

  query stack during panic:
  #0 [evaluate_obligation] evaluating trait selection obligation `for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {core::future::ResumeTy, &'a (dyn public_ip::Resolver<'b> + 'c), public_ip::Version, impl core::future::future::Future<Output = core::option::Option<std::net::ip_addr::IpAddr>>, ()}: core::marker::Send`
  #1 [analysis] running analysis passes on this crate
  end of query stack
  thread '<unnamed>' panicked at 'forcing query with already existing `DepNode`
  - query-key: Canonical { max_universe: U0, variables: [], value: ParamEnvAnd { param_env: ParamEnv { caller_bounds: [], reveal: UserFacing, constness: NotConst }, value: Binder(TraitPredicate(<for<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h> {std::future::ResumeTy, &'a (dyn public_ip::Resolver<'b> + 'c), public_ip::Version, impl std::future::Future<Output = std::option::Option<std::net::IpAddr>>, ()} as std::marker::Send>, polarity:Positive), []) } }
  - dep-node: evaluate_obligation(7881d5d93a575fb-b804294736d8ae02)', /rustc/6284998a2677d7e3e8420db783f3aa4fd80d7423/compiler/rustc_query_system/src/dep_graph/graph.rs:316:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

It seems to be a duplicate of #9845.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants