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

'rustc' failed at 'lookup_item: id not found: 112089' #12208

Closed
mvdnes opened this issue Feb 12, 2014 · 3 comments
Closed

'rustc' failed at 'lookup_item: id not found: 112089' #12208

mvdnes opened this issue Feb 12, 2014 · 3 comments

Comments

@mvdnes
Copy link
Contributor

mvdnes commented Feb 12, 2014

Description

My project compiled fine yesterday, but with the latest nightly it doesn't.

Compiler output

error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler. 
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: the compiler hit an unexpected failure path. this is a bug
Ok(task 'rustc' failed at 'lookup_item: id not found: 112089', /build/rust-git/src/rust/src/librustc/metadata/decoder.rs:92
)

System information

[mvdnes@vm-arch src]$ rustc -v
rustc 0.10-pre (0ac6e5a 2014-02-11 15:06:49 -0800)
host: x86_64-unknown-linux-gnu

[mvdnes@vm-arch src]$ uname -a
Linux vm-arch 3.12.9-2-ARCH #1 SMP PREEMPT Fri Jan 31 10:22:54 CET 2014 x86_64 GNU/Linux
@alexcrichton
Copy link
Member

This likely means that you need to recompile upstream dependencies as well as the local dependencies, can you try that and see if it fixes the problem?

@mvdnes
Copy link
Contributor Author

mvdnes commented Feb 13, 2014

You are correct.
I did not know I had to recompile the rust libraries where my project depended on.

Thank you for the solution!

@alexcrichton
Copy link
Member

Closing in favor of #10207 in that case, that bug would detect the version drift and emit an error.

bors added a commit to rust-lang-ci/rust that referenced this issue Jul 25, 2022
flip1995 pushed a commit to flip1995/rust that referenced this issue Feb 8, 2024
Fixed FP in `unused_io_amount` for Ok(lit), unrachable! and unwrap de…

…sugar

Fixes fp caused by linting on Ok(_) for all cases outside binding.

We introduce the following rules for match exprs.
- `panic!` and `unreachable!` are treated as consumed.
- `Ok( )` patterns outside `DotDot` and `Wild` are treated as consuming.

changelog: FP [`unused_io_amount`] when matching Ok(literal) or unreachable

fixes rust-lang#12208

r? `@blyxyas`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants