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

Compiler error while trying to compile servo #8915

Closed
kingkorf opened this issue Sep 1, 2013 · 2 comments
Closed

Compiler error while trying to compile servo #8915

kingkorf opened this issue Sep 1, 2013 · 2 comments

Comments

@kingkorf
Copy link

kingkorf commented Sep 1, 2013

Hi there! While compiling the latest commit (7ea10ff8af09051d6b201a3fb26967b2f17780b2) from mozilla/servo I ran in to this problem and was told to post it here ;)

make[1]: Map '/home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/azure/rust-azure' wordt binnengegaan
/home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/compiler/rust/x86_64-unknown-linux-gnu/stage2/bin/rustc --cfg debug -O -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/opengles/rust-opengles -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/opengles/rust-opengles/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/opengles/rust-opengles/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/layers/rust-layers -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/layers/rust-layers/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/layers/rust-layers/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/geom/rust-geom -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/geom/rust-geom/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/geom/rust-geom/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw-rs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw-rs/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw-rs/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/glfw/glfw/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/skia/skia -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/skia/skia/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/skia/skia/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-freetype -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-freetype/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-freetype/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-fontconfig -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-fontconfig/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-fontconfig/src/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-xlib -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-xlib/.libs -L /home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/platform/linux/rust-xlib/src/.libs /home/jacob/Dev/servo/src/support/azure/rust-azure/azure.rc --out-dir .
~"checking impl with self type ty_struct({crate: 3, node: 2080}, {self_ty: None, tps: ~[(0x7f0fad6c0e10 as *())], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 3, node: 2953}, {self_ty: None, tps: ~[(0x7f0fad6c0910 as *())], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 3, node: 1938}, {self_ty: None, tps: ~[(0x7f0fad6c0e10 as *())], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 185}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 235}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_enum({crate: 0, node: 497}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_enum({crate: 0, node: 497}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 549}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 549}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 1274}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 1274}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 1412}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 1412}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
~"checking impl with self type ty_struct({crate: 0, node: 1591}, {self_ty: None, tps: ~[], regions: NonerasedRegions(Empty)})"
task <unnamed> failed at 'lookup_item: id not found: 84755', /home/jacob/Dev/servo/src/compiler/rust/src/librustc/metadata/decoder.rs:92
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=1 to get further details and report the results to github.com/mozilla/rust/issues
task <unnamed> failed at 'explicit failure', /home/jacob/Dev/servo/src/compiler/rust/src/librustc/rustc.rs:376
make[1]: *** [libazure.dummy] Fout 101
make[1]: Map '/home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/azure/rust-azure' wordt verlaten
make: *** [/home/jacob/Dev/servo/build/x86_64-unknown-linux-gnu/src/support/azure/rust-azure/libazure.dummy] Fout 2

Hope you can fix it..

Cheers

@jdm
Copy link
Contributor

jdm commented Sep 1, 2013

You should probably run a make clean to remove old builds of libraries sitting around.

@kingkorf
Copy link
Author

kingkorf commented Sep 1, 2013

Shoot! Forgot to run that.. It compiles fine now, but the error above should not occur I suppose..?

@kingkorf kingkorf closed this as completed Sep 1, 2013
flip1995 pushed a commit to flip1995/rust that referenced this issue Jun 30, 2022
feat(lint): add default_iter_empty

close rust-lang#8915

This PR adds `default_iter_empty` lint.

This lint checks `std::iter::Empty::default()` and replace with `std::iter::empty()`.

Thank you in advance.

---

changelog: add `default_instead_of_iter_empty` lint.
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