Created
November 19, 2014 18:30
-
-
Save stepancheg/c16c5ee0859fad6fe747 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling glob v0.0.1 (https://github.com/rust-lang/glob#5d7ad1dc) | |
Compiling tar v0.0.1 (https://github.com/alexcrichton/tar-rs#868632ea) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:190:43: 190:48 error: mismatched types: expected `&mut [u8]`, found `[_, ..512]` (expected &-ptr, found array of 512 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:190 if try!(Reader::read(&mut me, chunk)) != 512 { | |
^~~~~ | |
<std macros>:1:1: 8:2 note: in expansion of try! | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:190:16: 190:53 note: expansion site | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:110:14: 110:46 error: type `core::result::Result<std::path::posix::Path, std::io::IoError>` does not implement any method in scope named `push` | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:110 root.push(pat_root.as_ref().unwrap()); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:224:44: 224:61 error: mismatched types: expected `&[u8]`, found `[u8, ..155]` (expected &-ptr, found array of 155 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:224 ret.filename.push_all(truncate(ret.header.prefix)); | |
^~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:227:40: 227:55 error: mismatched types: expected `&[u8]`, found `[u8, ..100]` (expected &-ptr, found array of 100 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:227 ret.filename.push_all(truncate(ret.header.name)); | |
^~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:125:58: 125:63 error: mismatched types: expected `&std::path::posix::Path`, found `&core::result::Result<std::path::posix::Path, std::io::IoError>` (expected struct std::path::posix::Path, found enum core::result::Result) | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:125 fill_todo(&mut todo, dir_patterns.as_slice(), 0, &root, options); | |
^~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:255:32: 255:43 error: mismatched types: expected `&mut [u8]`, found `[u8, ..100]` (expected &-ptr, found array of 100 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:255 bytes::copy_memory(header.name, path); | |
^~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:266:32: 266:43 error: mismatched types: expected `&mut [u8]`, found `[u8, ..100]` (expected &-ptr, found array of 100 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:266 bytes::copy_memory(header.name, path.slice_from(pos + 1)); | |
^~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:267:32: 267:45 error: mismatched types: expected `&mut [u8]`, found `[u8, ..155]` (expected &-ptr, found array of 155 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:267 bytes::copy_memory(header.prefix, path.slice_to(pos)); | |
^~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:277:15: 277:26 error: mismatched types: expected `&mut [u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:277 octal(header.mode, stat.perm.bits()); // TODO: is this right? | |
^~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:278:15: 278:27 error: mismatched types: expected `&mut [u8]`, found `[u8, ..12]` (expected &-ptr, found array of 12 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:278 octal(header.mtime, stat.modified / 1000); | |
^~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:279:15: 279:30 error: mismatched types: expected `&mut [u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:279 octal(header.owner_id, stat.unstable.uid); | |
^~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:280:15: 280:30 error: mismatched types: expected `&mut [u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:280 octal(header.group_id, stat.unstable.gid); | |
^~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:281:15: 281:26 error: mismatched types: expected `&mut [u8]`, found `[u8, ..12]` (expected &-ptr, found array of 12 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:281 octal(header.size, stat.size); | |
^~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:282:15: 282:31 error: mismatched types: expected `&mut [u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:282 octal(header.dev_minor, 0i); | |
^~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:283:15: 283:31 error: mismatched types: expected `&mut [u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:283 octal(header.dev_major, 0i); | |
^~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:301:15: 301:27 error: mismatched types: expected `&mut [u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:301 octal(header.cksum, cksum); | |
^~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:331:37: 331:38 error: mismatched types: expected `&[u8]`, found `[_, ..1024]` (expected &-ptr, found array of 1024 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:331 self.obj.borrow_mut().write(b) | |
^ | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:382:29: 382:43 error: mismatched types: expected `core::option::Option<(char, &str)>`, found `(_, _)` (expected enum core::option::Option, found tuple) | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:382 let (some_c, next) = file.slice_shift_char(); | |
^~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:383:44: 383:59 error: the type of this value must be known in this context | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:383 if require_literal(some_c.unwrap()) { | |
^~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:395:25: 395:39 error: mismatched types: expected `core::option::Option<(char, &str)>`, found `(_, _)` (expected enum core::option::Option, found tuple) | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:395 let (some_c, next) = file.slice_shift_char(); | |
^~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:396:29: 396:44 error: the type of this value must be known in this context | |
/Users/yozh/.cargo/git/checkouts/glob-53436a21832a74ca/master/src/lib.rs:396 let c = some_c.unwrap(); | |
^~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:377:45: 377:54 error: mismatched types: expected `&[u8]`, found `[u8, ..12]` (expected &-ptr, found array of 12 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:377 fn size(&self) -> IoResult<u64> { octal(self.size) } | |
^~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:378:47: 378:57 error: mismatched types: expected `&[u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:378 fn cksum(&self) -> IoResult<uint> { octal(self.cksum) } | |
^~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:401:49: 401:69 error: mismatched types: expected `&[u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:401 pub fn uid(&self) -> IoResult<uint> { octal(self.header.owner_id) } | |
^~~~~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:403:49: 403:69 error: mismatched types: expected `&[u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:403 pub fn gid(&self) -> IoResult<uint> { octal(self.header.group_id) } | |
^~~~~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:405:51: 405:68 error: mismatched types: expected `&[u8]`, found `[u8, ..12]` (expected &-ptr, found array of 12 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:405 pub fn mtime(&self) -> IoResult<uint> { octal(self.header.mtime) } | |
^~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:408:15: 408:31 error: mismatched types: expected `&[u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:408 octal(self.header.mode).map(io::FilePermission::from_bits_truncate) | |
^~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:430:27: 430:49 error: mismatched types: expected `&[u8]`, found `[u8, ..32]` (expected &-ptr, found array of 32 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:430 Some(truncate(self.header.owner_name)) | |
^~~~~~~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:438:27: 438:49 error: mismatched types: expected `&[u8]`, found `[u8, ..32]` (expected &-ptr, found array of 32 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:438 Some(truncate(self.header.group_name)) | |
^~~~~~~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:461:24: 461:45 error: mismatched types: expected `&[u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:461 Some(octal(self.header.dev_major)) | |
^~~~~~~~~~~~~~~~~~~~~ | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:473:24: 473:45 error: mismatched types: expected `&[u8]`, found `[u8, ..8]` (expected &-ptr, found array of 8 elements) | |
/Users/yozh/.cargo/git/checkouts/tar-rs-6e41f0ca8f00e811/master/src/lib.rs:473 Some(octal(self.header.dev_minor)) | |
^~~~~~~~~~~~~~~~~~~~~ | |
error: aborting due to 25 previous errors | |
Compiling curl-sys v0.1.0 (https://github.com/carllerche/curl-rust#e6e31d8d) | |
error: aborting due to 6 previous errors | |
Compiling miniz-sys v0.0.1 (https://github.com/alexcrichton/flate2-rs#f81e6dc4) | |
build.rs:89:43: 89:65 error: type `core::result::Result<std::path::posix::Path, std::io::IoError>` does not implement any method in scope named `join` | |
build.rs:89 .arg(format!("{} {}", src.join("curl/configure").display(), | |
^~~~~~~~~~~~~~~~~~~~~~ | |
build.rs:6:61: 6:72 error: mismatched types: expected `&[&str]`, found `[&str, ..1]` (expected &-ptr, found array of 1 elements) | |
build.rs:6 gcc::compile_library("libminiz.a", &Default::default(), ["miniz.c"]); | |
^~~~~~~~~~~ | |
error: aborting due to previous error | |
Build failed, waiting for other jobs to finish... | |
error: aborting due to previous error | |
Could not compile `tar`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment