facebookarchive / libwit

Lib wit
Other
33 stars 19 forks source link

can't build lib wit #13

Closed marcomarchesi closed 9 years ago

marcomarchesi commented 9 years ago

I'm trying to build libwit but I go through this sequence of errors. It can't compile 'mucell':

/Users/marcomarchesi/.cargo/git/checkouts/mucell-7305555dd2549312/master/src/lib.rs:154:37: 154:38 error: obsolete syntax:|usize| -> boolclosure type /Users/marcomarchesi/.cargo/git/checkouts/mucell-7305555dd2549312/master/src/lib.rs:154 pub fn try_mutate(&self, mutator: |&mut T|) -> bool { ^ note: use unboxed closures instead, no type annotation needed /Users/marcomarchesi/.cargo/git/checkouts/mucell-7305555dd2549312/master/src/lib.rs:235:72: 235:73 error: macros that expand to items must either be surrounded with braces or followed by a semicolon /Users/marcomarchesi/.cargo/git/checkouts/mucell-7305555dd2549312/master/src/lib.rs:235 impl_fmt!(Show Octal Binary LowerHex UpperHex Pointer LowerExp UpperExp) ^ error: aborting due to 2 previous errors /Users/marcomarchesi/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/host.rs:35:21: 35:22 error: expected one of(,+,::,;,<, or], found, /Users/marcomarchesi/.cargo/git/checkouts/rust-url-1e22af4233079a1e/master/src/host.rs:35 pub pieces: [u16, ..8] ^ Compiling mime v0.0.1 (https://github.com/hyperium/mime.rs#7898f1c2) Build failed, waiting for other jobs to finish... vad/src/build.rs:2:15: 2:19 error: unresolved importstd::io::File. There is noFileinstd::io vad/src/build.rs:2 use std::io::{File,Command}; ^~~~ vad/src/build.rs:2:20: 2:27 error: unresolved importstd::io::Command. There is noCommandinstd::io vad/src/build.rs:2 use std::io::{File,Command}; ^~~~~~~ error: aborting due to 2 previous errors fake-sys/src/build.rs:2:15: 2:19 error: unresolved importstd::io::File. There is noFileinstd::io fake-sys/src/build.rs:2 use std::io::{File,Command}; ^~~~ fake-sys/src/build.rs:2:20: 2:27 error: unresolved importstd::io::Command. There is noCommandinstd::io fake-sys/src/build.rs:2 use std::io::{File,Command}; ^~~~~~~ error: aborting due to 2 previous errors /Users/marcomarchesi/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.1/src/lib.rs:1:5: 1:21 error: unresolved importstd::io::Command. There is noCommandinstd::io /Users/marcomarchesi/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.1/src/lib.rs:1 use std::io::Command; ^~~~~~~~~~~~~~~~ error: aborting due to previous error /Users/marcomarchesi/.cargo/git/checkouts/mime.rs-d6bfbf5f639a25c9/master/src/lib.rs:41:1: 41:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon /Users/marcomarchesi/.cargo/git/checkouts/mime.rs-d6bfbf5f639a25c9/master/src/lib.rs:41 ) ^ /Users/marcomarchesi/.cargo/git/checkouts/mime.rs-d6bfbf5f639a25c9/master/src/lib.rs:96:1: 96:2 error: macros that expand to items must either be surrounded with braces or followed by a semicolon /Users/marcomarchesi/.cargo/git/checkouts/mime.rs-d6bfbf5f639a25c9/master/src/lib.rs:96 ) ^ error: aborting due to 2 previous errors /Users/marcomarchesi/.cargo/git/checkouts/gcc-rs-49038096d5e74406/master/src/lib.rs:1:5: 1:21 error: unresolved importstd::io::Command. There is noCommandinstd::io /Users/marcomarchesi/.cargo/git/checkouts/gcc-rs-49038096d5e74406/master/src/lib.rs:1 use std::io::Command; ^~~~~~~~~~~~~~~~ /Users/marcomarchesi/.cargo/git/checkouts/gcc-rs-49038096d5e74406/master/src/lib.rs:2:5: 2:32 error: unresolved importstd::io::process::InheritFd. Could not findprocessinstd::io /Users/marcomarchesi/.cargo/git/checkouts/gcc-rs-49038096d5e74406/master/src/lib.rs:2 use std::io::process::InheritFd; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 2 previous errors Could not compilemuscle.