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

Bug: Compiler panic whilst compiling Alacritty. #48595

Closed
toor opened this issue Feb 27, 2018 · 1 comment
Closed

Bug: Compiler panic whilst compiling Alacritty. #48595

toor opened this issue Feb 27, 2018 · 1 comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@toor
Copy link

toor commented Feb 27, 2018

Background

Whilst installing the Arch Linux AUR package alacritty-git, the compiler encountered an internal error. More info below:

To reproduce, simply try and install the alacritty-git package from the AUR. Note - my helper is pacaur although this should not make a difference

Meta

Backtrace:

thread 'rustc' panicked at 'assertion failed: `(left != right)`
  left: `ParamEnv(Binder(ProjectionPredicate(ProjectionTy { substs: Slice([S, S]), item_def_id: DefId(2/0:885 ~ core[4840]::ops[0]::arith[0]::Add[0]::Output[0]) }, S)))`,
 right: `ParamEnv(Binder(ProjectionPredicate(ProjectionTy { substs: Slice([S, S]), item_def_id: DefId(2/0:885 ~ core[4840]::ops[0]::arith[0]::Add[0]::Output[0]) }, S)))`', librustc/traits/project.rs:146:17
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::_print
             at libstd/sys_common/backtrace.rs:71
   2: std::panicking::default_hook::{{closure}}
             at libstd/sys_common/backtrace.rs:59
             at libstd/panicking.rs:206
   3: std::panicking::default_hook
             at libstd/panicking.rs:222
   4: core::ops::function::Fn::call
   5: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:401
   6: std::panicking::begin_panic_fmt
             at libstd/panicking.rs:347
   7: rustc::traits::project::ProjectionTyCandidateSet::push_candidate
   8: rustc::traits::project::opt_normalize_projection_type
   9: rustc::traits::project::poly_project_and_unify_type::{{closure}}
  10: rustc::traits::project::poly_project_and_unify_type
  11: <rustc::traits::fulfill::FulfillProcessor<'a, 'b, 'gcx, 'tcx> as rustc_data_structures::obligation_forest::ObligationProcessor>::process_obligation
  12: rustc::traits::fulfill::FulfillmentContext::select
  13: rustc::traits::fulfill::FulfillmentContext::select_all_or_error
  14: rustc_typeck::check::compare_method::compare_predicate_entailment
  15: rustc_typeck::check::check_impl_items_against_trait
  16: rustc_typeck::check::check_item_type
  17: rustc_typeck::check_crate::{{closure}}
  18: rustc_typeck::check_crate
  19: rustc::ty::context::TyCtxt::create_and_enter
  20: rustc_driver::driver::compile_input
  21: rustc_driver::run_compiler

error: internal compiler error: unexpected panic



Compiler: `rustc 1.26.0-nightly (bedbad611 2018-02-26) running on x86_64-unknown-linux-gnu`
Note: This compiler panic occurs whilst compiling the dependency `cgmath`.
@estebank estebank added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Feb 27, 2018
@shssoichiro
Copy link
Contributor

Looks like a duplicate of #48551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

4 participants