Skip to content

Instantly share code, notes, and snippets.

@killerswan
Created September 12, 2012 02:32
Show Gist options
  • Save killerswan/3703862 to your computer and use it in GitHub Desktop.
Save killerswan/3703862 to your computer and use it in GitHub Desktop.
After changing Eq::eq (at commit eacce2ca8fb...)
$ time CFG_DISABLE_VALGRIND=1 make check-stage0-core
cfg: shell host triple x86_64-unknown-linux-gnu
cfg: host for x86_64-unknown-linux-gnu is x86_64
cfg: unix-y environment
cfg: using gcc
cfg: disabling valgrind (CFG_DISABLE_VALGRIND)
cfg: no llnextgen found, omitting grammar-verification
cfg: including dist rules
cfg: including test rules
compile_and_link: x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so
/code/rust/src/libcore/box.rs:13:33: 13:51 error: mismatched types: expected `&*const 'a` but found `*'a` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/box.rs:13 unsafe { ptr::addr_of(*a) == ptr::addr_of(*b) }
^~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/float.rs:179:15: 179:18 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/float.rs:179 if racc == ~"" {
^~~
/code/rust/src/libcore/float.rs:247:13: 247:18 error: mismatched types: expected `&&/str` but found `&static/str` (expected &-ptr but found &static/str)
/code/rust/src/libcore/float.rs:247 if num == "inf" {
^~~~~
/code/rust/src/libcore/float.rs:249:20: 249:26 error: mismatched types: expected `&&/str` but found `&static/str` (expected &-ptr but found &static/str)
/code/rust/src/libcore/float.rs:249 } else if num == "-inf" {
^~~~~~
/code/rust/src/libcore/float.rs:251:20: 251:25 error: mismatched types: expected `&&/str` but found `&static/str` (expected &-ptr but found &static/str)
/code/rust/src/libcore/float.rs:251 } else if num == "NaN" {
^~~~~
/code/rust/src/libcore/ptr.rs:78:27: 78:34 error: mismatched types: expected `&*const 'a` but found `*<V21>` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/ptr.rs:78 position(buf, |i| i == null())
^~~~~~~
/code/rust/src/libcore/ptr.rs:96:51: 96:59 error: mismatched types: expected `&*const 'a` but found `*<V19>` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/ptr.rs:96 pure fn is_null<T>(ptr: *const T) -> bool { ptr == null() }
^~~~~~~~
/code/rust/src/libcore/ptr.rs:220:62: 220:69 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/ptr.rs:220 pure fn eq(other: & &const T) -> bool { return (*self).eq(**other); }
^~~~~~~
/code/rust/src/libcore/vec.rs:899:32: 899:35 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/vec.rs:899 for each(v) |elt| { if x == elt { return true; } }
^~~
/code/rust/src/libcore/vec.rs:906:32: 906:35 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/vec.rs:906 for each(v) |elt| { if x == elt { cnt += 1u; } }
^~~
/code/rust/src/libcore/vec.rs:958:25: 958:26 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/vec.rs:958 position(v, |y| x == y)
^
/code/rust/src/libcore/vec.rs:990:26: 990:27 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/vec.rs:990 rposition(v, |y| x == y)
^
/code/rust/src/libcore/bool.rs:48:12: 48:18 error: mismatched types: expected `&&/str` but found `&static/str` (expected &-ptr but found &static/str)
/code/rust/src/libcore/bool.rs:48 if s == "true" {
^~~~~~
/code/rust/src/libcore/bool.rs:50:19: 50:26 error: mismatched types: expected `&&/str` but found `&static/str` (expected &-ptr but found &static/str)
/code/rust/src/libcore/bool.rs:50 } else if s == "false" {
^~~~~~~
/code/rust/src/libcore/iter.rs:129:16: 129:17 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/iter.rs:129 if a == x { return true; }
^
/code/rust/src/libcore/iter.rs:136:20: 136:21 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/iter.rs:136 if value == x {
^
/code/rust/src/libcore/option.rs:265:46: 265:60 error: mismatched types: expected `&const 'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/option.rs:265 => (&self_contents).eq(&other_contents)
^~~~~~~~~~~~~~
/code/rust/src/libcore/option.rs:265:45: 265:60 error: mismatched types: expected `&&const 'a` but found `&'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/option.rs:265 => (&self_contents).eq(&other_contents)
^~~~~~~~~~~~~~~
/code/rust/src/libcore/result.rs:364:40: 364:43 error: mismatched types: expected `&const 'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/result.rs:364 Ok(e0b) => &e0a == &e0b,
^~~
/code/rust/src/libcore/result.rs:364:39: 364:43 error: mismatched types: expected `&&const 'a` but found `&'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/result.rs:364 Ok(e0b) => &e0a == &e0b,
^~~~
/code/rust/src/libcore/result.rs:370:41: 370:44 error: mismatched types: expected `&const 'b` but found `'b` (expected &-ptr but found type parameter)
/code/rust/src/libcore/result.rs:370 Err(e0b) => &e0a == &e0b,
^~~
/code/rust/src/libcore/result.rs:370:40: 370:44 error: mismatched types: expected `&&const 'b` but found `&'b` (expected &-ptr but found type parameter)
/code/rust/src/libcore/result.rs:370 Err(e0b) => &e0a == &e0b,
^~~~
/code/rust/src/libcore/send_map.rs:133:60: 133:67 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/send_map.rs:133 Some(bkt) => if bkt.hash == hash && *k == bkt.key {
^~~~~~~
/code/rust/src/libcore/comm.rs:258:18: 258:28 error: mismatched types: expected `&*const comm::rust_port` but found `*comm::rust_port` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/comm.rs:258 if resport == (**p_a).po {
^~~~~~~~~~
/code/rust/src/libcore/comm.rs:260:25: 260:35 error: mismatched types: expected `&*const comm::rust_port` but found `*comm::rust_port` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/comm.rs:260 } else if resport == (**p_b).po {
^~~~~~~~~~
/code/rust/src/libcore/task.rs:134:45: 134:48 error: mismatched types: expected `&task::Task` but found `task::Task` (expected &-ptr but found enum task::Task)
/code/rust/src/libcore/task.rs:134 Exit(e0b, e1b) => e0a == e0b && e1a.eq(&e1b)
^~~
/code/rust/src/libcore/task.rs:1485:34: 1485:43 error: mismatched types: expected `&*const libc::types::common::c95::c_void` but found `*libc::types::common::c95::c_void` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/task.rs:1485 Some((k,_,_)) => k == key_value,
^~~~~~~~~
/code/rust/src/libcore/pipes.rs:412:37: 412:43 error: mismatched types: expected `&*const pipes::PacketHeader` but found `*pipes::PacketHeader` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/pipes.rs:412 assert ptr::addr_of(p.header) == header;
^~~~~~
/code/rust/src/libcore/pipes.rs:541:32: 541:42 error: mismatched types: expected `&pipes::State` but found `pipes::State` (expected &-ptr but found enum pipes::State)
/code/rust/src/libcore/pipes.rs:541 assert old_state == Terminated;
^~~~~~~~~~
/code/rust/src/libcore/pipes.rs:610:31: 610:55 error: mismatched types: expected `&*const pipes::rust_task` but found `*pipes::rust_task` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/pipes.rs:610 assert old_task == rustrt::rust_get_task();
^~~~~~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/pipes.rs:654:56: 654:61 error: mismatched types: expected `&*const pipes::PacketHeader` but found `*pipes::PacketHeader` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/pipes.rs:654 let pos = vec::position(pkts, |p| p.header() == event);
^~~~~
/code/rust/src/libcore/pipes.rs:672:55: 672:59 error: mismatched types: expected `&pipes::State` but found `pipes::State` (expected &-ptr but found enum pipes::State)
/code/rust/src/libcore/pipes.rs:672 assert (*pkts[ready_packet].header()).state == Full
^~~~
/code/rust/src/libcore/pipes.rs:673:55: 673:65 error: mismatched types: expected `&pipes::State` but found `pipes::State` (expected &-ptr but found enum pipes::State)
/code/rust/src/libcore/pipes.rs:673 || (*pkts[ready_packet].header()).state == Terminated;
^~~~~~~~~~
/code/rust/src/libcore/gc.rs:91:21: 91:23 error: mismatched types: expected `&*const stackwalk::Word` but found `*stackwalk::Word` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/gc.rs:91 if sp_loc == pc {
^~
/code/rust/src/libcore/gc.rs:231:35: 231:43 error: mismatched types: expected `&*const *stackwalk::Word` but found `**stackwalk::Word` (expected &-ptr but found *-ptr)
/code/rust/src/libcore/gc.rs:231 if root == sentinel {
^~~~~~~~
/code/rust/src/libcore/path.rs:69:37: 69:57 error: mismatched types: expected `&const bool` but found `bool` (expected &-ptr but found bool)
/code/rust/src/libcore/path.rs:69 return &self.is_absolute == &(*other).is_absolute &&
^~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:69:36: 69:57 error: mismatched types: expected `&&const bool` but found `&bool` (expected &-ptr but found bool)
/code/rust/src/libcore/path.rs:69 return &self.is_absolute == &(*other).is_absolute &&
^~~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:70:33: 70:52 error: mismatched types: expected `&const ~[~str]` but found `~[~str]` (expected &-ptr but found vector)
/code/rust/src/libcore/path.rs:70 &self.components == &(*other).components;
^~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:70:32: 70:52 error: mismatched types: expected `&&const ~[~str]` but found `&~[~str]` (expected &-ptr but found vector)
/code/rust/src/libcore/path.rs:70 &self.components == &(*other).components;
^~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:77:30: 77:43 error: mismatched types: expected `&const option::Option<~str>` but found `option::Option<~str>` (expected &-ptr but found enum option::Option)
/code/rust/src/libcore/path.rs:77 return &self.host == &(*other).host &&
^~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:77:29: 77:43 error: mismatched types: expected `&&const option::Option<~str>` but found `&option::Option<~str>` (expected &-ptr but found enum option::Option)
/code/rust/src/libcore/path.rs:77 return &self.host == &(*other).host &&
^~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:78:29: 78:44 error: mismatched types: expected `&const option::Option<~str>` but found `option::Option<~str>` (expected &-ptr but found enum option::Option)
/code/rust/src/libcore/path.rs:78 &self.device == &(*other).device &&
^~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:78:28: 78:44 error: mismatched types: expected `&&const option::Option<~str>` but found `&option::Option<~str>` (expected &-ptr but found enum option::Option)
/code/rust/src/libcore/path.rs:78 &self.device == &(*other).device &&
^~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:79:34: 79:54 error: mismatched types: expected `&const bool` but found `bool` (expected &-ptr but found bool)
/code/rust/src/libcore/path.rs:79 &self.is_absolute == &(*other).is_absolute &&
^~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:79:33: 79:54 error: mismatched types: expected `&&const bool` but found `&bool` (expected &-ptr but found bool)
/code/rust/src/libcore/path.rs:79 &self.is_absolute == &(*other).is_absolute &&
^~~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:80:33: 80:52 error: mismatched types: expected `&const ~[~str]` but found `~[~str]` (expected &-ptr but found vector)
/code/rust/src/libcore/path.rs:80 &self.components == &(*other).components;
^~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:80:32: 80:52 error: mismatched types: expected `&&const ~[~str]` but found `&~[~str]` (expected &-ptr but found vector)
/code/rust/src/libcore/path.rs:80 &self.components == &(*other).components;
^~~~~~~~~~~~~~~~~~~~
/code/rust/src/libcore/path.rs:422:24: 422:28 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/path.rs:422 if c == ~"." && components.len() > 1 { loop; }
^~~~
/code/rust/src/libcore/path.rs:423:24: 423:29 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/path.rs:423 if c == ~".." && cs.len() != 0 {
^~~~~
/code/rust/src/libcore/sys.rs:51:11: 51:14 error: mismatched types: expected `&'a` but found `'a` (expected &-ptr but found type parameter)
/code/rust/src/libcore/sys.rs:51 *x1 == *x2
^~~
/code/rust/src/libcore/extfmt.rs:101:23: 101:27 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:101 if curr == ~"%" {
^~~~
/code/rust/src/libcore/extfmt.rs:107:28: 107:32 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:107 if curr2 == ~"%" {
^~~~
/code/rust/src/libcore/extfmt.rs:245:23: 245:27 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:245 if tstr == ~"b" {
^~~~
/code/rust/src/libcore/extfmt.rs:247:30: 247:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:247 } else if tstr == ~"s" {
^~~~
/code/rust/src/libcore/extfmt.rs:249:30: 249:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:249 } else if tstr == ~"c" {
^~~~
/code/rust/src/libcore/extfmt.rs:251:30: 251:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:251 } else if tstr == ~"d" || tstr == ~"i" {
^~~~
/code/rust/src/libcore/extfmt.rs:251:46: 251:50 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:251 } else if tstr == ~"d" || tstr == ~"i" {
^~~~
/code/rust/src/libcore/extfmt.rs:253:30: 253:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:253 } else if tstr == ~"u" {
^~~~
/code/rust/src/libcore/extfmt.rs:255:30: 255:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:255 } else if tstr == ~"x" {
^~~~
/code/rust/src/libcore/extfmt.rs:257:30: 257:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:257 } else if tstr == ~"X" {
^~~~
/code/rust/src/libcore/extfmt.rs:259:30: 259:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:259 } else if tstr == ~"t" {
^~~~
/code/rust/src/libcore/extfmt.rs:261:30: 261:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:261 } else if tstr == ~"o" {
^~~~
/code/rust/src/libcore/extfmt.rs:263:30: 263:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:263 } else if tstr == ~"f" {
^~~~
/code/rust/src/libcore/extfmt.rs:265:30: 265:34 error: mismatched types: expected `&~str` but found `~str` (expected &-ptr but found ~str)
/code/rust/src/libcore/extfmt.rs:265 } else if tstr == ~"?" {
^~~~
/code/rust/src/libcore/extfmt.rs:434:48: 434:57 error: mismatched types: expected `&extfmt::rt::pad_mode` but found `extfmt::rt::pad_mode` (expected &-ptr but found enum extfmt::rt::pad_mode)
/code/rust/src/libcore/extfmt.rs:434 (!have_precision(cv) || mode == pad_float) {
^~~~~~~~~
error: aborting due to 65 previous errors
make: *** [x86_64-unknown-linux-gnu/stage0/lib/rustc/x86_64-unknown-linux-gnu/lib/libcore.so] Error 101
real 0m2.933s
user 0m2.712s
sys 0m0.148s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment