openssl-sys 0.2.0

FFI bindings to OpenSSL

Build #17356 2016-08-12 21:00:07

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.12.0-nightly (54c0dcfd6 2016-07-28)

# docs.rs version cratesfyi 0.2.0 (5dbd676 2016-07-30)

# build log Updating registry `https://github.com/rust-lang/crates.io-index` Downloading openssl-sys v0.2.0 Compiling pkg-config v0.1.7 Running `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs --crate-name pkg_config --crate-type lib -g -C metadata=bfe439f4ecb833c7 -C extra-filename=-bfe439f4ecb833c7 --out-dir /home/cratesfyi/openssl-sys-0.2.0/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/openssl-sys-0.2.0/debug/deps -L dependency=/home/cratesfyi/openssl-sys-0.2.0/debug/deps --cap-lints allow` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60: 70:61 error: expected expression, found `]` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70 if options.statik && !is_system_lib(val, &dirs[]) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60: 70:61 error: expected `{`, found `]` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70 if options.statik && !is_system_lib(val, &dirs[]) { ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60: 70:61 help: place this code inside a block .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3:5: 3:25 error: unresolved import `std::old_io::Command`. Could not find `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3 use std::old_io::Command; ^~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3:5: 3:25 help: run `rustc --explain E0432` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4:5: 4:36 error: unresolved import `std::old_io::fs::PathExtensions`. Could not find `old_io` in `std` [E0432] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4 use std::old_io::fs::PathExtensions; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4:5: 4:36 help: run `rustc --explain E0432` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:5: 9:15 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9 os::getenv("HOST") == os::getenv("TARGET") || ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:5: 9:15 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:27: 9:37 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9 os::getenv("HOST") == os::getenv("TARGET") || ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:27: 9:37 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10:9: 10:19 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10 os::getenv("PKG_CONFIG_ALLOW_CROSS") == Some("1".to_string()) ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10:9: 10:19 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:8: 23:18 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23 if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:8: 23:18 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65:23: 65:32 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65 dirs.push(Path::new(val)); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65:23: 65:32 help: run `rustc --explain E0433` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:21: 82:31 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82 let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:21: 82:31 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:15: 84:25 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84 } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:15: 84:25 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86:15: 86:25 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86 } else if os::getenv("PKG_CONFIG_ALL_STATIC").is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86:15: 86:25 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88:15: 88:25 error: unresolved name `os::getenv` [E0425] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88 } else if os::getenv("PKG_CONFIG_ALL_DYNAMIC").is_some() { ^~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88:15: 88:25 help: run `rustc --explain E0425` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38: 101:42 error: type name `Path` is undefined or not in scope [E0412] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101 fn is_system_lib(name: &str, dirs: &[Path]) -> bool { ^~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38: 101:42 help: run `rustc --explain E0412` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38: 101:42 help: you can import it into scope: `use std::path::Path;`. .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103:16: 103:25 error: failed to resolve. Use of undeclared type or module `Path` [E0433] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103 let root = Path::new("/usr"); ^~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103:16: 103:25 help: run `rustc --explain E0433` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:61: 23:69 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23 if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:59: 82:67 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82 let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:54: 84:62 error: no method named `as_slice` found for type `std::string::String` in the current scope .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84 } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() { ^~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55: 97:56 error: binary operation `==` cannot be applied to type `std::char::ToUppercase` [E0369] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55: 97:56 help: run `rustc --explain E0369` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55: 97:56 note: an implementation of `std::cmp::PartialEq` might be missing for `std::char::ToUppercase` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 error: if and else have incompatible types [E0308] .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^~~~~~~~~~~~~~~~~~~~~~~~~~ .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 help: run `rustc --explain E0308` to see a detailed explanation .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 note: expected type `char` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 note: found type `std::char::ToUppercase` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52: 97:78 note: expected char, found struct `std::char::ToUppercase` .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97 name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c}) ^~~~~~~~~~~~~~~~~~~~~~~~~~ error: aborting due to 5 previous errors thread 'main' panicked at 'ChainedError { error: failed to compile `openssl-sys v0.2.0`, intermediate artifacts can be found at `/home/cratesfyi/openssl-sys-0.2.0`, cause: ChainedError { error: Could not compile `pkg-config`., cause: Process didn't exit successfully: `rustc .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs --crate-name pkg_config --crate-type lib -g -C metadata=bfe439f4ecb833c7 -C extra-filename=-bfe439f4ecb833c7 --out-dir /home/cratesfyi/openssl-sys-0.2.0/debug/deps --emit=dep-info,link -L dependency=/home/cratesfyi/openssl-sys-0.2.0/debug/deps -L dependency=/home/cratesfyi/openssl-sys-0.2.0/debug/deps --cap-lints allow` (exit code: 101) } }', src/bin/cratesfyi.rs:119 note: Run with `RUST_BACKTRACE=1` for a backtrace.