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

Compilation failure #2318

Closed
astavonin opened this issue Apr 30, 2012 · 4 comments
Closed

Compilation failure #2318

astavonin opened this issue Apr 30, 2012 · 4 comments

Comments

@astavonin
Copy link
Contributor

Compilation filure in latest on Apr. 30 13:08:26 KST 2012 version.

astavonin:/home/../revent: make
mkdir ./out
rustc --out-dir=./out -L ../rust-socket -L ../libevent-2.0.18-stable revent.rc
rustc --test --out-dir=./out -L ../rust-socket -L ../libevent-2.0.18-stable revent.rc
rust: upcall fail 'non-exhaustive match failure', src/rustc/metadata/tydecode.rs:243
/usr/local/bin/../lib/librustrt.so(_ZN9rust_task4failEv 0x39)[0x41054c69]
/usr/local/bin/../lib/librustrt.so(upcall_s_fail 0x8d)[0x4105742d]
/usr/local/bin/../lib/librustrt.so( 0x2c7cf)[0x4106a7cf]
/usr/local/bin/../lib/librustrt.so(upcall_fail 0x17d)[0x410580bd]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2fc42a)[0x40d9d42a]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2f7b12)[0x40d98b12]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2f8ff4)[0x40d99ff4]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2fbb47)[0x40d9cb47]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2f8a12)[0x40d99a12]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x3dd288)[0x40e7e288]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2f716a)[0x40d9816a]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x3a1bd2)[0x40e42bd2]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN8metadata7csearch8get_type17_98ea9a52546a7115202E 0xa7)[0x40c097c7]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6middle2ty16lookup_item_type17_98ea9a52546a7115202E 0xdb)[0x40b5152b]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x1ef54d)[0x40c9054d]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x230aa7)[0x40cd1aa7]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x22e741)[0x40ccf741]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x24684a)[0x40ce784a]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x242207)[0x40ce3207]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x23f00b)[0x40ce000b]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x23d1bf)[0x40cde1bf]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x232754)[0x40cd3754]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x3dd288)[0x40e7e288]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x2419e5)[0x40ce29e5]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x24149e)[0x40ce249e]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x22e7fb)[0x40ccf7fb]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x246959)[0x40ce7959]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x242207)[0x40ce3207]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x23f00b)[0x40ce000b]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x3dd288)[0x40e7e288]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x24b3ee)[0x40cec3ee]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x254933)[0x40cf5933]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x356d4)[0x403db6d4]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x317db)[0x403d77db]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x35029)[0x403db029]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x31c85)[0x403d7c85]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x356ed)[0x403db6ed]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x317db)[0x403d77db]
/usr/local/bin/../lib/librustsyntax-f46c525b40a26e24-0.2.so( 0x35029)[0x403db029]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6middle6typeck11check_crate17_6da4c6c242fcb818202E 0x693)[0x40cf2fa3]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6driver6driver12compile_upto17_38c9b847e2ffe61f202E 0xd26)[0x40e5e5e6]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so( 0x3dd288)[0x40e7e288]
/usr/local/bin/../lib/librustc-688fa7810161fd45-0.2.so(_ZN6driver6driver13compile_input17_f72f9631e8fc5c4f202E 0xe2)[0x40e651a2]
rustc[0x804e950]
rustc[0x8052854]
rustc[0x8052392]
rustc[0x8051c52]
rustc[0x805181d]
/usr/local/bin/../lib/libcore-d27e4777a53c3e50-0.2.so( 0x2a8b3)[0x4004f8b3]
/usr/local/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args 0x3c)[0x4105569c]
error: internal compiler error: unexpected failure
note: the compiler hit an unexpected failure path. this is a bug
note: try running with RUST_LOG=rustc=0,::rt::backtrace to get further details and report the results to github.com/mozilla/rust/issues
rust: upcall fail 'explicit failure', src/rustc/driver/rustc.rs:232
/usr/local/bin/../lib/librustrt.so(_ZN9rust_task4failEv 0x39)[0x41054c69]
/usr/local/bin/../lib/librustrt.so(upcall_s_fail 0x8d)[0x4105742d]
/usr/local/bin/../lib/librustrt.so( 0x2c7cf)[0x4106a7cf]
/usr/local/bin/../lib/librustrt.so(upcall_fail 0x17d)[0x410580bd]
rustc[0x805124d]
rustc[0x8052854]
rustc[0x805227d]
rustc(_rust_main 0x38)[0x80522e8]
/usr/local/bin/../lib/librustrt.so(_Z18task_start_wrapperP10spawn_args 0x3c)[0x4105569c]
rust: domain main @0x80f00b0 root task failed
make: *** [test] Error 101

@astavonin
Copy link
Contributor Author

OS Info: Linux 3.2.0-24-generic-pae #37-Ubuntu SMP Wed Apr 25 10:47:59 UTC 2012 i686 i686 i386 GNU/Linux

Also the issue is reproduced on Mac OS X 10.7

@catamorphism
Copy link
Contributor

This sounds like a problem with corrupt metadata -- can you try make clean followed by make?

@astavonin
Copy link
Contributor Author

yes. when all dependent projects was rebuilded the problem is disappeared.

@catamorphism
Copy link
Contributor

Yes, sadly, that's the way things are right now; you have to make clean after updating, sometimes. We're looking into it, but for now I'm closing this.

bors added a commit to rust-lang-ci/rust that referenced this issue Sep 22, 2022
there are no doctests in ui_test

It tries to run doctests which leads to an error when testing against a locally built rustc (that has no rustdoc).
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