Build #90294 2018-03-06T02:30:23.462641+00:00
# rustc version
rustc 1.26.0-dev (5c1d29af0 2018-03-03)# docs.rs version
cratesfyi 0.5.0 (579f83b 2018-03-05)# build log
Build failed, waiting for other jobs to finish...
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading old-http v0.1.1-pre
Downloading openssl v0.2.18
Downloading openssl-sys v0.2.18
Downloading pkg-config v0.1.7
Fresh matches v0.1.6
Compiling pkg-config v0.1.7
Compiling old-http v0.1.1-pre
Fresh rustc-serialize v0.3.24
Fresh libc v0.2.39
Running `rustc --crate-name pkg_config .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs --crate-type lib --emit=dep-info,link -C debuginfo=2 -C metadata=1249d6fb676b7c10 -C extra-filename=-1249d6fb676b7c10 --out-dir /home/cratesfyi/cratesfyi/debug/deps -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Running `rustc --crate-name build_script_main .cargo/registry/src/github.com-1ecc6299db9ec823/old-http-0.1.1-pre/codegen/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="ssl"' --cfg 'feature="openssl"' -C metadata=e82cde992b0cacd8 -C extra-filename=-e82cde992b0cacd8 --out-dir /home/cratesfyi/cratesfyi/debug/build/old-http-e82cde992b0cacd8 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow`
Fresh rand v0.4.2
Fresh time v0.1.39
Fresh rand v0.3.22
Fresh uuid v0.1.18
Fresh url v0.2.38
error: expected expression, found `]`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:70:60
|
70 | if options.statik && !is_system_lib(val, &dirs[]) {
| ^ expected expression
error: macros that expand to items must either be surrounded with braces or followed by a semicolon
--> .cargo/registry/src/github.com-1ecc6299db9ec823/old-http-0.1.1-pre/codegen/branchify.rs:63:23
|
63 | macro_rules! branchify(
| _______________________^
64 | | (case sensitive, $($key:expr => $value:ident),*) => (
65 | | ::branchify::branchify(&[$(($key, stringify!($value))),*], true)
66 | | );
... |
69 | | );
70 | | )
| |_^
error: aborting due to previous error
error: Could not compile `old-http`.
Caused by:
process didn't exit successfully: `rustc --crate-name build_script_main .cargo/registry/src/github.com-1ecc6299db9ec823/old-http-0.1.1-pre/codegen/main.rs --crate-type bin --emit=dep-info,link -C debuginfo=2 --cfg feature="default" --cfg feature="ssl" --cfg feature="openssl" -C metadata=e82cde992b0cacd8 -C extra-filename=-e82cde992b0cacd8 --out-dir /home/cratesfyi/cratesfyi/debug/build/old-http-e82cde992b0cacd8 -L dependency=/home/cratesfyi/cratesfyi/debug/deps --cap-lints allow` (exit code: 101)
error[E0432]: unresolved import `std::old_io`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:3:10
|
3 | use std::old_io::Command;
| ^^^^^^ Could not find `old_io` in `std`
error[E0433]: failed to resolve. Could not find `old_io` in `std`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:4:10
|
4 | use std::old_io::fs::PathExtensions;
| ^^^^^^ Could not find `old_io` in `std`
error[E0433]: failed to resolve. Use of undeclared type or module `Path`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:65:23
|
65 | dirs.push(Path::new(val));
| ^^^^ Use of undeclared type or module `Path`
error[E0433]: failed to resolve. Use of undeclared type or module `Path`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:103:16
|
103 | let root = Path::new("/usr");
| ^^^^ Use of undeclared type or module `Path`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:9
|
9 | os::getenv("HOST") == os::getenv("TARGET") ||
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:9:31
|
9 | os::getenv("HOST") == os::getenv("TARGET") ||
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:10:13
|
10 | os::getenv("PKG_CONFIG_ALLOW_CROSS") == Some("1".to_string())
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:23:12
|
23 | if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() {
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:82:25
|
82 | let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() {
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:84:19
|
84 | } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() {
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:86:19
|
86 | } else if os::getenv("PKG_CONFIG_ALL_STATIC").is_some() {
| ^^^^^^ not found in `os`
error[E0425]: cannot find function `getenv` in module `os`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:88:19
|
88 | } else if os::getenv("PKG_CONFIG_ALL_DYNAMIC").is_some() {
| ^^^^^^ not found in `os`
error[E0412]: cannot find type `Path` in this scope
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:101:38
|
101 | fn is_system_lib(name: &str, dirs: &[Path]) -> bool {
| ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
3 | use std::path::Path;
|
error[E0599]: 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:61
|
23 | if os::getenv(format!("{}_NO_PKG_CONFIG", envify(name)).as_slice()).is_some() {
| ^^^^^^^^
error[E0599]: 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:59
|
82 | let statik = if os::getenv(format!("{}_STATIC", name).as_slice()).is_some() {
| ^^^^^^^^
error[E0599]: 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:54
|
84 | } else if os::getenv(format!("{}_DYNAMIC", name).as_slice()).is_some() {
| ^^^^^^^^
error[E0369]: binary operation `==` cannot be applied to type `std::char::ToUppercase`
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:55
|
97 | name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c})
| ^^^^^^^^
|
= note: an implementation of `std::cmp::PartialEq` might be missing for `std::char::ToUppercase`
error[E0308]: if and else have incompatible types
--> .cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.1.7/src/lib.rs:97:52
|
97 | name.chars().map(|c| c.to_uppercase()).map(|c| if c == '-' {'_'} else {c})
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected char, found struct `std::char::ToUppercase`
|
= note: expected type `char`
found type `std::char::ToUppercase`
error: aborting due to 19 previous errors
You've got a few errors: E0308, E0369, E0412, E0425, E0432, E0433, E0599
If you want more information on an error, try using "rustc --explain E0308"
thread 'main' panicked at 'Error(
CargoError(
build failed
),
State {
next_error: None,
backtrace: None
}
)', src/bin/cratesfyi.rs:142:13
note: Run with `RUST_BACKTRACE=1` for a backtrace.