-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Could not follow hello-rust
Code
fn main() {
println!("Hello, world!");
}Meta
rustc --version --verbose:
rustc 1.52.0 (88f19c6da 2021-05-03)
binary: rustc
commit-hash: 88f19c6dab716c6281af7602e30f413e809c5974
commit-date: 2021-05-03
host: x86_64-pc-windows-msvc
release: 1.52.0
LLVM version: 12.0.0
Error output
Fresh autocfg v1.0.1
Fresh cc v1.0.67
Fresh gimli v0.24.0
Fresh adler v1.0.2
Fresh object v0.24.0
Fresh unicode-width v0.1.8
Fresh rustc-demangle v0.1.19
Fresh cfg-if v1.0.0
Fresh vec_map v0.8.2
Fresh strsim v0.8.0
Fresh smallvec v0.4.5
Fresh addr2line v0.15.1
Fresh textwrap v0.11.0
Fresh winapi v0.3.9
Fresh libc v0.2.94
Fresh bitflags v1.2.1
Fresh miniz_oxide v0.4.4
Fresh atty v0.2.14
Fresh backtrace v0.3.59
Fresh clap v2.33.3
Fresh error-chain v0.10.0
Fresh ferris-says v0.2.0
Compiling hello-rust v0.1.0 (D:\rust\hello-rust)
Running `rustc --crate-name hello_rust --edition=2018 'src\main.rs' --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a5a866d33d71c728 --out-dir 'D:\rust\hello-rust\target\debug\deps' -C 'incremental=D:\rust\hello-rust\target\debug\incremental' -L 'dependency=D:\rust\hello-rust\target\debug\deps' --extern 'ferris_says=D:\rust\hello-rust\target\debug\deps\libferris_says-9cc42f4fadeb00ab.rlib'`
thread 'rustc' panicked at 'found unstable fingerprints for predicates_of(core[bd3a]::ops::function::Fn): GenericPredicates { parent: None, predicates: [(Binder(TraitPredicate(<Self as std::ops::FnMut<Args>>)), C:\Users\Shivansh sen\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\ops\function.rs:67:21: 67:32 (#0)), (Binder(TraitPredicate(<Args as std::marker::Sized>)), C:\Users\Shivansh sen\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\ops\function.rs:67:14: 67:18 (#0)), (Binder(TraitPredicate(<Self as std::ops::Fn<Args>>)), C:\Users\Shivansh sen\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\ops\function.rs:67:1: 67:32 (#0))] }', /rustc/88f19c6dab716c6281af7602e30f413e809c5974\compiler\rustc_query_system\src\query\plumbing.rs:593:5
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.52.0 (88f19c6da 2021-05-03) running on x86_64-pc-windows-msvc
note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental --crate-type bin
note: some of the compiler flags provided by cargo are hidden
query stack during panic:
#0 [predicates_of] computing predicates of `std::ops::Fn`
#1 [vtable_methods] finding all methods for trait std::ops::Fn
end of query stack
error: could not compile `hello-rust`
Caused by:
process didn't exit successfully: `rustc --crate-name hello_rust --edition=2018 'src\main.rs' --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=a5a866d33d71c728 --out-dir 'D:\rust\hello-rust\target\debug\deps' -C 'incremental=D:\rust\hello-rust\target\debug\incremental' -L 'dependency=D:\rust\hello-rust\target\debug\deps' --extern 'ferris_says=D:\rust\hello-rust\target\debug\deps\libferris_says-9cc42f4fadeb00ab.rlib'` (exit code: 101)
Backtrace
thread 'rustc' panicked at 'found unstable fingerprints for predicates_of(core[bd3a]::ops::function::Fn): GenericPredicates { parent: None, predicates: [(Binder(TraitPredicate(<Self as std::ops::FnMut<Args>>)), C:\Users\Shivansh sen\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\ops\function.rs:67:21: 67:32 (#0)), (Binder(TraitPredicate(<Args as std::marker::Sized>)), C:\Users\Shivansh sen\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\ops\function.rs:67:14: 67:18 (#0)), (Binder(TraitPredicate(<Self as std::ops::Fn<Args>>)), C:\Users\Shivansh sen\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\ops\function.rs:67:1: 67:32 (#0))] }', /rustc/88f19c6dab716c6281af7602e30f413e809c5974\compiler\rustc_query_system\src\query\plumbing.rs:593:5
stack backtrace:
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
hirrolot
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.