Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Work around ICE in rust 1.57+ #4

Merged
merged 1 commit into from
Dec 11, 2021
Merged

Work around ICE in rust 1.57+ #4

merged 1 commit into from
Dec 11, 2021

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Dec 11, 2021

Minimized and filed as rust-lang/rust#91807.

thread 'rustc' panicked at 'forcing query with already existing `DepNode`
- query-key: Binder(std::ops::FnOnce<({integer}, {integer})>, [])
- dep-node: own_existential_vtable_entries(e50a277812671f6b-aa29609e12f65147)', /rustc/0b42deaccc2cbe17a68067aa5fdb76104369e1fd/compiler/rustc_query_system/src/dep_graph/graph.rs:236: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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.59.0-nightly (0b42deacc 2021-12-09) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [own_existential_vtable_entries] finding all existential vtable entries for trait core::ops::function::FnOnce
#1 [evaluate_obligation] evaluating trait selection obligation `(dyn core::ops::function::Fn(^2_0, ^2_0) + 'static): core::ops::function::Fn<(^1_1, ^1_2)>`
end of query stack

    thread 'rustc' panicked at 'forcing query with already existing `DepNode`
    - query-key: Binder(std::ops::FnOnce<({integer}, {integer})>, [])
    - dep-node: own_existential_vtable_entries(e50a277812671f6b-aa29609e12f65147)', /rustc/0b42deaccc2cbe17a68067aa5fdb76104369e1fd/compiler/rustc_query_system/src/dep_graph/graph.rs:236: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/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

    note: rustc 1.59.0-nightly (0b42deacc 2021-12-09) running on x86_64-unknown-linux-gnu

    note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental

    note: some of the compiler flags provided by cargo are hidden

    query stack during panic:
    #0 [own_existential_vtable_entries] finding all existential vtable entries for trait core::ops::function::FnOnce
    #1 [evaluate_obligation] evaluating trait selection obligation `(dyn core::ops::function::Fn(^2_0, ^2_0) + 'static): core::ops::function::Fn<(^1_1, ^1_2)>`
    end of query stack
@dtolnay dtolnay merged commit c4caaf4 into master Dec 11, 2021
@dtolnay dtolnay deleted the ice branch December 11, 2021 20:04
Repository owner locked and limited conversation to collaborators Dec 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant