Created
January 13, 2015 17:38
-
-
Save stevej/8216e1b1e7dd6bb9ed72 to your computer and use it in GitHub Desktop.
This file contains 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
BigEasy% pwd | |
/Users/stevej/local/src/rust-sdl2 | |
BigEasy% cargo clean | |
BigEasy% cargo build | |
Compiling pkg-config v0.1.3 | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:62:24: 62:43 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:62 .collect::<Vec<_>>(); | |
^~~~~~~~~~~~~~~~~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:62:24: 62:43 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:62 .collect::<Vec<_>>(); | |
^~~~~~~~~~~~~~~~~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:63:11: 63:15 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:63 for &(flag, val) in parts.iter() { | |
^~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:63:17: 63:20 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:63 for &(flag, val) in parts.iter() { | |
^~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:61:24: 61:56 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:61 .map(|arg| (arg[0..2], arg[2..])) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:64:20: 64:24 error: mismatched types: | |
expected `str`, | |
found `&'static str` | |
(expected str, | |
found &-ptr) | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:64 if flag == "-L" { | |
^~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:65:56: 65:59 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:65 println!("cargo:rustc-flags=-L native={}", val); | |
^~~ | |
note: in expansion of format_args! | |
<std macros>:2:42: 2:75 note: expansion site | |
<std macros>:1:1: 2:77 note: in expansion of println! | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:65:13: 65:61 note: expansion site | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:66:23: 66:32 error: the trait `core::marker::Sized` is not implemented for the type `str` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:66 dirs.push(Path::new(val)); | |
^~~~~~~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:69:31: 69:37 error: type `collections::vec::Vec<(str, str)>` does not implement any method in scope named `iter` | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:69 for &(flag, val) in parts.iter() { | |
^~~~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:70:12: 70:16 error: the type of this value must be known in this context | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:70 if flag == "-l" { | |
^~~~ | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:71:54: 71:60 error: type mismatch resolving `<collections::vec::Vec<std::path::posix::Path> as core::ops::Index<core::ops::FullRange>>::Output == &[std::path::posix::Path]`: | |
expected slice, | |
found &-ptr | |
/Users/stevej/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.3/src/lib.rs:71 if options.statik && !is_system_lib(val, dirs[]) { | |
^~~~~~ | |
error: aborting due to 11 previous errors | |
Could not compile `pkg-config`. | |
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