Skip to content

ICE while compiling redis-0.16.0 #81606

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

Closed
WaffleLapkin opened this issue Jan 31, 2021 · 1 comment
Closed

ICE while compiling redis-0.16.0 #81606

WaffleLapkin opened this issue Jan 31, 2021 · 1 comment
Labels
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

@WaffleLapkin
Copy link
Member

Code

CI in teloxide project failed with ICE:

I don't have much time to research this, so I'm providing the error as is.

Meta

rustc 1.51.0-nightly (04caa632d 2021-01-30)

Error output

error: internal compiler error: failed to process buffered lint here
Error:    --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/redis-0.16.0/src/macros.rs:5:54
    |
5   |           return Err(::std::convert::From::from($expr));
    |                                                        ^
    | 
   ::: /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/redis-0.16.0/src/aio.rs:377:18
    |
377 |               _ => fail!((
    |  __________________-
378 | |                 ErrorKind::ResponseError,
379 | |                 "Redis server refused to switch database"
380 | |             )),
    | |______________- in this macro invocation
    |
    = note: delayed at /rustc/04caa632dd10c2bf64b69524c7f9c4c30a436877/compiler/rustc_lint/src/early.rs:384:18
    = note: this error: internal compiler error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

thread 'rustc' panicked at 'no errors encountered even though `delay_span_bug` issued', compiler/rustc_errors/src/lib.rs:974:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic
Error: internal compiler error: unexpected panic
@WaffleLapkin WaffleLapkin 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 Jan 31, 2021
@jonas-schievink
Copy link
Contributor

duplicate of #81531

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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