Skip to content
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

ICE on cargo fix --edition (overflow while checking whether OutputWrapper<T, D, P> requires drop) #90142

Closed
umanwizard opened this issue Oct 21, 2021 · 1 comment
Labels
A-edition-2021 Area: The 2021 edition C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@umanwizard
Copy link
Contributor

Compiler version is 1.56.0

Code is Materialize, specifically the 56 branch on my clone: https://github.com/umanwizard/materialize-1/tree/56 .

Compiler output:

   Migrating src/sql-parser/build.rs from 2018 edition to 2021
error: overflow while checking whether `OutputWrapper<T, D, P>` requires drop

error: internal compiler error: compiler/rustc_middle/src/ty/subst.rs:534:17: type parameter `T/#1` (T/1) out of range when substituting, substs=[std::cell::RefCell<std::vec::Vec<std::rc::Rc<std::cell::RefCell<timely::progress::ChangeBatch<T>>>>>]

thread 'rustc' panicked at 'Box<dyn Any>', /rustc/09c42c45858d5f3aedfa670698275303a3d19afa/compiler/rustc_errors/src/lib.rs:1093:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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.56.0 (09c42c458 2021-10-18) running on x86_64-unknown-linux-gnu

note: compiler flags: -C embed-bitcode=no -C debuginfo=2 -C incremental -C link-arg=-Wl,--compress-debug-sections=zlib-gabi

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

query stack during panic:
#0 [adt_significant_drop_tys] computing when `timely::dataflow::operators::CapabilityRef` has a significant destructor
#1 [has_significant_drop_raw] computing whether `timely::dataflow::operators::CapabilityRef<u64>` has a significant drop
end of query stack
error: could not compile `persist` due to previous error
warning: build failed, waiting for other jobs to finish...
error: overflow while checking whether `ProbeHandle<T>` requires drop

error: build failed
@umanwizard umanwizard added C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 21, 2021
@ehuss ehuss added the A-edition-2021 Area: The 2021 edition label Oct 21, 2021
@ehuss
Copy link
Contributor

ehuss commented Oct 21, 2021

Thanks for the report! This is almost certainly the same as #90024, so closing as a duplicate of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-edition-2021 Area: The 2021 edition C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

2 participants