Compiling unix.rs on ubuntu 18.04
At revision c6a74950 of redox.git
error[E0308]: mismatched types
--> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/tempfile-2.2.0/src/imp/unix.rs:59:35
|
59 | Ok(FromRawFd::from_raw_fd(fd))
| ^^ expected i32, found usize
error[E0308]: mismatched types
--> ~/.cargo/registry/src/github.com-1ecc6299db9ec823/tempfile-2.2.0/src/imp/unix.rs:102:24
|
102 | try!(cvt_err(fstat(fd, &mut meta)));
| ^^ expected usize, found i32
error: aborting due to 2 previous errors